2017-05-01 32 views
0

我是angular2初學者。我嘗試在我的系統中安裝角度IDE,但不安裝。如何在ubuntu中安裝Angular IDE?

命令: -

npm install -g angular-ide 

錯誤: -

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 

請告訴我們如何安裝角IDE?

回答

1
sudo npm install -g angular-ide 

它說訪問問題,所以試試這個。

+0

感謝它的工作。 –

+0

如何安裝ngide文件夾? –

+0

我不使用ngIDE,但使用其他id,我想這應該是以相同的方式運行。啓動ngIDE,然後從菜單中選擇File-> Open->選擇你的文件夾 –