From 65883e8e00e565a937928263939aa06ee33c8dfe Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Thu, 12 Mar 2015 16:21:05 +0100 Subject: [PATCH] README.md: Use "npm config set prefix ~", see http://stackoverflow.com/questions/19352976/npm-modules-wont-install-globally-without-sudo --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index becccc3a..58ac684a 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ Travis 1. Note: Ensure you have ```npm``` installed - goto http://nodejs.org/download/ to download installer for your OS. On Ubuntu Linux you can use 'sudo apt-get install npm nodejs-legacy' (nodejs-legacy is required to avoid the ""/usr/bin/env: node: No such file or directory" problem). +1. Tip: If you are using Ubuntu/Linux, then doing ```npm config set prefix ~``` prevents you from having to run npm as root. + 1. Clone this repository to your local filesystem (default branch is 'develop') 1. To download the dependencies, and be able to build, first install bower & grunt