TritonDataCenter / node-workflow

Task orchestration, creation and running using NodeJS
MIT License
456 stars 66 forks source link

node gyp rebuild for pg@3.3.0 fails with Node 8.11.3 #165

Open toufiqkhazi opened 5 years ago

toufiqkhazi commented 5 years ago

I am trying to setup wf @node version 8.11.3. I have checked out the example available workflow-example

I am getting below error while running npm install,

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. binding.cc win_delay_load_hook.cc D:\SNA\workflow\node_modules\nan\nan.h(318): error C2039: 'New': is not a member of 'v8::String' (compiling source file ..\src\binding.cc) [D:\SNA\workflow\node_modules\pg\build\binding.vcxproj] c:\users\managelocal.node-gyp\8.11.3\include\node\v8.h(2453): note: see declaration of 'v8::String' (compiling sourc e file ..\src\binding.cc)

I have successfully installed windows build tools as per the documentation.

Please suggest how to resolve this.