error on running node.io via commandline on windows server 2008

73 Views Asked by At

Am getting the following error on running node.io via command line

enter image description here

1

There are 1 best solutions below

0
On

I had the same problem and tried a couple of things. It seems Windows 7 had a problem with the command file name itself (node.io.cmd). If you copy this command to something without the period (ie. nodeio.cmd), then I could successfully invoke the tool using "nodeio" instead of "node.io".

The file that would need to be changed was in my %APPDATA%\npm directory. My %APPDATA% environment variable was mapped to "C:\Users{my user name}\AppData\Roaming".