I setup Nodeclipse and wrote a simple hello app. When I try to run as a Node Appplication, I get the following error
Exception occurred executing command line. Cannot run program "node" (in directory "C:\path\to\app"): CreateProcess error=2, The system cannot find the file specified
If I run from the Nodejs console, the app runs.
Is there a way I can make it runnable from Nodeclipse?
this error is show cause your node.exe is not configured in PATH simple solution is configure it or use below method go to windows -> preferences -> nodeclipse and uncheck the checkbox (find node on PATH) it works
in system Path variable -nodejs would be mentioned as C:\Program Files\nodejs\ whereas we need to include node.exe i.e C:\Program Files\nodejs\node.exe So either we can
or
Added IDE image (1 option) so that its easily to fix.
Same here, I restarted Eclipse and it worked ok, maybe Eclipse loads PATH when started - in my case I installed Nodejs after load eclipse
After you install node.js plugin in eclipse, then go to https://nodejs.org/en/ official website, and install v4.2.6 LTS open source libraries, after double click install, then restart eclipse, then done!
I know this question is a month old, but I was getting the same error and managed to fix it.
Try going to Window -> Preferences -> Nodeclipse and unchecking the box that says "find node on PATH...". Then make sure the "Node.js path" below is set to the location of the node.exe file (for me it was C:\Program Files (x86)\nodejs\node.exe).
I'm not sure why this worked (I checked my PATH and nodejs is definitely in there), but maybe it will help someone else.
Do you have Node.js installed? What is path to it?
Check Window -> Preferences -> Nodeclipse and compare.
http://www.nodeclipse.org/#support have also other option to follow with
Quote:
*1 Don't forget to add `nodeclipse` tag.
Should you report a bug, please include the following: