I have installed the latest node.js from here . I see the %Path% variables have been set for Node.js. But, When i run node from C:\ , i get a "Node is not an recognized comman". But node command is working fine from "C:\Program Files (x86)\nodejs" path. Can i not run Node commands from C:\ or Say from an other path if i set the Env variables right? Please help. I am running a Win7 X64.
Thank You, Faraaz
I had the exact same problem, but in my PATH variable I had: C:\Program Files\nodejs\
.
After changing it to C:\Program Files\nodejs
I could access it from anywhere.
What happens if you run node --version
? I have never tried node.js from windows but if that doesn't work there is something wrong with your paths.
What do you get when you run echo %PATH%
?
You should check if the path C:\Program Files (x86)\nodejs
is present in your %PATH
. If not, add it via the system properties (persistent change). In any case, restart your command prompt, it'll reload the %PATH
variable. If you're lucky, it should work now :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With