我試圖安裝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