node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

Update install documentation for Windows users

Open medikoo opened this issue 11 years ago • 4 comments

It looks that existing documentation doesn't work well for Windows 8.1 users.

  1. Windows 8.1 SDK needs to be installed and not Windows 7 SDK as documentation suggests. https://github.com/ErikDubbelboer/node-sleep/issues/18#issuecomment-76309396
  2. VS 2013 Community should be installed instead of suggested VS 2013 Express https://github.com/bnoordhuis/node-iconv/issues/110#issuecomment-84412002

medikoo avatar Jun 11 '15 08:06 medikoo

Additional things I needed on my side

  • Set VCTargtsPath with
set VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120
  • Run npm rebuild (or install) always withinin VS2012 x86 Native Tools Command Prompt, and with --msvs_version=2013 argument

medikoo avatar Jun 11 '15 10:06 medikoo

Windows 10 User: Very Useful. Had to sift through blog after blog to find this info and after upgrading to Node v5 it broke again. Also attempted to update to the full Windows 10 SDK, no luck. Windows Standalone SDK for Windows 10

DonRichards avatar Nov 05 '15 16:11 DonRichards

This should be resolved once https://github.com/nodejs/node-gyp/pull/867 is finalized and merged. Additional details from my struggle captured with https://github.com/nodejs/node-gyp/issues/679#issuecomment-211117703

bsclifton avatar Apr 17 '16 21:04 bsclifton

Real solution for Windows 10 ! https://github.com/nodejs/node-gyp/issues/702#issuecomment-468214903

divgit avatar Feb 28 '19 10:02 divgit