Ubuntu Linux: Netbeans Cannot Detect Git or Cordova Installed

Ubuntu Linux: Netbeans cannot detect Git or Cordova installed

Thanks to @ladar for helping me out I found out that the culprit was indeed that hello: printed by any cordova command (like cordova --version or cordova --help). I don't know why this originally existed, since I installed cordova using npm install -g cordova, and even running update the output was always the same.

So I searched cordova executable with

which cordova

and around line 20:

// Set this to 1 to enable timestamp collection via addTs().
console.log('hello: ');
if (0) {
var ts = [];

Adding // in front of the console.log finally made Netbeans work!

Thanks again @ladar for your suggestions

Netbeans Cannot Find Cordova or Git on your path

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.

netbeans cordova- error while building my project

try to do this!
Open the cmd and put this:

git config --global http.sslVerify false

press enter! Ready!



Related Topics



Leave a reply



Submit