Netbeans Cannot Find Cordova or Git on your path

abc cba picture abc cba · Sep 29, 2013 · Viewed 21.3k times · Source

I just install the latest netbeans 7.4 RC1 , i got the Error page "Netbeans Cannot Find Cordova or Git on your path, Please install Cordova or Git". In fact, i actually did install both cordova and Git.

I Do follow the step on this youtube ,

https://www.youtube.com/watch?v=Gt4uHSiO-00

but it is still not allow me to open any HTML 5 cordova project.

Is that any steps i left out ?

Answer

Christopher Matthew Bodley picture Christopher Matthew Bodley · Sep 29, 2013

I had the exact same problem. I found this bug: https://netbeans.org/bugzilla/show_bug.cgi?id=234870

Go to the command prompt. Try typing:

git --version    
cordova --version

If you get a "command not found" error, you have an issue with your installation. More than likely you need the items added to your path variable. In my case, that was C:\Users\Chris\AppData\Local\GitHub\PortableGit_015aa71ef18c047ce8509ffb2f9e4bb0e3e73f13\bin;C:\Users\Chris\AppData\Roaming\npm

for both Cordova and Git.