try 'npm install node-gyp' without '-g'