Skip to content

Debug as NPM says "execvp(): No such file or directory" #153

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
levelibeeka opened this issue Apr 20, 2014 · 3 comments
Closed

Debug as NPM says "execvp(): No such file or directory" #153

levelibeeka opened this issue Apr 20, 2014 · 3 comments

Comments

@levelibeeka
Copy link

I right-click package.json file in my project and choose "Debug as"-> "NPM ..." in the menu. Then type "start" to the "Goal" text box.
After that, I can see this error message in the Console:
"execvp(): No such file or directory"
However it writes nothing else about the problem. When I run "npm start" from command line, it works fine.

If it matters, my system is Mac OS X 10.9

@paulvi
Copy link
Member

paulvi commented Apr 21, 2014

There are more things to be shown, see http://www.nodeclipse.org/#support for what to include

@paulvi paulvi added the node.js label Apr 21, 2014
@cm325
Copy link

cm325 commented May 9, 2014

same problem here, i want to run some scripts targets from the package.json file. here is all the information you requested:

Nodeclipse version number - 0.15.1.201404300203
Eclipse version number - kepler 4.3.2
Eclipse distribution (e.g. Eclipse for JEE Developers) - SpringSourceTool Suite
Description of problem is above, and there are no logs or errors generated when running npm with target from package.json.
Here's my original post on SO too - http://stackoverflow.com/questions/23550793/nodeclipse-cant-run-package-json-script-targets

@paulvi
Copy link
Member

paulvi commented May 12, 2014

OK so it is debugging when using npm launch.

I really never used that way. Not sure if I have time to look before next release this month.

the work would be making
nodeclipse-1\org.nodeclipse.ui\src\org\nodeclipse\ui\npm\LaunchConfigurationDelegate.java

like nodeclipse-1\org.nodeclipse.debug\src\org\nodeclipse\debug\launch\LaunchConfigurationDelegate.java

or just remove Debug type for this launch, as it is not really implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants