2017-05-01 5 views
0

저는 angular2 초보자입니다. 내 원 시스템에 각도 IDE를 설치하려고하지만 설치되지 않습니다.우분투에서 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

설치하는 경우 어떻게 oepn 폴더에? –

+0

ngIDE를 사용하지는 않지만 다른 ID를 사용하면 동일한 방식으로 실행되어야합니다. ngIDE를 시작한 다음 메뉴에서 파일 -> 열기 -> 폴더를 선택하십시오. –

관련 문제