-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Webpack crash on nodejs@12 #9070
Comments
Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem. |
--- detail no need anymore because joshuan found the easiest way to reproduce the issue --- |
Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem. |
@montogeek for reproduce issue you not need project. Just go this code: |
我也发现了这个问题,webpack-dev-server在nodev12的环境下不能要运行。而vue-cli和Create-react-app都是用到了这个包。目前我的解决办法是把node环境降级到v11.5 |
I think problem in webpack-dev-server, please create minimum reproducible test repo |
I am getting the same result, taking the reproducing steps that OP provided. Any create-react-app that is based on webpack is now broken with node 12.0.0. |
Currently, this problem does not occur in Node12.1.0 so I'll close.
|
I confirm, updating to node 12.1.0 fix the issue. |
Bug report
What is the current behavior?
If use nodejs@12, webpack crash with error:
If the current behavior is a bug, please provide the steps to reproduce.
nvm use 12
npm i webpack webpack-cli
./node_modules/.bin/webpack
What is the expected behavior?
Any, at least run
Other relevant information:
webpack version: 4.X.X and 5.X.X-alpha.X
Node.js version: 12.0.0
Operating System: Mac OS X
Additional tools: nvm
The text was updated successfully, but these errors were encountered: