This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.4 RC2 (Build 201309252201) Operating System = Mac OS X version 10.8.5 running on x86_64 Java; VM; Vendor = 1.7.0_40 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56 Unable to create Cordova projects or open the sample COrdova application. The IDE prints the error: "netbeans cannot find cordova or git on your PATH... install cordova and restart the IDE" I confirmed that BOTH cordova and git are accessible from the shell and their paths are in the $PATH var.
Created attachment 140789 [details] IDE log
please go to command line and send me output of > cordova -v and > git --version thanks.
here is the output: $ cordova -v 3.1.0-0.1.0 $ git --version git version 1.8.3.2
cordova changed their versioning scheme and netbeans does not recognize 3.1.0-0.1.0 version as release version. It expects version in format major.minor.patch. In short netbeans does not work with cordova 3.1.0 workaround is to use cordova 3.0.10 > sudo npm install -g cordova@3.0.10
Changeset: e9b86fb92a6b Author: Jan Becicka <jbecicka@netbeans.org> Date: 2013-10-04 14:24 Message:
Interesting, in that case I believe many subsequent bugs will be filed as more developers try it out. Unless they previously had a compatible Cordova installation, the link provided on the netbeans form will instruct them to install the latest cordova version... Hopefully netbeans will be updated to recognize their versioning scheme.
I have the same issue , and I already have cordova 3.0.10
*** Bug 236838 has been marked as a duplicate of this bug. ***
Works fine now with Cordova 3.1.0-0.1.0 Product Version: NetBeans IDE Dev (Build 201310070001) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b14 System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb)
Doesn't work here with Cordova 3.1.0-0.1.0 Question: will Netbeans be updated anytime soon to recognize the new versioning scheme?
Fix will be available via patch very soon
changeset: 273597:646a37cffee1 branch: release74 user: Jan Becicka <jbecicka@netbeans.org> date: Fri Oct 04 14:24:35 2013 +0200 summary: Issue #236730 - Unable to create Cordova Projects
Verified in 7.4patch, I can create project with Cordova 3.1.0-0.1.0 Product Version: NetBeans IDE 7.4 (Build 201310012201) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b13 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
The same error on Windows 7 Enterprise >cordova.cmd -v 3.0.1 (3.0.10 and 3.1 tried too) >git --version git version 1.7.8.msysgit.0 >java -version java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) Product Version: NetBeans IDE 7.4 (Build 201310111528) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Windows 7 version 6.1 running on amd64; Cp1251; en_US (nb) User directory: C:\Users\vkr\AppData\Roaming\NetBeans\7.4 Cache directory: C:\Users\vkr\AppData\Local\NetBeans\Cache\7.4 Where is patch? Are you going to share one?
@vkryzhov, try the latest Netbeans dev build. That one will work guaranteed ;) http://bits.netbeans.org/netbeans/trunk/nightly/latest/
The fix is integrated in NetBeans 7.4 FCS. No need for patches.
Is this fixed in 7.4? I've installed module updates, but my install still thinks it can't find cordova or git. Git in general works fine in netbeans, and the Error message I get when trying to create a cordova project is "Install Cordova and restart NetBeans" Netbeans: Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 1 Cordova: james@james:~$ which cordova /home/james/software/bin/cordova james@james:~$ cordova -v 3.2.0-0.2.0 Git: james@james:~$ which git /usr/bin/git james@james:~$ git --version git version 1.7.9.5
Actually, this is STILL a problem with the dev build (20131202): james@james:~$ cordova -v 3.1.0-0.2.0 … "Install Cordova and restart NetBeans" Anyone know of a reasonable guide to build Netbeans from source? I'd happily fix this if I could do that.
> Anyone know of a reasonable guide to build Netbeans from source? I'd happily > fix this if I could do that. http://wiki.netbeans.org/WorkingWithNetBeansSources I think, that building netbeans is quite simple: ant options to avoid OutOfMemory errors: > export ANT_OPTS="-Xmx512m -XX:MaxPermSize=512m" and then just > hg clone http://hg.netbeans.org/main-silver/ > cd main-silver > ant > Actually, this is STILL a problem with the dev build (20131202): You are on Linux? Mac?
Hi all, I am facing this problem, its on Mac 10.9.1. The versions are: cordova --version 3.3.1-0.3.1 git --version git version 1.8.4.2 I set the paths in .bash_profile: export PATH=/usr/local/git/bin:$PATH export PATH=/usr/local/bin:$PATH export PATH=/usr/local/bin/npm:$PATH export PATH=/usr/local/bin/cordova:$PATH Netbeans details: Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2 Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Mac OS X version 10.9.1 running on x86_64; UTF-8; en_US (nb) User directory: /Users/zaid/Library/Application Support/NetBeans/7.4 Cache directory: /Users/zaid/Library/Caches/NetBeans/7.4 What exactly do I need to do to make it work? Please help me.
Hi, Just to add more details to my previous comment. I tried NetBeans7.4 (Patch2) on Windows, and works without any issue. Windows (works!): Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2 Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03 Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 System: Windows 7 version 6.1 running on amd64; Cp1252; en_IE (nb) User directory: C:\Users\Zaid\AppData\Roaming\NetBeans\7.4 Cache directory: C:\Users\Zaid\AppData\Local\NetBeans\Cache\7.4 Mac (doesn't work, says Cordova and Git not installed): Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2 Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Mac OS X version 10.9.1 running on x86_64; UTF-8; en_US (nb) User directory: /Users/zaid/Library/Application Support/NetBeans/7.4 Cache directory: /Users/zaid/Library/Caches/NetBeans/7.4
Ok, I resolved the problem. I created new user in my Mac, and just worked like a charm!, something mu, st be wrong with my original account. But the good news that I can use it now with another user on my Mac! Thanks, Zaid
I have a fresh download of netbeans 8, cordova, Node JS and SDK but I'm still getting an error: Netbeans cannot find cordova or git on your PATH. I have a Mac 10.9.2 Maverick Here are my versions: $ cordova —version 3.4.0-0.1.3 $ git —version git version 1.8.5.2 Path for SDK is in my bash_profile and I added the location of my SDK path under options in Netbean but I still can't use Cordova. Can someone please direct me to how to get this working? (adding a new user to my mac did not work for me unfortunately)
I'm experiencing this too :( Mac 10.9.3 git version 1.8.5.2 (Apple Git-48) cordova 3.5.0-0.2.4 Netbeans 8 If I remove .bash_profile out of ~/ all works fine. Contents of .bash_profile [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* (I have rvm installed with JewelryBox) Contents of .bashrc PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting I have tried numerous combinations of 'export PATH' and adding 'PATH=....:$PATH' to both files all to no avail. Anyone with any insight?