JavaScript Program Path Not Specified Error

MilkyBoii picture MilkyBoii · Jun 8, 2017 · Viewed 9.1k times · Source

I've been creating a JavaScript game for a project recently and have done it completely on the CodePen website. I now am trying to transfer it to WebStorm to turn it into a basic website. However when I try to run my code I get the following error:

enter image description here

I don't know how to fix it, I've looked everywhere and haven't been able to get some help. Any information would be appreciated.

Answer

Vlad Balanescu picture Vlad Balanescu · Jun 8, 2017

Simple one, basically the error says, I don't know how to interpret this bit of code that you just gave me. You're missing local install of Node.js and NPM. Get the latest versions of these 2, and then go to File -> Settings -> Language&Frameworks -> Node.js and NPM and in the Node interpreter text box, point it to the path of where node.js was installed.