Reputation: 16443
It seems each time I upgraded nodejs to a new version (>0.5.6?), npm is somewhat broken (you can still use the modules already installed but you cannot update or install new modules)
This problem will go away if I do
curl http://npmjs.org/install.sh | sh
So my question is: Should I reinstall npm each time I upgraded nodejs?
PS: I'm a Linux user and using nave to upgrade my nodejs.
Upvotes: 2
Views: 1319
Reputation: 4847
Prior to 0.6.3, each time you install a new version of Node you will need to install npm for that installed instance, even if you installed over the top of a previous version (probably not a good idea).
Starting with 0.6.3, npm is bundled with Node.
Upvotes: 5