Add sudo where needed.

Lauri Ojansivu 2017-03-15 15:18:11 +02:00
parent 3cc0f293cc
commit cd6f0526c2

@ -142,12 +142,12 @@ cd wekan
# Install Node.js 0.10.48 # Install Node.js 0.10.48
sudo apt install build-essential nodejs nodejs-legacy npm git curl sudo apt install build-essential nodejs nodejs-legacy npm git curl
npm install n sudo npm install n
## if the previous fails (and asks you to run as sudo) just rm /home/<username>/node_modules and retry ## if the previous fails (and asks you to run as sudo) just rm /home/<username>/node_modules and retry
n 0.10.48 sudo n 0.10.48
npm install npm@latest sudo npm install npm@latest
npm install node-gyp sudo npm install node-gyp
npm install fibers sudo npm install fibers
# install wekan npm dependancies # install wekan npm dependancies
npm install npm install