I'm suffering from the infamous npm install
(update) hanging problem.
So far I found following recipes:
npm cache clean
npm config set registry http://registry.npmjs.org/
--loglevel=verbose
flag with npm install
Yet it still hangs. The position at which it hangs seems to be random. It can be
npm verb get saving gulp-traceur to /home/me/.npm/registry.npmjs.org/gulp-traceur/.cache.json
; or when installing npm verb afterAdd /home/me/.npm/q/0.9.7/package/package.json
the last package downloaded is really random.
The versions are:
npm info using [email protected] npm info using [email protected]
So the question is if there is anything else I can do about it?
Remove node_modules and package-lock. To solve the issue, try removing the entire node_modules/ folder and the package-lock. json file. Then try running the npm install command again. That may fix the issue.
If you find that npm is running slow and it isn't your computer or internet, it is most likely because of a severely outdated version.
I don't know if you have the same problem as I did but I can't make a comment to your question because I have not enough reputation.
Today somebody found solution to my similar problem. You can check it here:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With