Skip to content

Instantly share code, notes, and snippets.

@saiki-k
Last active February 5, 2020 14:34
Show Gist options
  • Save saiki-k/26c34fadf6344277410fb875c75de515 to your computer and use it in GitHub Desktop.
Save saiki-k/26c34fadf6344277410fb875c75de515 to your computer and use it in GitHub Desktop.
Configuring Windows (32-bit) for node-gyp
  • Install the 32-bit version of Node
  • Install Python 2.7
  • Install Microsoft Visual Studio 2015 Community
  • Install Windows 8.1 SDK
  • Open the command prompt as Administrator, run the following commands, then close the command prompt (a new prompt is required before the new environment variables will be available)
    • setx PYTHON C:\Python27\python.exe /m
      • (May need to change path to your custom install directory.)
  • Open a new command prompt and run the following command; if it runs without any errors the configuration for node-gyp builds is succesful.
    • npm install -g node-gyp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment