Skip to content

Instantly share code, notes, and snippets.

@teebot
Last active February 12, 2016 10:36
Show Gist options
  • Save teebot/1f68aa48559046689923 to your computer and use it in GitHub Desktop.
Save teebot/1f68aa48559046689923 to your computer and use it in GitHub Desktop.

Install node through https://github.com/coreybutler/nvm-windows

use latest node with nvm install latest

Install python 2.7

npm config set python python2.7

Install Visual Studio Community 2015 Edition. (Custom Install, Select Visual C++ during the installation)

Set the environment variable `GYP_MSVS_VERSION=2015´

Install Windows SDK 7.1 https://www.microsoft.com/en-us/download/details.aspx?id=8279 (if it fails uninstall any C++ redistribuable 2010)

If it complains about missing Microsoft.Cpp props files: set VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140

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