Home > other >  npm WARN deprecated [email protected]: fsevents 1 will break on node v14
npm WARN deprecated [email protected]: fsevents 1 will break on node v14

Time:08-15

I keep getting this npm warning after running npm install. I have deleted and reinstalled npm. Nothing seems to work.

npm WARN deprecated [email protected]: fsevents 1 will break on node v14  and could be using insecure binaries. Upgrade to fsevents 2.

up to date, audited 2107 packages in 26s

94 packages are looking for funding
  run `npm fund` for details

68 vulnerabilities (14 low, 18 moderate, 32 high, 4 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

CodePudding user response:

first try to reset npm cache

npm cache clean --force 

then retry to install npm packages

if nothing happens, try npm install --no-optional or npm install --force

hope that works

CodePudding user response:

The problem isn't with npm, but with your project. It requires (possibly indirectly), [email protected], which is deprecated. You'll need to update your project to require a newer version, e.g.:

"fsevent": "^2.3.2"

and of course, update your project to work with this version.

  • Related