Phonegap_ "git" command line tool is not installed: make sure it is accessible on your PATH

StackOverflow https://stackoverflow.com/questions/23670292

  •  23-07-2023
  •  | 
  •  

質問

I know this question has been asked but i am really confused. I have installed git and my PATH variable looks like this

%Path%;%ANDROID_PLATFORM_TOOLS%;%ANDROID_TOOLS%;
C:\Users\Miserda\nodejs\npm;C:\android-sdk-win;
C:\Users\Miserda\AppData\Roaming\npm;
C:\Program Files (x86)\WinAnt\bin; C:\Program Files (x86)\Git\bin 

and i don't understand how doesn't it recognize it??

役に立ちましたか?

解決

The main issue seemed to come from the space between the ';' and the 'C:\' in the PATH

 C:\Program Files (x86)\WinAnt\bin; C:\Program Files (x86)\Git\bin 
                                   ^

Removing allows for git command to be recognized.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top