2016-10-15 2 views
0

Ich bekomme diesen Fehler, wenn ich npm wegen Nodejs Installation versuche. Ich habe getan, was ich konnte, aber ich kann es immer noch nicht schaffen.npm ERR! Linux 4.4.0-43-generic

Wie du sehen kannst, benutze ich Linuxbrew, von dem ich dachte, dass es helfen würde, aber immer noch nicht. Irgendwelche Vorschläge hier?

npm ERR! Linux 4.4.0-43-generic 
npm ERR! argv "/home/ericel/.linuxbrew/Cellar/node/6.7.0/bin/node" "/home/ericel/.linuxbrew/bin/npm" "cache" "clean" 
npm ERR! node v6.7.0 
npm ERR! npm v3.10.7 
npm ERR! path /home/ericel/.npm/@angular/common 
npm ERR! code EACCES 
npm ERR! errno -13 
npm ERR! syscall rmdir 

npm ERR! Error: EACCES: permission denied, rmdir '/home/ericel/.npm/@angular/common' 
npm ERR!  at Error (native) 
npm ERR! { Error: EACCES: permission denied, rmdir '/home/ericel/.npm/@angular/common' 
npm ERR!  at Error (native) 
npm ERR! errno: -13, 
npm ERR! code: 'EACCES', 
npm ERR! syscall: 'rmdir', 
npm ERR! path: '/home/ericel/.npm/@angular/common' } 
npm ERR! 
npm ERR! Please try running this command again as root/Administrator. 

npm ERR! Please include the following file with any support request: 
npm ERR!  /home/ericel/npm-debug.log 
+1

Mögliches Duplikat von -> http://stackoverflow.com/questions/16151018/npm-throws-error-without-sudo – adeneo

Antwort

0

Es hat permission denied Problem. Versuchen Sie, diese Installation mit sudo oder Root-Benutzer auszuführen.

Verwandte Themen