在您的路径(Windows / Netbeans)上找不到Git或Cordova,在AppData / Local,FIX 2015下找不到GitHub [英] Can't find Git or Cordova on your path (Windows/Netbeans), Can't find GitHub under AppData/Local, FIX 2015

查看:306
本文介绍了在您的路径(Windows / Netbeans)上找不到Git或Cordova,在AppData / Local,FIX 2015下找不到GitHub的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误:。NetBeans在您的路径上找不到git或cordova。



Cordova应用程序在Netbeans中。



如何解决? >

解决方案

如果有人想知道如何让Cordova在Netbeans工作anno 2015/2016这里是修复:



我已安装:




  • Git版本:2.5.1 Windows 64位

  • Cordova版本:4.3.1 Windows 64位

  • Node.js版本:0.12.0 for Windows 64 bit

  • Netbeans版本:8.0.2 x86



一个新的项目,并选择HTML5> Cordova应用程序,然后我会得到这个错误:NetBeans找不到git或cordova在你的路径。



搜索好的老互联网,我发现一些信息,这两个是正确的,但没有解决我的问题。原因是它是旧的或略有不同,我的问题。所以我做了以下来解决这个问题:



我检查了我的Cordova / npm文件在哪里和我很高兴地发现他们:C:\Users\\ AppData \Roaming \\\
pm



接下来我必须找到我的Git.exe,FOR ME位于:C:\Program Files\Git\bin (对于一些人,可以发现:C:\Users\\AppData\Local\GitHub\PortableGit _)



现在我发现Netbeans正在使用Windows PATH VARIABLES来定位git和cordova。对于那些不在哪里找到或设置系统路径变量这个网站将帮助你找到或设置它: https://java.com/en/download/help/path.xml



我使用Windows 7,所以我这样做了改变我的路径变量:



从开始菜单中选择计算机



从上下文菜单中选择系统属性



点击高级系统设置>高级标签



点击环境变量,在系统变量下,找到PATH ,并单击它。



- 在编辑窗口中,通过将类的位置添加到PATH的值来修改PATH如果没有项PATH ,您可以选择添加一个新变量,并添加PATH作为名称和类的位置作为值。



SO编辑路径,然后你看到像C: / apath; C:/ asdas;< 在此处输入您的git路径; 在此输入您的cordova路径,然后单击确定按钮。

重新启动Netbeans,现在必须工作。



:)


Error: NetBeans cannot find git or cordova on your path.

When trying to create a new Cordova Application in Netbeans.

How to fix? > THE ANSWER CAN BE FOUND BELOW :)

解决方案

If anyone wants to know how to get Cordova working in Netbeans anno 2015/2016 here is the fix:

I have installed:

  • Git version: 2.5.1 for Windows 64 bit
  • Cordova version: 4.3.1 for Windows 64 bit
  • Node.js version: 0.12.0 for Windows 64 bit
  • Netbeans version: 8.0.2 x86

In Netbeans when I start a new project and select HTML5>Cordova Application then I will get this error:NetBeans cannot find git or cordova on your path.

After some searching on the good old internet, I found some pieces of information hither and thither which was correct but which didn't solve my problem. The reason for this was that it was old or slightly different than my problem. So I did the following to fix this problem:

I checked where my Cordova/npm files where and I happily found them in: C:\Users\\AppData\Roaming\npm

Next I had to find my Git.exe which FOR ME is located in: C:\Program Files\Git\bin (FOR SOME PEOPLE IT CAN BE FOUND IN: C:\Users\\AppData\Local\GitHub\PortableGit_)

Now I found out that Netbeans is using the windows PATH VARIABLES to locate git and cordova. For those who don't where to find or set the system Path Variables this website will help you find or set it: https://java.com/en/download/help/path.xml

I use windows 7 so I did this to change my path variables:"

-Select Computer from the Start menu

-Choose System Properties from the context menu

-Click Advanced system settings > Advanced tab

-Click on Environment Variables, under System Variables, find PATH, and click on it.

-In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.

SO edit path and then you see like C:/apath;C:/asdas; < enter here your git path;<enter here your cordova path and save it by clicking the OK button.

Restart Netbeans and now it has to work.

:)

这篇关于在您的路径(Windows / Netbeans)上找不到Git或Cordova,在AppData / Local,FIX 2015下找不到GitHub的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆