2016-10-27 10 views
0

ノードv4.6.0で最後の分度器(4.0.10)をインストールしようとしても失敗します。分度器のインストールに失敗しました

私はこのエラーを取得しています:

[email protected] C:\Users\mallain\AppData\Roaming\npm\node_modules\bower 
npm ERR! Windows_NT 6.1.7601 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
npm ERR! node v4.6.0 
npm ERR! npm v2.15.9 
npm ERR! code E404 

npm ERR! 404 Not Found: @types/jasmine 
npm ERR! 404 
npm ERR! 404 '@types/jasmine' is not in the npm registry. 
npm ERR! 404 You should bug the author to publish it (or use the name yourself!) 
npm ERR! 404 It was specified as a dependency of 'protractor' 
npm ERR! 404 
npm ERR! 404 Note that you can also install from a 
npm ERR! 404 tarball, folder, http url, or git url. 

npm ERR! Please include the following file with any support request: 
npm ERR!  C:\Users\mallain\workspace\angular-catalogue-module\npm-debug.log 

任意のアイデア? :)

ありがとうございます!

+1

カスタムnpmレジストリを使用していますか?それはジャミンのためのタイプを見つけようとしていて空になっています。 –

+0

実際に私は、この問題の原因はこのレジストリの構成が悪いことです。ご協力いただきありがとうございます :) –

答えて

1

nodeとnpmを最新のバージョンに更新してください。 @typesはかなり最近の大会です。

0

これは私の会社のレジストリの問題でした。

プロジェクトレジストリを有効なものに変更すると、これが修正されました! :)

関連する問題