When I attempt to install Node packages using npm install
the installation will take a very long time (about 30-45 minutes). While my peers can do the same install in about a minute.
Node Version: v0.8.26
npm version: 1.4.23 (problem exists across every version I've tried)
Ubuntu version: 14.04.1 (though problem existed on 12.04)
I have owned the npm directories:
sudo chown -R $USER /usr/local
sudo chown -R $USER ~/.npm
The package it freezes on is not consistent.
I've tried specifying the registry.
When using logging I see it freeze consistently on the following command:
npm verb lock tar:///tmp/npm-11286-ATBB9hd_/1409669170711-0.3943181368522346/tmp.tgz /home/myDir/.npm/6441f675-70711-0-3943181368522346-tmp-tgz.lock
I have also tried clearing the cache and reinstalling Node/npm multiple times.