Reputation: 23
I'm trying to update node to version 7 but it is staying at v5.
Upvotes: 1
Views: 3107
Reputation: 311
You are probably with the same problem as him: link
If you run which node
and which nodejs
on your terminal you should get 2 different paths.
And, if this is the case, you can remove one of your node apps and symlink the other.
$ sudo apt-get remove nodejs
$ sudo ln -s /usr/bin/node /usr/bin/nodejs
It's explained in the first answer on the link above what is happening.
Upvotes: 4