Description: A blog by Forbes Lindesay about JavaScript development.
cs (624) modules (374) csharp (228) package management (10) semver (2)
I recently came upon the problem of installing native node.js modules on windows again. I just wanted to record the trick that I keep forgetting:
Add --msvs_version=2012 to the end of you install command and it will just magically work on modern operating systems with modern versions of visual studio.
It looks like the best way to make sure this setting persists so you don’t have to remember it every time is to set the Environment Variable GYP_MSVS_VERSION to the value 2012 (source: http://stackoverflow.com/a/25071620/272958 ).