Netbeans 在您的路径上找不到 Cordova 或 Git [英] Netbeans Cannot Find Cordova or Git on your path
问题描述
我刚刚安装了最新的 netbeans 7.4 RC1,出现错误页面Netbeans 在您的路径上找不到 Cordova 或 Git,请安装 Cordova 或 Git".事实上,我确实安装了cordova 和Git.
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.
我确实按照此 youtube 上的步骤操作,
I Do follow the step on this youtube ,
https://www.youtube.com/watch?v=Gt4uHSiO-00
但它仍然不允许我打开任何 HTML 5 cordova 项目.
but it is still not allow me to open any HTML 5 cordova project.
这是我遗漏的任何步骤吗?
Is that any steps i left out ?
推荐答案
我遇到了完全相同的问题.我发现了这个错误:https://netbeans.org/bugzilla/show_bug.cgi?id=234870
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
如果您收到未找到命令"错误,则说明您的安装存在问题.您很可能需要将项目添加到路径变量中.就我而言,那是C:\Users\Chris\AppData\Local\GitHub\PortableGit_015aa71ef18c047ce8509ffb2f9e4bb0e3e73f13\bin;C:\Users\Chris\AppData\Roaming\npm
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
适用于 Cordova 和 Git.
for both Cordova and Git.
这篇关于Netbeans 在您的路径上找不到 Cordova 或 Git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!