-1

After running npm install on project, I face this problem

npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm ERR! Unexpected end of JSON input while parsing near '...3ec2605d1fc435f4d8651'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Najmun_Nafiz\AppData\Roaming\npm-cache\_logs\2020-06-04T01_36_41_794Z-debug.log

Please help me to solve this problem.

edbighead
  • 5,607
  • 5
  • 29
  • 35
Najmun Nafiz
  • 15
  • 1
  • 4

2 Answers2

0

This warning is pretty common when the packages in use are outdated/deprecated and no longer supported.

In your case [email protected] checkout this link https://stackoverflow.com/a/60747896/5326191

For more info, go to npm packages. Type in your package name to check the latest version and start updating your packages. Once complete, these errors will go away.

Digvijay
  • 7,836
  • 3
  • 32
  • 53
0

Solved mine by upgrading my Nodejs version to 14.x.

Jim
  • 1,027
  • 1
  • 10
  • 19