Reputation: 3785
I installed NVM on my system and tried to install a newer version of nodejs by the following commands:
nvm install v0.8.23
and
nvm install 0.8.23
But I get the following error:
/usr/bin/which: no shasum in ($PATH)
######################################################################## 100.0%
Checksums do not match.
Binary download failed, trying source.
Additional options while compiling:
nvm: install N/A failed!
and then nothing happens. How can I fix this problem?!
Update-1__________________________________________
I tried changing the permission and creating an alias but they didn't effect anything. I made a symlink shasum -> sha1sum and the output changed (but still I'm not having ):
######################################################################## 100.0%
Checksums do not match.
Binary download failed, trying source.
Additional options while compiling:
nvm: install N/A failed!
Upvotes: 1
Views: 1616
Reputation: 203519
If you're on Mac OS X, you can try this:
sudo chmod 555 /usr/bin/shasum
nvm install ...
If that doesn't solve your problem, you need to install shasum
(perhaps using MacPorts).
If you're on Linux, use your distro's package manager to install it.
Upvotes: 1