Different versions of nodejs and node
While installing Node.js and npm, I’ve somehow ended up with different versions of nodejs and node.
# node -v v6.9.5 # nodejs -v v7.10.1
Getting inspired from Completely removing Node.js and Npm, I’ve managed to fix the mess:
git clone https://github.com/nodejs/node.git cd node/ ./configure sudo make uninstall
The result?
# node -v v7.10.1 # nodejs -v v7.10.1