2016-10-16 5 views
0

をプロジェクトを作成することはできませんは、私は次のエラーを取得するウィンドウに角度-CLI経由

npm ERR! Windows_NT 10.0.14393 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "angular-cli" 
npm ERR! node v4.6.0 
npm ERR! npm v2.15.9 
npm ERR! code EPEERINVALID 

npm ERR! peerinvalid The package @angular/[email protected] does not satisfy its siblings' peerDependencies requirements! 
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected] 
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected] 

npm ERR! Please include the following file with any support request: 
npm ERR!  C:\WINDOWS\system32\npm-debug.log 

は私が解決するために何をすべき問題 ?

答えて

1

依存関係解決の問題のようです。最近のバージョンのNodeが処理できるいくつかの依存関係により、古いバージョンではエラーが発生します。

  1. をダウンロードして、最新バージョンNodeJS6.8.1)をインストールし、再び
  2. 実行npm install...
  3. 実行npm rebuild
+0

これは非常に役に立ちます。私はその全体を去り、いくつかの試みが失敗した後、Angular 1.xに集中しようとしていました。 – Chaklader

+0

ジョブを完了するために 'npm rebuild'は必要ありませんでした。 – Chaklader

関連する問題