1
このレポの依存関係をインストールしようとすると問題が発生しました。npmのインストール中にエラーが発生し、角度2のクイックスタートプロジェクト
typings install
コマンドに
をしようとすると、それは私が見出力されたポストインストールスクリプトの間に起こる:
typings ERR! message Unable to read typings for "es6-shim". You should check the
entry paths in "es6-shim.d.ts" are up to date
typings ERR! caused by Unable to connect to "https://raw.githubusercontent.com/D
efinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/es6-shim
/es6-shim.d.ts"
typings ERR! caused by unable to get local issuer certificate
typings ERR! cwd C:\Users\rparker\Documents\GitHub\angular2-seed
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\rpa
rker\\Documents\\GitHub\\angular2-seed\\node_modules\\typings\\dist\\bin.js" "in
stall"
typings ERR! node -v v4.4.1
typings ERR! typings -v 0.7.12
今、私はプロキシの背後午前、それは資源の問題である必要があります考えていました何らかの理由でブロックされています。
ブラウザで上記のエラーで参照されているURLに実際に移動でき、githubページがうまく表示されます。
ウェブを掘り起こす私は、npm設定ファイルにプロキシ設定を追加する方法についての説明が書かれています。鉱山で私が今持っているので、私は、プロキシの詳細を知っている:
ca=
strict-ssl=false
registry=http://registry.npmjs.org/
proxy=http://myusername:[email protected]:proxyport
https-proxy=http://myusername:[email protected]:proxyport
は、これは私にとって何の違いを行っていないので、私は次に何をすべきかわかりませんよ。
誰でもアドバイスをいただけますか?
おかげ
感謝を!私の.npmrcと同じフォルダに入れて、魅力を発揮しました – Fewster
ありがとうございました。 – mindparse