Fuse install, working project compile fails relating to 'fs'
See original GitHub issueIf I install fuse (`npm i -S fuse) and recompile a working webpack project (prior to using Fuse), I get the following compile errors.
WARNING in ./~/colors/lib/colors.js
Critical dependencies:
138:29-43 the request of a dependency is an expression
@ ./~/colors/lib/colors.js 138:29-43
WARNING in ./~/colors/lib/extendStringPrototype.js
Critical dependencies:
101:31-45 the request of a dependency is an expression
@ ./~/colors/lib/extendStringPrototype.js 101:31-45
ERROR in ./~/fuse/lib/fuse.js
Module not found: Error: Cannot resolve module 'fs' in ./node_modules/fuse/lib
@ ./~/fuse/lib/fuse.js 6:9-22
ERROR in ./~/uglify-js/tools/node.js
Module not found: Error: Cannot resolve module 'fs' in ./node_modules/uglify-js/tools
@ ./~/uglify-js/tools/node.js 8:9-22
Also, there’s no src
folder in the fuse install. I suspect if I could alias directly into the src folder I could bypass the issue (but not certain).
I have to remove fuse from my package.json and rm -fr node_modules/fuse in order to get it to compile correctly again.
node --version => v6.2.2
Any suggestions on how to integrate into a working project without the ‘fs’ conflict?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
View topic - [SOLVED]sys-fs/fuse-2.9.9_rc1 failing to compile
I'm having a little bit of trouble installing flatpak, as sys-fs/fuse-2.9.9_rc1 is a dependency that refuses to compile.
Read more >I get some errors related to something called “FUSE”
I get some errors related to something called “FUSE” . AppImages require a Linux technology called Filesystem in Userspace (or short FUSE)....
Read more >Step by step installation Fuse - How-to Discussions
The main problem with FS is that the accompanying fuselibs and Uno only support older versions of the Android SDK/Build tools/Gradle/Play ...
Read more >Develop your own filesystem with FUSE
To create a filesystem in FUSE, you need to install a FUSE kernel module and then use the FUSE library and API set...
Read more >Installing GCC: Configuration - GNU Project
This is how we generally build GCC; building where srcdir == objdir should still work, but doesn't get extensive testing; building where objdir...
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 Free
Top 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
I think you made the same mistake I just did and installed package
fuse
instead offuse.js
😃Would it not make sense to have a line in the README:
Rather than having to follow the existing link: demo & usage and scrolling some distance down the page to find it? I think one could otherwise be forgiven for leaving off the “.js”…