Thursday, October 31, 2019

Node Install specific version

In my machine, it ended up in showing the below errors

Below are few install instructions

nvm install 6

or

nvm install stable
nvm install unstable
nvm use stable


reinstall during install
nvm install node --reinstall-packages-from=node

And finally had to use package manager n

npm install -g n   # Install n globally
n 0.10.33          # Install and use v0.10.33

sudo n 6.11.4 => installed 6.11.4 version of node.. great!!

references:
https://michael-kuehnel.de/node.js/2015/09/08/using-vm-to-switch-node-versions.html
https://stackoverflow.com/questions/7718313/how-to-change-to-an-older-version-of-node-js

No comments:

Post a Comment