Reputation: 37
It's been 30 minutes but still not uploaded. How do i fix the problem MY PROBLEM
Upvotes: 2
Views: 20847
Reputation: 198
after launching the npm install command, npm will read the package.json file, precisely in the "scripts" section. it will automatically launch the "install" script if there is one. now if in the configuration you have something like "install": "npm install ". npm will therefore relaunch the installation command and so on in repetition.
"scripts": {
"build": "npm build --environment=production",
"start": "npm start",
*"install": "npm install"*
"test": "npm-run-all lint test:*",
},
Upvotes: 0
Reputation: 35
you can reinstall nodejs or use npm update to fix this if it doesn't work then check the documentation of the library
Upvotes: 1
Reputation: 246
You can do following steps which possibly will fix this.
Ctrl + 'C'
to stop the process.npm_modules
folder and package-lock.json
file and run npm cache clean --force
.npm install
.Upvotes: 1
Reputation: 59
try to remove the node_modules directory and the package-lock.json file and reinstall by npm i
this might help
Upvotes: 1