Good morning, beginner here.
Im reading a book where the author tells me to run a command from the command line to execute a program made in js, source:https://eloquentjavascript.net/20_node.html#h_TUzbi7lU/0
I've downloaded the lastest recommended version of nodejs (12.13.0 LTS), made the js file the book tells me to run (I made it in visualstudio because renaming a .txt file with the code to .js didn't do the job) and copy pasted it in the folder where the nodejs folder is, ran the command (ran several others that i thought would work as well) and i get this error:
This other thread had a similar problem with a solution, while it might solve the problem of running the program, it doesn't run it in the way the author of the book im reading tells me to, How to run a hello.js file in Node.js on windows?