Reputation: 925
i've an issue making Cordova Project on Netbeans 8.0.1 on Windows 7
I followed this step (after googling and searching hours and hours)
1) Downloading and installing netbeans 8 2) Download and installing node.js 3) run the command > npm install -g cordova (download and installed latest cordova 4) 4) download and install git
5) verify that the commands:
"cordova --version" --> 4.0.0
"git --version" --> git version 1.9.4.msysgit.2
5bis) Added npm directory and git/bin to PATH variable
6) Reboot machine
7) Open netbeans -> new project -> html5 > cordova
And here i'm getting once again "Netbeans cannot find cordova or git in your PATH. Please install cordova and git".
What i'm doing wrong? If i run from command > npm create TestProject cordova succesfully create project dir, why netbeans doesn't recognize nor cordova and git?
Note: netbeans give me the following error:
[org.netbeans.modules.cordova.CordovaPlatform$Version]: Cannot run program "git.exe": CreateProcess error=2
Upvotes: 0
Views: 2559
Reputation: 33
Try to install an older version of cordova(3.6.3-0.2.13). It's worked for me.
Upvotes: 0
Reputation: 5876
Have you used Git installer from here or some other? If other, I would try to reinstall Git. The message Netbeans cannot find cordova or git in your PATH. Please install cordova and git
is displayed if either git or cordova or both are not found (in other words, it does not necessary mean that cordova is not recognized it could be the git)
Upvotes: 1