我正在尝试以下操作:
npm i --save-dev webpack-cli但是,得到了以下错误:
npm ERR! code ENOGIT
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Goran\AppData\Roaming\npm-cache\_logs\2018-03-03T06_07_52_
323Z-debug.log如何安装webpack版?
发布于 2018-03-03 14:39:38
这个错误不言而喻。
您需要在系统中安装git。还要确保在您的环境路径中设置了它。
您可能需要重新启动命令提示符/终端,以便找到git程序。
https://stackoverflow.com/questions/49081274
复制相似问题