I have node v.4.4 with npm v.2.14.20 (default bundled with windows installer). My OS: Windows 7 64bit. Hardware: Dell laptop, 16GB RAM, SSD, core i7.
I'm facing a problem with extremely slow npm. For example when I want to check version of node with
node --version
v4.4.0
I receive output 4.4.0
within miliseconds.
But when I type
npm --version
I need to wait ridiculous 8-15 seconds to receive an output! And it's the same with every single npm command.
What i tried: update npm (to most recent 3.x version), update node to 5.9.0, i also tried my luck with x86 versions - same thing.
- Any clues what can cause such "sleep" (it's only with
npm
, every other cmd command works fine, system works fine)? - I will appreciate any tips how I can debug this thing to see what's going on under the hood