Unable to build
See original GitHub issueI am unable to build my typescript web app with dataforge.
I get the following errors to do with the fs module:
ERROR in ./node_modules/data-forge/build/index.js
Module not found: Error: Can't resolve 'fs' in '/home/vagrant/kesm/apps/threescan-data-viewer/node_modules/data-forge/build'
@ ./node_modules/data-forge/build/index.js 157:17-30 253:17-30 264:17-30
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/ComplexRoiSelector.vue
@ ./src/ComplexRoiSelector.vue
@ ./src/index.ts
ERROR in ./node_modules/data-forge/build/lib/dataframe.js
Module not found: Error: Can't resolve 'fs' in '/home/vagrant/kesm/apps/threescan-data-viewer/node_modules/data-forge/build/lib'
@ ./node_modules/data-forge/build/lib/dataframe.js 4377:21-34 4401:17-30 4433:21-34 4457:17-30
@ ./node_modules/data-forge/build/index.js
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/ComplexRoiSelector.vue
@ ./src/ComplexRoiSelector.vue
@ ./src/index.ts
My code literally just tries to import dataforge and instantiate a dataframe with no data.
Issue Analytics
- State:
- Created 5 years ago
- Comments:21 (8 by maintainers)
Top Results From Across the Web
Unable to build solution after upgrading to the latest VS 2017 ...
The product failed to install the listed workloads and components due to one or more package failures. Incomplete workloads Azure development (Microsoft.
Read more >Unable to build with XCode 14.0 · Issue #34673 - GitHub
XCode 14.0 is released since yesterday, and I have the following error while building a fresh app on a physical device: [...]/ios/Pods/Pods.
Read more >Unable to build project for localization string extraction
The project can be successfully built and run. But when I export for localization, it shows this error message: Unable to build project...
Read more >Unable to build Solution - Stack Overflow
Solution is in answer only. 1. To resolve this problem, either remove the reference "C:\Users..\accord-levenberg-source\Sources\Accord.
Read more >Error: "C++ code builder is unable to build ... - Microsoft Learn
Error: "C++ code builder is unable to build C++ code. In order to build C++ code for Universal Windows Platform, you must have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve started the process of removing ‘fs’ from Data-Forge.
This will take some time to complete, but already I have published a ‘beta’ version of Data-Forge with ‘fs’ removed.
Can you please try using the beta package of Data-Forge with your project instead of the regular package:
http://npmjs.com/package/data-forge-beta
Please let me know how that goes. If that works for you then I’ll know it’s worth completing the change.
Data-Forge 1.3.0 is officially released. The file system functions have been extracted from the core API to the new file system module: https://github.com/data-forge/data-forge-fs
This should help Data-Forge be more usable in the browser and specifically with the latest AngularJS.
If you were using “data-forge-beta” please change over to the regular “data-forge”.