Tabcorp / pgbouncer

Node wrapper for pgbouncer
0 stars 3 forks source link

Errors installing on windows #4

Open ADumaine opened 7 years ago

ADumaine commented 7 years ago

I get many build errors when installing on windows 10 running nodejs 6.9.4. The pg module has been installed and working fine for months. I am trying to switch to pgbouncer which I just installed and is running as a service.

Here are just a few of the initial errors:

C:\Data\myproject\node_modules\pgbouncer\node_modules\pg\node_modules\nan\nan.h(318): error C2039: 'New' : is not a member of 'v8::String' [C:\Data\myproject\node_modules\pgbouncer\node_modules\pg\build\binding.vcxproj]
          c:\users\allan\.node-gyp\6.9.4\include\node\v8.h(2110) : see declaration of 'v8::String'
C:\Data\myproject\node_modules\pgbouncer\node_modules\pg\node_modules\nan\nan.h(318): error C3861: 'New': identifier not found [C:\Data\myproject\node_modules\pgbouncer\node_modules\pg\build\binding.vcxproj]
C:\Data\myproject\node_modules\pgbouncer\node_modules\pg\node_modules\nan\nan.h(322): error C2039: 'ThrowException' : is not a member of 'v8' [C:\Data\myproject\node_modules\pgbouncer\node_modules\pg\build\binding.vcxproj]
C:\Data\myproject\node_modules\pgbouncer\node_modules\pg\node_modules\nan\nan.h(322): error C2039: 'New' : is not a member of 'v8::String' [C:\Data\myproject\node_modules\pgbouncer\node_modules\pg\build\binding.vcxproj]
          c:\users\allan\.node-gyp\6.9.4\include\node\v8.h(2110) : see declaration of 'v8::String'