Skip to content

Please upgrade your version of Chokidar #2621

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

Closed
davidnewcomb opened this issue May 20, 2020 · 4 comments
Closed

Please upgrade your version of Chokidar #2621

davidnewcomb opened this issue May 20, 2020 · 4 comments

Comments

@davidnewcomb
Copy link

Please can you upgrade your chokidar dependency. You are currently using 2.1.8 (which is also in the lock file) but the latest version 3.4.0. Projects upstream of you are starting to get warnings.
Also the little note about Chokidar breaking soon and having 15 times less dependencies should be reason enough!

warning react-scripts > webpack-dev-server > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning react-scripts > webpack-dev-server > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning react-scripts > webpack > watchpack > watchpack-chokidar2 > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
@alexander-akait
Copy link
Member

Done for v4

@shprink
Copy link

shprink commented May 22, 2020

I fixed it by downgrading Node to v12.

I don't think there is another way until webpack-dev-server upgrades Chokidar

@tatsujb
Copy link

tatsujb commented Sep 30, 2020

I fixed it by downgrading Node to v12.

even that doesn't do it on mac catalina

Done for v4

this is absurd, why would you close this issue?

3.11 is your latest release this is still very much an issue and very much unresolved.

either release 4 or fix in 3.

this makes Angular projects unbuildable for a whole slew of platforms : Mac OSX catalina, CentOS 8, Fedora 32 and to the best of my knowledge a bunch of other linux distributions in their latest offerings.

how could you leave this as-is for four months?

@capono
Copy link

capono commented May 27, 2021

As a workaround, you could add in the package.json

"resolutions": {
"webpack-dev-server/chokidar":"^3"
}

This will allow you to use custom package versions in your dependencies.

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

5 participants