I am new to node.js. I have created a file named myFirst.js after installing node.js in Windows machine. The file looks like following :
console.log("Sweet .. Welcome to Node.js");
But when I try to navigate to that directory and execute the file it throws an error like the following :
Even a command like
is not working. What am I missing ? How would I execute my first node.js code block ?