I've been all over looking for a solution. I've read that I should purge both node and nodejs, do a fresh installation then link the two together. This did not work. I was told to try nodejs legacy. This did not work.
I am trying to install something that requires a newer version of node. My nodejs has upgraded just fine, but node, unfortunately, has not.
node -v
v5.4.1
nodejs -v
v8.**** (latest)
I can't be the only person who is experiencing this. Does anyone have a fix? Running Ubuntu 16.04
fappycow@fappycow-desktop:~$ type -a node nodejs
node is /home/fappycow/.nvm/versions/node/v5.4.1/bin/node
node is /usr/local/bin/node
node is /usr/bin/node
nodejs is /usr/bin/nodejs
type -a node nodejs
, please.fappycow@fappycow-desktop:~$ type -a node nodejs node is /home/fappycow/.nvm/versions/node/v5.4.1/bin/node node is /usr/local/bin/node node is /usr/bin/node nodejs is /usr/bin/nodejs