Closed ysdede closed 7 years ago
Got stuck at installation step 2:
Install global dependencies (if you didn't already):
When I try to run npm install -g gulp yarn livescript@1.4 I get some warnings like:
npm install -g gulp yarn livescript@1.4
npm ERR! Linux 4.8.0-59-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "gulp" "yarn" "livescript@1.4.0" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! path /usr/local/lib npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/usr/local/lib' npm ERR! at Error (native) npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib'] npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/local/lib
The -g switch means "global installation", which requires root privileges. Since you are on Linux, this command should be run as root:
-g
sudo npm install -g gulp yarn livescript@1.4.0
Got stuck at installation step 2:
Install global dependencies (if you didn't already):
npm install -g gulp yarn livescript@1.4.
When I try to run
npm install -g gulp yarn livescript@1.4
I get some warnings like: