It doesn't like the fact that "Program Files" has a space in it. Using nvm to install nodejs, puts nodejs in C:\Program Files. Then if you do 'npm install -g go' it installs OK. When you run it from the command line, it finds the go wrapper executable in C:\Program Files\nodejs, but then you get an error that it can't run 'C:\Program'.
It doesn't like the fact that "Program Files" has a space in it. Using nvm to install nodejs, puts nodejs in C:\Program Files. Then if you do 'npm install -g go' it installs OK. When you run it from the command line, it finds the go wrapper executable in C:\Program Files\nodejs, but then you get an error that it can't run 'C:\Program'.