eclipse中新的node.js express项目是空的

时间:2014-11-20 06:12:47

标签: javascript eclipse node.js nodeclipse

我正试图在eclipse中打开一个node.js项目。我已经安装了nodeclipse插件以及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)。

2 个答案:

答案 0 :(得分:2)

在首选项中配置Node.js的路径 - > Nodeclipse

节点路径

F1

查看内置帮助

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

答案 1 :(得分:1)

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