Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nvm node install checksums do not match because of a forward slash

Tags:

nvm

checksum

I'm learning to use nvm to manage node versions, but all my installations fail with the error: checksums do not match.

The only difference is the '\' in the found checksum:

Computing checksum with shasum -a 256 Checksums do not match: '\0bdd8d1305777cc8cd206129ea494d6c6ce56001868dd80147aff531d6df0729' found, '0bdd8d1305777cc8cd206129ea494d6c6ce56001868dd80147aff531d6df0729' expected. nvm: install v6.9.1 failed!

like image 262
Kirill Sajaev Avatar asked Dec 01 '16 20:12

Kirill Sajaev


People also ask

How do I use NVM specific node?

The NVM Use Command You can also confirm the current version of Node with nvm current . NVM again returns the current version number. You can also confirm the version of Node currently in use with node -v . To go back to using the system's version of Node, run the command nvm use system .

Does NVM install node?

Node Version Manager, or nvm, allows you to install, update, and uninstall Node on your system, and also to manage multiple versions of Node that you can switch between. As you may know, server-side languages have their own release versions, e.g., Node 17.1.

What is NVM Noinstall?

NVM for Windows is an opensource project mantained by the community to install and manage multiple versions of NodeJS on Windows. You can find the latest releases at this link.


1 Answers

What's the output of your nvm ls command? I was having the same issue, until I discovered my nvm ls command was also broken, which led me to this thread. Fixing my ~/.bash_profile to include

export NVM_DIR="$HOME/.nvm" 
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm

and then restarting my terminal solved the problem for me.

like image 105
Matthew Hinea Avatar answered Sep 28 '22 00:09

Matthew Hinea