Search code examples
node.jswebstorm

WebStorm stuck on /usr/local/bin/node after update


I did an update of WebStorm this morning. Since the update, my project will no longer run properly. It gets stuck on /usr/local/bin/node, nothing else gets executed. Does anyone else have this issue?

More specifically, I am talking about the green 'run node app.js' arrow button on the top right. I have set the run configuration to always do node app.js but that button is not working anymore. If I go into terminal and manually type in node app.js, the project will run.

Screenshot of run configuration:

enter image description here


Solution

  • Since it's complaining about the working directory, I'd look at fixing that. But you also need to specify the file you want to run in the JavaScript file: input