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 ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…