Skip to content

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

Closed

Description

@levelibeeka

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

Activity

  1. paulvi commented on Apr 21, 2014

    @paulvi
    Member

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

  2. cm325 commented on May 9, 2014

    @cm325

    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

  3. paulvi commented on May 12, 2014

    @paulvi
    Member

    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.

  4. added a commit that references this issue on May 12, 2014
  5. added this to the 0.16 milestone on May 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions