Skip to content

Instantly share code, notes, and snippets.

@joelbrennan0
Last active May 7, 2017 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelbrennan0/553684eb057ea3ed14453ecc1cdbba1c to your computer and use it in GitHub Desktop.
Save joelbrennan0/553684eb057ea3ed14453ecc1cdbba1c to your computer and use it in GitHub Desktop.
node-gyp-error
open up a new cmd as administrator and run this command:
npm install --global --production windows-build-tools
then
npm config set msvs_version 2015 --global
close all instances of shell/cmd, reopen a cmd (regular this time, non-administrator) return to your directory where you are trying to run npm install and run it again
source: https://github.com/chjj/pty.js/issues/60
credit: mokanfar
@joelbrennan0
Copy link
Author

node-gyp build error when running npm install in windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment