Created
July 27, 2017 12:10
-
-
Save phucat/2010051725c089fc90bc1536bbabf280 to your computer and use it in GitHub Desktop.
get the latest stable nodejs version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If this is happening in nodejs, it is due to the older version of nodejs. Update node by using, | |
1) Clear NPM's cache: | |
sudo npm cache clean -f | |
2) Install a little helper called 'n' | |
sudo npm install -g n | |
3) Install latest stable NodeJS version | |
sudo n stable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment