I\'ve got a clean install of Windows with Visual Studio 2013 Pro installed, along with current versions of Python, node and npm.
I\'m trying to install the pg
What helped me is to specify environment variable GYP_MSVS_VERSION to to use correct VS
you can set it in Control center or in console before running npm, so for 2013 it is
set GYP_MSVS_VERSION=2013
and for 2015 you use
set GYP_MSVS_VERSION=2015
With free VS 2013 or 2015 community edition it should be the easiest way.
PS
I believe for VS 2013 Express you should use
set GYP_MSVS_VERSION=2013e
where e tells npm to use express version