I'm getting this warning every time I run yarn upgrade:
warning @symfony/webpack-encore > webpack-dev-server > chokidar > [email protected]: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size
The upgrade completes successfully, though.
It started very recently. Here's the package.json and yarn.lock from the affected Symfony project:
package.json.txt
yarn.lock.txt
As I understand, fsevents is a part of Node.js, right? Well, I have all my project dependencies up-to-date. The system is up-to-date as well. I'm using Node.js v13.x from the nodesource .deb repository. Yarn is version 1.19.1.
Hi @o-alquimista,
I'm sorry but we can't really do anything from our side.
Encore uses webpack-dev-server@3 which relies on chokidar@2 which in turn relies on fsevents@1.
chokidar@3 doesn't seem to have this issue, but until webpack-dev-server decides to use it you'll always get fsevents@1.
The next branch of webpack-dev-server has upgraded to chokidar@3 already. So this will probably come for webpack 5.
For those who stumbled upon this thread after installing @babel/cli, it appears it's got the same issue. It depends on chokidar@2: https://github.com/babel/babel/blob/a6e8b3843b53c6e106d9fb2e37fea60c306dd97c/packages/babel-cli/package.json
Most helpful comment
The
nextbranch of webpack-dev-server has upgraded to chokidar@3 already. So this will probably come for webpack 5.