0

I have strange problem with node.js app. I can start it with grunt task, typing

grunt

in terminal, from project folder. But when I try to start application from webstorm, I have an error

Running "nodemon:dev" (nodemon) task Fatal error: Error: not found: node Warning: Used --force, continuing.

Running "watch" task Waiting...

Webstorm configurations.

  1. Node interpreter: {path to node}
  2. Working directory: {path to project}
  3. JavaScript file: {path to grunt}
3
  • 1
    Looks like node is not found in your PATH. What OS are you on? How do you run your application from WebStorm? Commented Dec 23, 2013 at 14:24
  • Yes I find problem, and added PATH in environment variables in WebStorm, but still have problem with debugging app which I start with grunt, I mean program doesn't see my breakpoints, works only when I start with "node server.js", I'll be happy if I can find any solution not debugging app started with grunt, only nodemon will be ok... OS - ubuntu 12.04. WebStorm version 7.0. Commented Dec 24, 2013 at 8:07
  • see WEB-9126 - does it look similar? Commented Dec 24, 2013 at 12:03

1 Answer 1

1

I've had the exact same problem and just now updating to the latest version of Webstorm has solved the problem for me. You said you're on version 7.0 so see if the upgrade helps you as well.

Have a look here for some more discussion.

I also had to make sure to set the remote paths in the JavaScript debug to avoid having extra windows pop up.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.