node js returning Syntax error: Unexpected identifier
<p>I downloaded and installed <code>node.js</code> on Windows and I'm following a simple tutorial from <a href="http://www.nodebeginner.org/#javascript-and-nodejs" rel="nofollow noreferrer">nodebeginner.org</a>. </p>

<p>I've created a file called <code>HelloWorld.js</code> which contains just:</p>

<pre><code>console.log("Hello World");
</code></pre>

<p>When I type <code>node HelloWorld.js</code> in the <code>node.js</code> console I get:</p>

<pre><code>SyntaxError: Unexpected identifier
</code></pre>

<p>I checked my classpath variable and it has the <code>C:\Program Files\nodejs\</code> on it.</p>

<p><code>HelloWorld.js</code> is still open in <code>Notepad++</code> for editing. </p>

<p>What am I doing wrong?</p>