2016-10-14 1 views
0

나는 ng new onepage 실행하고 나는 몇 분 후에 다음과 같은 오류가 발생합니다 :각도-CLI 새로운 프로젝트 오류

npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon   as possible. Use 'npm ls graceful-fs' to find it in the tree. 
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
npm WARN deprecated [email protected]: This package is discontinued. Use [email protected]^4.0.0. 
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (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 WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed. 
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed. 
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed. 
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed. 
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed. 
npm ERR! Linux 4.4.0-31-generic 
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" 
npm ERR! node v6.8.0 
npm ERR! npm v3.10.8 
npm ERR! path ../typescript/bin/tsc 
npm ERR! code EPROTO 
npm ERR! errno -71 
npm ERR! syscall symlink 

npm ERR! EPROTO: protocol error, symlink '../typescript/bin/tsc' -> '/vagrant/html/onepage/node_modules/@angular-cli/ast-tools/node_modules/.bin/tsc' 
npm ERR! 
npm ERR! If you need help, you may report this error at: 
npm ERR!  <https://github.com/npm/npm/issues> 

npm ERR! Please include the following file with any support request: 
npm ERR!  /vagrant/html/onepage/npm-debug.log 

가 나는 --no-bin-links 내가이 ng new onepage --no-bin-links을 실행,하지만 난 같은 오류를 생각했다.

아무도 도와 줄 수 있습니까?

답변

0

처음 사용 명령

새 프로젝트 이름은

스킵 설치 플래그가 NPM 패키지를 설치 방지 할 수 --skip-설치 겨.

NPM이 --no-빈 - 링크이이 문제를 해결

희망을 설치 명령 프로젝트 디렉토리로 변경하고 실행합니다. 루트 사용자로 명령을 실행하는 것을 잊지 마십시오.

관련 문제