Installed Node Version Manager (NVM) for Windows: https://github.com/coreybutler/nvm-windows
I'm using Windows 10 - 64 bit so I run... Commands:
nvm arch 64
(to make default the 64 bit executable)nvm list
(to list all available node versions)nvm install 8.0.0
(to download node version 8.0.0 - you can pick any)nvm use 8.0.0
(to use that specific version)In my case I had to just switch to version 8.5.0 and then switch back again to 8.0.0 and it was fixed. Apparently NVM sets the PATH variables whenever you do that switch.