如何在Mac上的NetBeans Cordova项目的PATH上设置cordova? [英] How to set cordova on my PATH for NetBeans Cordova project on a Mac?

查看:81
本文介绍了如何在Mac上的NetBeans Cordova项目的PATH上设置cordova?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Netbeans 7.4 RC2.我使用的是最新的Beta版,一切正常运行,但是升级后,我开始出现此错误:

Using Netbeans 7.4 RC2. I was using the last beta and everything worked like a charm, but after upgrading, I started getting this error:

Netbeans在您的PATH上找不到cordova或git.请安装cordova和git.

Netbeans cannot find cordova or git on your PATH. Please install cordova and git.

我知道只是我的PATH需要包含cordova,因为在RC之前从未要求这样做,但是我不知道如何!!!我遇到的两个示例都在Windows上,但我在MacBook上.

I know it's just that my my PATH needs to include cordova, since that was never required pre-RC, but I cannot figure out HOW!!! The two examples I've run across are on Windows, but I am on a MacBook.

它是如此糟糕,以至于它是一个单行修复程序,我对该修复程序一无所知!除非是NetBeans错误,否则Windows员工都可以使用它,因此我认为我只是天真.

It's so aggravating that it's a one-line fix and I know nothing about how to fix it! Unless it is a NetBeans bug, but the Windows folks get it to work, so I assume I'm just naive.

推荐答案

在此跟踪此问题https://netbeans.org/bugzilla/show_bug.cgi?id=236792请将以下命令的输出添加到NetBeans bugzilla.哪个科尔多瓦猫〜/.bash_profile猫〜/.profile谢谢

This issue is tracked here https://netbeans.org/bugzilla/show_bug.cgi?id=236792 Please add output of following commands to NetBeans bugzilla. which cordova cat ~/.bash_profile cat ~/.profile Thanks

这篇关于如何在Mac上的NetBeans Cordova项目的PATH上设置cordova?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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