2016-08-28 12 views
0

Ich versuche, Brunch auf meinem Macbook zu installieren. Ich tippe inInstallieren Sie Brunch auf Mac

npm install -g brunch 

und es gibt schließlich

npm ERR! Darwin 15.6.0 
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "brunch" 
npm ERR! node v6.4.0 
npm ERR! npm v3.10.3 
npm ERR! path /usr/local/lib/node_modules 
npm ERR! code EACCES 
npm ERR! errno -13 
npm ERR! syscall access 

npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules' 
npm ERR!  at Error (native) 
npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib/node_modules' 
npm ERR!  at Error (native) 
npm ERR! errno: -13, 
npm ERR! code: 'EACCES', 
npm ERR! syscall: 'access', 
npm ERR! path: '/usr/local/lib/node_modules' } 
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!  /Users/aryaman.arora/npm-debug.log 

Was soll ich tun?

Antwort

1

Run-Befehl mit Superuser-Berechtigungen:

sudo npm install -g brunch

Hinweis: Dieses Root-Passwort benötigt.

Oder Sie können npm Berechtigungen mit this guide beheben.

+0

Ich habe das schon versucht, ich habe es auch mit Root-Zugang versucht. Ich werde den Leitfaden lesen. –

+0

der Führer arbeitete! Ich danke dir sehr. –

Verwandte Themen