title: Microsoft JScript runtime error : Code : 800A1391 'console' is undefined while running node.js program
body: <p>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 :</p>
  
  <pre><code>console.log("Sweet .. Welcome to Node.js"); 
  </code></pre>
  
  <p>But when I try to navigate to that directory and execute the file it throws an error like the following :
  <a href="https://i.stack.imgur.com/i9jJb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/i9jJb.png" alt="enter image description here"></a></p>
  
  <p>Even a command like </p>
  
  <p><a href="https://i.stack.imgur.com/ISrQ8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ISrQ8.png" alt="enter image description here"></a></p>
  
  <p>is not working. What am I missing ? How would I execute my first node.js code block ?</p>