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

Incompatible with Node 14 #156

Closed
csvan opened this issue May 4, 2020 · 4 comments
Closed

Incompatible with Node 14 #156

csvan opened this issue May 4, 2020 · 4 comments

Comments

@csvan
Copy link

csvan commented May 4, 2020

Installing webpack 4 on a Nodejs 14.1 system (latest stable as of writing this) yields:

webpack > watchpack > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.

Even though I am not sure I see any immediate issues, this should be addressed ASAP. Further, Chokidar3 is much, much smaller than Chokidar2 and would reduce the footprint of webpack as a whole.

@jaylinski
Copy link

Wasn't this fixed in #153?

@alexander-akait
Copy link
Member

Yes, fixed

@alexander-akait
Copy link
Member

You need to install latest chokidar manually for webpack@4, just run npm i -D chokidar

@Luxcium
Copy link

Luxcium commented Nov 8, 2020

I have those warnings:

 npm install webpack@4                  

npm WARN notsup Unsupported engine for watchpack-chokidar2@2.0.0: wanted: {"node":"<8.10.0"} (current: {"node":"15.1.0","npm":"6.14.8"})
npm WARN notsup Not compatible with your version of node/npm: watchpack-chokidar2@2.0.0

# [ ... ]

I can run «npm i -D chokidar» what if I later, want to use, webpack@{ latest | next }

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