Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module FS not found when running with webpack #10

Open
Ericson578 opened this issue Jun 13, 2016 · 3 comments
Open

Module FS not found when running with webpack #10

Ericson578 opened this issue Jun 13, 2016 · 3 comments

Comments

@Ericson578
Copy link

I'm seeing these errors when trying to use the example usage code for scss-to-json with webpack:

WARNING in .//node-sass/lib/index.js
Critical dependencies:
23:14-43 the request of a dependency is an expression
@ ./
/node-sass/lib/index.js 23:14-43

ERROR in .//scss-to-json/src/processor.js
Module not found: Error: Cannot resolve module 'fs' in /Users/ericsonwilkinson/code/avui/ui-usm/node_modules/scss-to-json/src
@ ./
/scss-to-json/src/processor.js 3:9-22

ERROR in .//node-sass/lib/extensions.js
Module not found: Error: Cannot resolve module 'fs' in /Users/ericsonwilkinson/code/avui/ui-usm/node_modules/node-sass/lib
@ ./
/node-sass/lib/extensions.js 6:9-22

ERROR in .//node-sass/lib/render.js
Module not found: Error: Cannot resolve module 'fs' in /Users/ericsonwilkinson/code/avui/ui-usm/node_modules/node-sass/lib
@ ./
/node-sass/lib/render.js 6:9-22

ERROR in .//mkdirp/index.js
Module not found: Error: Cannot resolve module 'fs' in /Users/ericsonwilkinson/code/avui/ui-usm/node_modules/mkdirp
@ ./
/mkdirp/index.js 2:9-22

@egervari
Copy link

I have the same issue

@dubcdr
Copy link

dubcdr commented Oct 3, 2016

yeah i see as well. i think fsevents only works on macs. so us windows and linux folks are sol

@mancristiana
Copy link

I tried using this package inside a react app and I got the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants