2017-05-01 33 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->选择你的文件夹 –