Skip to content

Nodeclipse won't run or debug app on OSX Maverick, nodeclipse 0.8.0, and JDK 1.7.03_45 (node path was not set) #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thenderson21 opened this issue Dec 7, 2013 · 4 comments
Assignees
Labels
Milestone

Comments

@thenderson21
Copy link

When I try to run or debug a nodejs app I get and error:

java.io.IOException: Cannot run program "node" (in directory 
"/Users/<USERNAME>/Documents/Projects/<PROJECTNAME>"): error=2, No such file or directory.

I can run the app just fine in the the terminal just fine.

My system is OSX Maverick, Eclipse Standard/SDK Version: Kepler Service Release 1 Build id: 20130919-0819, Nodeclipse 0.8.0, jdk1.7.0_45.jdk

Not sure if this is a bug or a configuration error. I would like to know how to fix this.

screen shot 2013-12-07 at 12 17 08 pm

@paulvi
Copy link
Member

paulvi commented Dec 8, 2013

Have you tried to disable Find node on PATH option and use exact node location?
For this error it is clear, that system can't find some file, so if it is not your app script, it is node.

By the way, what Markdown Editor do you use?

@thenderson21
Copy link
Author

It works when I disable the Find node on PATH option and point to node locations. It isn't able to find node or nodemon in the path.

I normal use Coda as for most of my web development (php, js ...). I usually just use coda since I'm that is where I am at.

@paulvi
Copy link
Member

paulvi commented Dec 9, 2013

  1. Disable Find node on PATH,
  2. then select node location, e.g. C:\Program Files\nodejs\node.exe
    is the solution when node is not on your PATH

check Preferences carefully, experiment a bit.

Check http://www.nodeclipse.org/history on what's new and how to get Markdown Editor

@paulvi paulvi closed this as completed Dec 9, 2013
@paulvi paulvi reopened this Dec 9, 2013
@ghost ghost assigned paulvi Dec 9, 2013
paulvi added a commit to Enide/nodeclipse-1 that referenced this issue Dec 10, 2013
@paulvi paulvi closed this as completed Jan 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants