Skip to content

Instantly share code, notes, and snippets.

@Raymans
Last active July 10, 2018 06:49
Show Gist options
  • Select an option

  • Save Raymans/b8ac14fa942dd6d9dcebc63ea92081ed to your computer and use it in GitHub Desktop.

Select an option

Save Raymans/b8ac14fa942dd6d9dcebc63ea92081ed to your computer and use it in GitHub Desktop.
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. https://nodejs.org/en/download/releases/
So upgrade firstly and see work or not (from 1.1.0 to 1.16 for me)
install node-gyp [https://github.com/nodejs/node-gyp#installation]
install ```npm install --global --production windows-build-tools```
set python path
npm config set python C:/Users/[user]/.windows-build-tools/python27/python.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment