if gyp error happened, try below steps to fix the problem.
- firstly make sure nvm-windows version, 1.1.0 is not supported to retrieve node version list which new version nvm-windows will get from node offical. So upgrade firstly and see work or not (from 1.1.0 to 1.16 for me)
1.1. install node-gyp
-
install windows-build-tools
npm install --global --production windows-build-tools -
set python path npm config set python C:/Users/_user_/.windows-build-tools/python27/python.exe
http://github.com - automatic! [GitHub