Overrides the location where node-gyp will look for (and download to)
the node.js SDK.
For harmonization with the --nodedir flag, `osenv.home()` is now used
instead of `process.env.HOME || process.env.USERPROFILE`.
`osenv.home()` defaults to the built-in `os.homedir()` when available
and falls back to sane defaults based on the platform.
`%USERPROFILE%` is now preferred on Windows and `%HOME%` is ignored;
similarly, UNIX systems ignore `$USERPROFILE` from now on. Neither
behavior made much sense, IMO.
Fixes: https://github.com/nodejs/node-gyp/issues/21
PR-URL: https://github.com/nodejs/node-gyp/pull/916
Reviewed-By: Rod Vagg <rod@vagg.org>
* Point to the latest release of the VC++ Build Tools.
* Simplify and consolidate install instructions for all Windows versions.
PR-URL: https://github.com/nodejs/node-gyp/pull/867
Fixes: https://github.com/nodejs/node-gyp/issues/629
Reviewed-By: orangemocha - Alexis Campailla <orangemocha@nodejs.org>
Reviewed-By: thealphanerd - Myles Borins <myles.borins@gmail.com>
Remove non-version specific Windows Python link. Better to just direct
them to the 2.7 releases.
Fixes: https://github.com/nodejs/node-gyp/issues/769
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Squashed commit of the following:
commit 4b0d2187b86cca9d72ecb5fc1081ebe7a72ae23b
Author: Kevin Ford <kefo@3windmills.com>
Date: Tue Mar 4 18:20:20 2014 -0500
Added instructions for selecting specific python version with node-gyp *and* npm.
commit 0995da3a570324fe5fa3fff300a8892d949ec21f
Author: Kevin Ford <kefo@3windmills.com>
Date: Tue Mar 4 16:05:32 2014 -0500
Added note about setting npm's Python config key to appropriate Python version.
commit 0d74a8ec9f72c5f0f8f1d437c45b41d2d31d7d23
Author: Kevin Ford <kefo@3windmills.com>
Date: Tue Mar 4 16:01:31 2014 -0500
Added note about setting npm's Python config key to appropriate Python version.
commit 8c56de3824dcee5727a66186887fc12a3e3ae533
Author: Kevin Ford <kefo@3windmills.com>
Date: Tue Mar 4 15:56:20 2014 -0500
Added note about setting npm's Python config key to appropriate Python version.
commit 5fb6978b3d3c1ce478e2bf513b09a4a04dc8b28c
Author: Kevin Ford <kefo@3windmills.com>
Date: Tue Mar 4 15:55:19 2014 -0500
Added note about setting npm's Python config key to appropriate Python version.
Closes#413.
There is a known issue with the Windows SDK and Visual Studio. It seems that when both are installed users may be missing the 64 bit compilers which will make using node-gyp for 64 bit really frustrating. It took me quite a bit of googling to find the information about this issue, as it didn't come up when searching for the various error messages and such. I've added a note to the readme to make it easier for people to find the compiler update and get node-gyp working properly on 64 bit systems with this common issue. :D
see the kb article: http://support.microsoft.com/?kbid=2519277 for some details. I had Visual Studio 2010 and 2012 fully updated before getting the SDK, the article describes a different scenario which leads to the same problem.