I\'m trying to install nodeJs into my Ubuntu 14.04 in order to use GruntJs.
I\'ve read about Ubuntu different way of doing it (issues?), so this is what I\'ve done i
Follow these commands to fix the problem.
In a terminal:
Clean the entire NPM cache:
$ sudo npm cache clean -f
sudo npm install -g n
Install the latest stable version of Node.js:
sudo n stable
Now the latest version of Node.js was installed. Check the version using:
node -v