From 5689e9b586b4cdb74a2a4e1b761c6c477d36143e Mon Sep 17 00:00:00 2001 From: Nebelwolf Date: Wed, 5 Apr 2017 10:50:15 +0200 Subject: [PATCH] Does not work without -g. Because sudo n 0.10.48 fails without it --- Install-and-Update.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Install-and-Update.md b/Install-and-Update.md index ab05020..77a1d3a 100644 --- a/Install-and-Update.md +++ b/Install-and-Update.md @@ -144,7 +144,7 @@ git submodule update # Install Node.js 0.10.48 sudo apt install build-essential nodejs nodejs-legacy npm git curl -sudo npm install n +sudo npm -g install n ## if the previous fails (and asks you to run as sudo) just rm /home//node_modules and retry sudo n 0.10.48 sudo npm -g install npm@latest