I installed node.js on Ubuntu 12.04 using this command

sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
sudo npm install -g express

The I installed Nodeclipse to Eclipse Juno. How can I set Node path and Express path ?

有帮助吗?

解决方案

Click Window -> Preferences -> Nodeclipse.

Node Path

/usr/bin/nodejs

Express Path

/usr/lib/node_modules/express/bin/express
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top