Closed vitaly-t closed 8 years ago
@brianc
I have found the problem. This library fails to build using Visual Studio 2015, but it builds successfully with Visual Studio 2013.
So I had to run the following command in order to make this library compile again:
npm config set msvs_version 2013 --global
This is, of course, a temporary solution, and the problem with VS2015 should be fixed.
I don't support windows myself - if someone wants to contribute a fix to get this building with VS2015 I'm happy to merge it in!
On Tue, Jul 19, 2016 at 1:09 PM, Vitaly Tomilov notifications@github.com wrote:
@brianc https://github.com/brianc
I have found the problem. This library fails to build using Visual Studio 2015, but it builds successfully with Visual Studio 2013.
So I has to run the following command in order to make this library compile again:
npm config set msvs_version 2013 --global
This is, of course, a temporary solution, and the problem with VS2015 should be fixed.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/brianc/node-libpq/issues/45#issuecomment-233717795, or mute the thread https://github.com/notifications/unsubscribe-auth/AADDoZ5nfpztmtUGuOXNT86PIVGF42vDks5qXRLXgaJpZM4JP5Kd .
@brianc just so, I am using VS2015 Community, which is free to use both on Windows and Linux: https://code.visualstudio.com/download
So if you decide to fix it, you can easily install it on Linux and set it as the default C++ compiler for Node.js ;)
(see the update below)
I don't know why, but I no longer can install this module. Presumably, something has changed on my Windows PC, but I cannot understand what.
Any help, please!
Complete output: