简体   繁体   中英

Npm install not completing. How do i fix the problem

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM