Here\'s what I\'ve done so far on my x64 OS:
For installing node-gyp in windows or any other OS
First you may have to download the node-gyp by
$ npm install -g node-gyp-install
Then install by
$ npm install -g node-gyp
you may need to do the above procedure as root/administrartor.