npm install -g angular-cli がWindows 10 64ビット上にある場合、複数のエラーが発生しています。私のログを見てくださいnpm install -g angle-cliコマンドを実行すると複数のエラーが発生する
npm ERR! git clone --template=C:\Users\ben\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:webpack/compression-webpack-plugin.git C:\Users\ben\AppData\Roaming\npm-cache\_git-remotes\git-github-com-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-e286d0b5: undefined
npm ERR! git clone --template=C:\Users\ben\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:webpack/compression-webpack-plugin.git C:\Users\ben\AppData\Roaming\npm-cache\_git-remotes\git-github-com-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-e286d0b5: undefined
npm ERR! Windows_NT 10.0.10586
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 v6.2.0
npm ERR! npm v3.8.9
npm ERR! code ENOGIT
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\ben\npm-debug.log
あなたのログには、 'gitがインストールされていてPATHにありますかどうか確認してください。 – blindstuff
Gitがインストールされていて、自分のパスに入っていて、まだ動作していません。 angle-cliのWebサイトからgitは前提条件ではなく、gitのcompress-webpack-plugin.gitにバグがあると思います。 – Bento
これはAngle-Cliの最初のインストールですか、それとも以前のバージョンがインストールされていますか? – Brocco