angular2の環境構築をしたいのですが、
npmでパッケージをインストール際に以下のエラーが発生してしまいます。
解消方法を教えてください。
(Windows10を利用)
以下試しました。
node_modules削除
npm cache clean
npm install
以下インストール時のコマンドプロンプトの内容
npm
1--★typescript browserify angular2をインストール 2C:\pleiades\workspace\angular-hello>npm install typescript browserify angular2 3angularhellopj@1.0.0 C:\pleiades\workspace\angular-hello 4+-- angular2@2.0.0-beta.17 5+-- browserify@13.1.0 6+-- UNMET PEER DEPENDENCY rxjs@5.0.0-beta.2 extraneous 7+-- typescript@1.8.10 8`-- UNMET PEER DEPENDENCY zone.js@0.6.6 invalid 9 10npm WARN angular2@2.0.0-beta.17 requires a peer of rxjs@5.0.0-beta.6 but none was installed. 11npm WARN angular2@2.0.0-beta.17 requires a peer of zone.js@^0.6.12 but none was installed. 12npm WARN angularhellopj@1.0.0 No description 13npm WARN angularhellopj@1.0.0 No repository field. 14 15--★依存関係で不足したものをインストール(何回かやりました) 16C:\pleiades\workspace\angular-hello>npm install es6-shim@0.35.0 reflect-metadata@0.1.2 rxjs@5.0.0-beta.6 zone.js@0.6.12 17angularhellopj@1.0.0 C:\pleiades\workspace\angular-hello 18+-- es6-shim@0.35.0 19+-- reflect-metadata@0.1.2 invalid 20+-- rxjs@5.0.0-beta.6 21`-- zone.js@0.6.12 invalid 22 23npm WARN angularhellopj@1.0.0 No description 24npm WARN angularhellopj@1.0.0 No repository field. 25 26--★エラー解消されず 27C:\pleiades\workspace\angular-hello>npm list 28angularhellopj@1.0.0 C:\pleiades\workspace\angular-hello 29+-- angular2@2.0.0-beta.17 extraneous 30+-- browserify@13.1.0 extraneous 31+-- es6-shim@0.35.0 extraneous 32+-- reflect-metadata@0.1.2 invalid 33+-- rxjs@5.0.0-beta.6 extraneous 34+-- typescript@1.8.10 extraneous 35`-- zone.js@0.6.12 invalid 36 37npm ERR! extraneous: angular2@2.0.0-beta.17 C:\pleiades\workspace\angular-hello\node_modules\angular2 38npm ERR! extraneous: browserify@13.1.0 C:\pleiades\workspace\angular-hello\node_modules\browserify 39npm ERR! extraneous: es6-shim@0.35.0 C:\pleiades\workspace\angular-hello\node_modules\es6-shim 40npm ERR! invalid: reflect-metadata@0.1.2 C:\pleiades\workspace\angular-hello\node_modules\reflect-metadata 41npm ERR! extraneous: rxjs@5.0.0-beta.6 C:\pleiades\workspace\angular-hello\node_modules\rxjs 42npm ERR! extraneous: typescript@1.8.10 C:\pleiades\workspace\angular-hello\node_modules\typescript 43npm ERR! invalid: zone.js@0.6.12 C:\pleiades\workspace\angular-hello\node_modules\zone.js 44 45C:\pleiades\workspace\angular-hello> 46
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/09/11 03:21