【问题标题】:new node.js express project is empty in eclipse新的node.js express项目在eclipse中是空的
【发布时间】:2014-11-20 06:12:47
【问题描述】:

我正在尝试在 Eclipse 中打开一个 node.js 项目。我已经安装了 nodeeclipse 插件以及 express 和 node.js。现在,当我尝试创建一个新的“node.js express 项目”时,我得到一个空项目,并出现以下错误:

Node.js executable can't be found!
/Users/rajesh/Documents/eclipse/configuration/org.eclipse.osgi/878/0/.cp/express/bin/express /var/folders/d1/3d45qxrd2v5cr8lmt93cd1rc0000gn/T/express-work/1416463094804/CSVReader 
Unexpected Exception

谁能告诉我我错过了什么。

我使用的是 MAC(OSX 版本 10.8.5)。

【问题讨论】:

  • 如果它有助于解决您的问题,您应该接受@Paul Verest 的回答.. 对我很有用

标签: javascript eclipse node.js nodeclipse


【解决方案1】:

在 Preferences -> Nodeclipse 中配置 Node.js 的路径

节点路径

F1

查看内置帮助

http://www.nodeclipse.org/#support

【讨论】:

    【解决方案2】:

    由于某种原因,Nodeclipse 不喜欢选中“在 PATH 上查找节点。否则在下面的位置使用 Node.js 实例”复选框。在 Window > Preferences > Nodeclipse 下取消选中它并在下面的文本框中添加 node.exe 的路径。这对我有用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-02-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多