title: How can I get $node index.js to run index.js in my command line?
body: <p>Im trying to get my index.js file to run in my command line using the following code.</p>
  <p><code>$node index.js</code></p>
  <p>In the command line I type in the following:</p>
  <p><code>$node index.js</code></p>
  <p>This is what is returned to me:</p>
  <p><code> </code></p>
  <p>As you can see there are no error messages, nothing.</p>
  <p>I tried searching on stack overflow for a solution, and I found two posts that are similar to my post.</p>
  <p>Here are those two posts:</p>
  <p><a href="https://stackoverflow.com/questions/51216276/running-node-index-js-does-nothing">Running node index.js does nothing</a></p>
  <p><a href="https://stackoverflow.com/questions/60748987/not-getting-any-node-index-js-response-in-terminal">Not getting any (node index.js) response in terminal</a></p>
  <p>However, the solutions presented are not applicable to my situation, since my code does not deal with creating and setting up a server. My code is only a hello world program.</p>
  <p>My code in the index.js file is the following:</p>
  <p><code>console.log(&quot;Hello, world&quot;);</code></p>
  <p>I know for a fact node.js is installed correctly, because on the command line, I enter the following code:</p>
  <p><code>node --version</code></p>
  <p>I am returned the following:</p>
  <p><code>v13.5.0</code></p>
  <p>I even tried updating to node v13.6.0, but I get the same outcome as stated above.</p>
  <p>My OS is windows 7</p>
  <p>Node v13.6.0 is the last update that supports Windows 7</p>