我试图安装Phonegap。
所以我在命令提示符下Phonegap安装
npm install -g phonegap
运行的命令,但它引发的错误,如GIT没有找到,但我已经安装了GIT。
请在下面的错误提示。提前致谢。
C:\Users\bellamks>npm install -g phonegap
npm WARN addRemoteGit Error: 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\bellamks\npm-debug.log
如果您输入'git'并在命令行中输入,会发生什么? – msandiford
C:\ Users \ bellamks> git 'git'不被识别为内部或外部命令, 可操作的程序或批处理文件。 – Sreeni
检查'PATH'环境变量中是否存在'git'可执行文件路径。 – gzc