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
Can not run webpack-dev-server in Node V12 #6942
Comments
I tried node v12 and it worked fine for me. Please provide a full repo as well as error message. |
Thx repo:
|
same error here, running the sample project from CRA produce the same error :
Seems to work for the build, only failing in dev mode ( so with webpack-dev-server ) . |
I have issues as well after upgrading to nodejs v12.1.0 when it comes to use the dev mode.
This is maybe related to this issue: fsevents/fsevents#274 If I add the following line to my package.json file:
I have no more any problem to start the dev mode. Without the line above, the default version of fsevents is 1.2.4, which seems to be not enough to work with nodejs v12 apparently. |
@Nowheresly you're problem is different . Fsevents is only installed on macOs, and your error is really different . I think it's better for you to ask an update of chokidar |
@junjie-lean Node V12.1.0 ( out 2019-04-29 ) resolve the problem . Same on your side ? |
@thib3113 yes, it's works in Node V12.1.0 , And what is change in V12.1 about CRA? |
This isn't a bug report.
create-react-app不能在nodeV12的环境下启动webpack-dev-server,我把node环境降级到node11.5就解决了这个问题。
The text was updated successfully, but these errors were encountered: