Npm install not completing. How do i fix the problem

Viewed 150

It's been 30 minutes but still not uploaded. How do i fix the problem MY PROBLEM

3 Answers

You can do following steps which possibly will fix this.

  1. Press Ctrl + 'C' to stop the process.
  2. Delete the npm_modules folder and package-lock.json file and run npm cache clean --force.
  3. Reinstall the modules with npm install.

try to remove the node_modules directory and the package-lock.json file and reinstall by npm i

this might help

you can reinstall nodejs or use npm update to fix this if it doesn't work then check the documentation of the library

Related