0

I installed code runner and tried to run console.log("hello") but I keep getting the following error.

bash: node: command not found

I went into the settings and set up the JavaScript like this:

image

Still no luck

is there a file I need in my working directory?

kweber24
  • 1
  • 1
  • Does this answer your question? [Run JavaScript in Visual Studio Code](https://stackoverflow.com/questions/31778413/run-javascript-in-visual-studio-code) – marcelovca90 May 02 '20 at 05:09

1 Answers1

0

Installing nodeJS was required and problem solved. I didn't see it mentioned in the extension instructions.

kweber24
  • 1
  • 1