I know it's a very old question, but is the first in my google search and after some time I got how to solve this.

find node on your windows with
$ npm install -g which$ which node
after cd into the directory, inside the directory cd into node_modules\npm folder and finally:
$ npm install node-gyp@latest
here worked, the answer is from this site