2017-05-01 6 views
0

Ich bin Angle2 Anfänger. Ich versuche, eckige IDE in meinem System zu installieren, aber es installiert nicht.Wie installiere ich Angular IDE in ubuntu?

Befehl: -

npm install -g angular-ide 

Fehler: -

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (node_modules/angular-ide/node_modules/chokidar/node_modules/fsevents): 
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 
npm ERR! Linux 4.4.0-75-generic 
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "angular-ide" 
npm ERR! node v7.8.0 
npm ERR! npm v4.2.0 
npm ERR! path ../lib/node_modules/angular-ide/bin/ngide 
npm ERR! code EACCES 
npm ERR! errno -13 
npm ERR! syscall symlink 

npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/angular-ide/bin/ngide' -> '/usr/bin/ngide' 
npm ERR! { Error: EACCES: permission denied, symlink '../lib/node_modules/angular-ide/bin/ngide' -> '/usr/bin/ngide' 
npm ERR! errno: -13, 
npm ERR! code: 'EACCES', 
npm ERR! syscall: 'symlink', 
npm ERR! path: '../lib/node_modules/angular-ide/bin/ngide', 
npm ERR! dest: '/usr/bin/ngide' } 

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/iron/.npm/_logs/2017-05-01T03_32_46_250Z-debug.log 

Bitte sagen Sie uns, wie Winkel IDE installieren?

Antwort

1
sudo npm install -g angular-ide 

Sein sagt Zugriffsproblem, versuchen Sie es so.

+0

Dank seiner Arbeit. –

+0

Wie wird der Ordner angezeigt, wenn er installiert wird? –

+0

Ich verwende nicht ngIDE, aber benutze andere IDs, ich denke, das sollte auf die gleiche Weise laufen. starte ngIDE, dann aus dem Menü Datei-> Öffnen-> wähle deinen Ordner –

Verwandte Themen