2016-10-14 16 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を実行すると思ったが、私は同じエラーを持っています。

誰でも助けてくれますか? --skip-インストール

スキップインストールフラグ新しいプロジェクト名をngの

答えて

0

最初に使用するコマンド

はNPMパッケージのインストール防ぐことができます。

その後、プロジェクトディレクトリにディレクトリを変更し、

NPMは--no-binのリンクに、これはあなたの問題を解決し

希望をインストールするコマンドを実行します。ルートユーザーとしてコマンドを実行することを忘れないでください

関連する問題