Error when running Script for JS


#1

I am a newbie to coding, recently started learning HTML CSS and Javascript.

I installed Script in Atom to run Javascript code, but am getting an error when I run the code:

bash: node: command not found
env: node: No such file or directory

Any suggestions on how to fix this?

Thanks!


#2

Looks like you need to install NodeJS on your machine:

https://nodejs.org/en/


#3

That did the trick! Thanks you