Error running 'test.js': Program path not specified

Hi,;

I am learning javascript for the first time and I'm using Webstorm. I have entered a very simple script:

5+5

Hoping to get out 10 ; however I get the following error instead:

Error running 'test.js': Program path not specified


Looking for solution from similar problems online I checked my settings, but I am not sure how to configure this either if it needs configuring - I expected everything to be already packaged up for me to just run a simple script.

2 comments

Do you have Node.js interpreter installed? If yes, please try specifying a full path to it in Settings | Languages & Frameworks | Node.js and NPM, Node interpreter

 

see https://www.jetbrains.com/help/webstorm/2018.1/developing-node-js-applications.html

0

this screenshot just shows that you have Node.js plugin enabled. Node.js interpreter doesn't come bundled with webstorm, you have to download it from https://nodejs.org/en/#download

0

Please sign in to leave a comment.