node icon indicating copy to clipboard operation
node copied to clipboard

npm install is taking too long long time

Open duzy opened this issue 10 years ago • 8 comments

I'm recently installing some tools using NPM, but they're spending me hours and hours waiting. I don't understand what was it running for? How come it's taking me hours and hours to install just some tools. (Network is fine, really)

screenshot from 2015-12-04 12 28 55

duzy avatar Dec 04 '15 04:12 duzy

Probably related: https://github.com/npm/npm/issues/10380

cjihrig avatar Dec 04 '15 04:12 cjihrig

@duzy It is strange that it takes more than a few minutes to install uglifyify, and I doubt it's related to the current npm 3 performance woes. Try:

  • Maybe there's something with your environment setup? Try installing it on a project-local level (npm install uglifyify (without the -g))
  • Maybe running npm install with more verbose logging will shed more light on the matter? Try npm install --loglevel=info
  • Maybe it is a problem related to npm cache? Try cleaning it with npm cache clean
  • Maybe upgrading npm would solve your issue? Try npm install -g npm@latest

lxe avatar Dec 04 '15 19:12 lxe

This should probably be reported on the npm repository.

jwueller avatar Dec 05 '15 09:12 jwueller

Closing. Not actionable and unlikely to be a node.js core issue.

bnoordhuis avatar Dec 07 '15 11:12 bnoordhuis

What was the reason to close this issue?

oshingc avatar Jan 04 '16 21:01 oshingc

@oshingc because there was nothing to act on and although npm might be bundled with nodejs it is not the same project, therefore this bug should not live here.

jbergstroem avatar Jan 04 '16 21:01 jbergstroem

You're right. Thanks for the clarification.

oshingc avatar Jan 04 '16 22:01 oshingc

npm executes much faster with linux operating system rather than windows. (it's my personal exprerience)

ma-9 avatar Aug 19 '19 17:08 ma-9