I am brand new, have recently learned HTML
and CSS
. After starting JavaScript
i tried to run this and check it in console
log.
// variables
// numeric
var x = 1
x = 24
console.log(x)
I am using VSCode
and installed Code Runner
. I right clicked to run code and receive this error msg.
[Running] node "/Users/C/Desktop/Project 02/src/index.js"
/bin/sh: node: command not found
[Done] exited with code=127 in 0.021 seconds
Not sure what to do and I basically started trying to learn Javascript
today.
I am using a MacOS
- Catalina if that helps.
Thank you for any input and I apologize if this has been asked before, since I just joined Stackoverflow today.
Edit: Thank you for all the help. I needed to download Node.js that fixed the issue.