-
-
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 Can't resolve 'fs' in webpack-dev-server/client #727
Comments
Are you running dev-server from CLI? If yes, make sure to remove Also, could you try to replace I can't reproduce this error so I'm just guessing here... |
I am running dev-server in node, remove webpack-dev-server/client, can running, but not hot update……
|
Okay if you are running in Node then you shouldn't remove If that doesn't work, could you make sure to first update to the latest webpack RC and then make a repo that reproduces the error? Before doing that, I would recommend to try to strip your webpack config as much as possible, to see if something else is causing the error. A common cause is an invalid value in the |
I found somethings in the document after build. i have try host,but not it; dev-server use node module sockjs-client,and sockjs-client use node moudle debug webpack transform debug to browser js, throw error. Can you check diff of your code output below :
|
I don't know what I can do with the code you posted above? Could you please make a repository that reproduces the problem you're having? |
here is template
|
I could reproduce your issue. It's caused by using |
There is an error when I use webpack-dev-server;
webpack: 2.2.0-rc.1
webpack-dev-server: 2.2.0-rc.0
node: 6.6.0
webpackConfig
devServerConfig
The text was updated successfully, but these errors were encountered: