-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
V2 - Module not found: Error: Can't resolve 'fs' in CLI #874
Comments
I'm getting the same issue, when using webpack-dev-server in conjunction with html-webpack-plugin Adding does not appear to help. |
I am not very familiar with |
Yes, but it's not available in the browser, which is what is triggering this error |
+1 |
If someone can provide a simple test repo that we can reproduce this error with, we'd be more than happy to reopen and triage. Until then we're closing this one due to it's age. |
Personnally I had this problem using the command : You must add the --config flag to put in a custom file. Solved it for me. |
Thanks. I would take a try. |
Hi, I am using webpack CLI for bundling
Angualr2
files, and my config works forwebpack
CLI.The I installed
webpack-dev-server
, but I couldn't get it running because of some exceptions.Most of the exceptions are caused from running webpack plugins or loaders
I have read about #727 , but the solution doesn't work for CLI
Error message from console(the below is of them, but all of them were caused by
Module not found: Error: Can't resolve 'fs' in..
webpack config
webpack related package versions
node v7.9.0
OS: windows 10 Pro
Thanks for taking a look 😄
The text was updated successfully, but these errors were encountered: