Error 0x2 starting node.exe -v in Git bash for Windows
<p>I have installed Gitbash for windows version 2.7 and installed nodejs 5.5 on windows 7 64 bit machine.</p>

<p>when I try to run </p>

<pre><code> node -v
</code></pre>

<p>i get the the error msg</p>

<pre><code>Error 0x2 starting node.exe -v
</code></pre>

<p>I am not sure why is this happening, I uninstalled and re installed both node and git, restarted my system and checked my env variables. everything seems fine. 
My PATH env variable in 'User Environment variable' looks like this.</p>

<pre><code>C:\Users\&lt;userid&gt;\.dnx\bin;C:\Users\&lt;userid&gt;\AppData\Roaming\npm ;C:\Users\&lt;userid&gt;\AppData\Roaming\npm
</code></pre>

<p>Any idea why is this happening?</p>