nw-gyp: Cannot compile sqlite3 on Windows against latest nwjs (0.39+)

Original issue: https://github.com/mapbox/node-sqlite3/issues/1179

All works on 0.38.x and older.

node-sqlite: https://www.npmjs.com/package/sqlite3

Apps:

$ node -v
v12.7.0

$ npm -v
6.10.0

$ npm -g list nw-gyp node-pre-gyp
C:\Users\user_xyz\AppData\Roaming\npm
+-- node-pre-gyp@0.13.0
+-- nw-gyp@3.6.3
Log:
+ npm install sqlite3@4.0.9 --build-from-source --runtime=node-webkit --target_arch=ia32 --target=0.40.0

> sqlite3@4.0.9 install C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  unpack_sqlite_dep
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj]
  sqlite3.c
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj]
  win_delay_load_hook.cc
  sqlite3.vcxproj -> C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\\sqlite3.lib
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  backup.cc
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  database.cc
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  node_sqlite3.cc
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  statement.cc
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  win_delay_load_hook.cc
..\src\database.cc(49): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(63): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(92): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(96): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(133): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\database.cc(134): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\database.cc(190): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(194): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(199): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(105): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(119): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(273): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(277): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(282): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(167): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\database.cc(297): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'

..\src\backup.cc(168): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\backup.cc(169): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\database.cc(314): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]

  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(170): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\backup.cc(236): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\statement.cc(103): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\statement.cc(161): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(301): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(336): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\database.cc(421): warning C4996: 'Nan::MakeCallback': was declared deprecatedC:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]

  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(347): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(412): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(416): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(483): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(462): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\node_sqlite3.cc(23): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(24): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\statement.cc(556): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]

  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(25): warning C4996: 'Nan::ForceSet': was declared deprecated

..\src\statement.cc(564): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]

  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(26): warning C4996: 'Nan::ForceSet': was declared deprecated

  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(507): warning C4996: 'Nan::MakeCallback': was declared deprecated

..\src\node_sqlite3.cc(27): warning C4996: 'Nan::ForceSet': was declared deprecatedC:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]

  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\statement.cc(680): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\node_sqlite3.cc(28): warning C4996: 'Nan::ForceSet': was declared deprecatedC:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]

  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\statement.cc(694): warning C4996: 'Nan::MakeCallback': was declared deprecated

  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(29): warning C4996: 'Nan::ForceSet': was declared deprecated..\src\database.cc(564): warning C4996: 'Nan::MakeCallback': was declared deprecated


  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(30): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(32): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\statement.cc(743): warning C4996: 'Nan::MakeCallback': was declared deprecated

  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(568): warning C4996: 'Nan::MakeCallback': was declared deprecated

  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(34): warning C4996: 'Nan::ForceSet': was declared deprecated

  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'

..\src\database.cc(573): warning C4996: 'Nan::MakeCallback': was declared deprecated..\src\node_sqlite3.cc(36): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(37): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(38): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(39): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(40): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(41): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(42): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(43): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]

..\src\statement.cc(837): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]

  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\node_sqlite3.cc(44): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(45): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(46): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(603): warning C4996: 'Nan::MakeCallback': was declared deprecated

..\src\node_sqlite3.cc(47): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'

..\src\node_sqlite3.cc(48): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(49): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\statement.cc(873): warning C4996: 'Nan::MakeCallback': was declared deprecated

..\src\node_sqlite3.cc(50): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\node_sqlite3.cc(51): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\statement.cc(887): warning C4996: 'Nan::MakeCallback': was declared deprecated

..\src\node_sqlite3.cc(52): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(53): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(54): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\database.cc(666): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\node_sqlite3.cc(55): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(670): warning C4996: 'Nan::MakeCallback': was declared deprecated

..\src\node_sqlite3.cc(56): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'

..\src\node_sqlite3.cc(57): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\database.cc(675): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]

..\src\node_sqlite3.cc(58): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(59): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(60): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(61): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(62): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\backup.cc(78): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
  ..\src\backup.cc(228): note: see reference to function template instantiation 'void node_sqlite3::Backup::Error<node_sqlite3::Backup::InitializeBaton>(T *)' being compiled
          with
          [
              T=node_sqlite3::Backup::InitializeBaton
          ]
..\src\backup.cc(82): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(74): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
  ..\src\statement.cc(153): note: see reference to function template instantiation 'void node_sqlite3::Statement::Error<node_sqlite3::Statement::PrepareBaton>(T *)' being compiled
          with
          [
              T=node_sqlite3::Statement::PrepareBaton
          ]
..\src\statement.cc(78): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
     Creating library C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\node_sqlite3.lib and object C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\node_sqlite3.exp
backup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) referenced in function __unwindfunclet$?Get@Nan@@YA?AV?$MaybeLocal@VValue@v8@@@v8@@V?$Local@VObject@v8@@@3@I@Z$0 [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
database.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
node_sqlite3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
statement.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\node_sqlite3.node : fatal error LNK1120: 1 unresolved externals [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\user_xyz\AppData\Roaming\npm\node_modules\nw-gyp\lib\build.js:261:23)
gyp ERR! stack     at ChildProcess.emit (events.js:203:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user_xyz\\AppData\\Roaming\\npm\\node_modules\\nw-gyp\\bin\\nw-gyp.js" "build" "--fallback-to-build" "--module=C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\sqlite3\\lib\\binding\\node-webkit-v0.40.0-win32-ia32\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\sqlite3\\lib\\binding\\node-webkit-v0.40.0-win32-ia32" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-webkit-v0.40.0"
gyp ERR! cwd C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3
gyp ERR! node -v v12.7.0
gyp ERR! nw-gyp -v v3.6.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp.cmd build --fallback-to-build --module=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.0' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:203:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
node-pre-gyp ERR! System Windows_NT 10.0.18362
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3
node-pre-gyp ERR! node -v v12.7.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute 'nw-gyp.cmd build --fallback-to-build --module=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.0' (1)
npm WARN _build-workspace@1.0.0 No description
npm WARN _build-workspace@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@4.0.9 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@4.0.9 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\user_xyz\AppData\Roaming\npm-cache\_logs\2019-08-01T09_30_15_511Z-debug.log

@rogerwang

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Reactions: 1
  • Comments: 23 (5 by maintainers)

Most upvoted comments

I ran into a similar issue building node-hid. After tearing my hair out for hours focusing on Node-hid, and nwjs I was able to resolve the issue by updating my nw-gyp from 3.6.3 to 3.6.5. Teaches me to let my global packages go stale.

@rogerwang

Yes, build is successfully, but after use sqlite in nwjs, crash it.

Btw:

# 1)
npm i -g nw-gyp node-pre-gyp &&
npm i -g --production --vs2015 windows-build-tools &&
git clone https://github.com/mapbox/node-sqlite3.git &&
cd node-sqlite3
# now you must modify: https://github.com/rogerwang/node-sqlite3-nwtest/commit/de4f51bd95d6a5be068b2da9b24a4a0976a01399#diff-21e418851ae48f9b11907837add9e39a
nw-gyp configure --arch=ia32 --target=0.41.2 &&
nw-gyp build --arch=ia32 --target=0.41.2

same like:

# 2)
npm i -g nw-gyp node-pre-gyp &&
npm i -g --production --vs2015 windows-build-tools &&
mkdir _test_sqlite3 && cd _test_sqlite3 &&
npm i sqlite3 --build-from-source --runtime=node-webkit --target_arch=ia32 --target=0.41.2
# https://github.com/mapbox/node-sqlite3#building-for-node-webkit

Demo in attachment: demo.zip Need include NWjs + sqlite3 build for ia32

Hello,

There are other npm modules with compilation errors: ref, ffi, serialport

I don’t know if these errors are related to this issue.

I’m trying to build with following configuration: SO: Windows 7 x64 nwjs --> 0.41.2 node --> v12.5.0 npm --> 6.9.2 node-pre-gyp --> 0.13.0 nw-gyp --> 3.6.5

Any clue where i can investigate. Thanks

Logs (npm install ref):

ref@1.3.5 install C:\Users\user\Documents\node_modules\ref node-gyp rebuild

C:\Users\user\Documents\node_modules\ref>if not defined npm_config_node_gyp (node “C:\Users\user\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\…..\node_modules\node-gyp\bin\node-gyp.js” rebuild ) else (node “C:\Users\user\AppData\Roaming\npm\node_modules\nw-gyp\bin\nw-gyp.js” rebuild ) Los proyectos de esta soluci¢n se van a compilar de uno en uno. Para habilitar la compilaci¢n en paralelo, agregue el modificador “/m”. clang-cl : warning : argument unused during compilation: ‘/MP’ [-Wunused-command-line-argument] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] clang-cl : warning : argument unused during compilation: ‘/Gm-’ [-Wunused-command-line-argument] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] …\src\binding.cc(222,30): warning : ‘BooleanValue’ is deprecated: Use maybe version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] bool persistent = info[3]->BooleanValue(); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2572,3): note: ‘BooleanValue’ has been explicitly marked deprecated here V8_DEPRECATED(“Use maybe version”, bool BooleanValue() const); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ …\src\binding.cc(253,26): warning : ‘Uint32Value’ is deprecated: Use maybe version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] size_t size = info[2]->Uint32Value(); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2575,3): note: ‘Uint32Value’ has been explicitly marked deprecated here V8_DEPRECATED(“Use maybe version”, uint32_t Uint32Value() const); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ …\src\binding.cc(360,23): warning : ‘Utf8Value’ is deprecated: Use Isolate version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] String::Utf8Value _str(in); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2995,5): note: ‘Utf8Value’ has been explicitly marked deprecated here V8_DEPRECATED(“Use Isolate version”, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ …\src\binding.cc(447,23): warning : ‘Utf8Value’ is deprecated: Use Isolate version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] String::Utf8Value _str(in); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2995,5): note: ‘Utf8Value’ has been explicitly marked deprecated here V8_DEPRECATED(“Use Isolate version”, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ …\src\binding.cc(521,26): warning : ‘Uint32Value’ is deprecated: Use maybe version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] size_t size = info[1]->Uint32Value(); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2575,3): note: ‘Uint32Value’ has been explicitly marked deprecated here V8_DEPRECATED(“Use maybe version”, uint32_t Uint32Value() const); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ …\src\binding.cc(550,32): warning : ‘Uint32Value’ is deprecated: Use maybe version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] uint32_t numZeros = info[1]->Uint32Value(); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2575,3): note: ‘Uint32Value’ has been explicitly marked deprecated here V8_DEPRECATED(“Use maybe version”, uint32_t Uint32Value() const); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ …\src\binding.cc(582,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(int8, int8_t); ^~~~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(583,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(uint8, uint8_t); ^~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(584,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(int16, int16_t); ^~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(585,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(uint16, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(586,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(int32, int32_t); ^~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(587,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(uint32, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(588,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(int64, int64_t); ^~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(589,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(uint64, uint64_t); ^~~~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(590,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(float, float); ^~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(591,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(double, double); ^~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(593,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(bool, bool); ^~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(594,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(byte, unsigned char); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(595,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(char, char); ^~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(596,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(uchar, unsigned char); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(597,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(short, short); ^~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(598,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(ushort, unsigned short); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(599,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(int, int); ^~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(600,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(uint, unsigned int); ^~~~~~~~~~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\binding.cc(601,3): error : no matching member function for call to ‘Set’ [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] SET_SIZEOF(long, long); ^~~~~~~~~~~~~~~~~~ …\src\binding.cc(581,9): note: expanded from macro ‘SET_SIZEOF’ smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type)))); ~~~~^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ CL : fatal error : too many errors emitted, stopping now [-ferror-limit=] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj] 6 warnings and 20 errors generated.

Logs (npm install serialport):

@serialport/bindings@2.0.8 install C:\Users\c82209\Documents\node_modules@serialport\bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

C:\Users\c82209\Documents\node_modules@serialport\bindings>if not defined npm_config_node_gyp (node “C:\Users\c82209\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\…..\node_modules\node-gyp\bin\node-gyp.js” rebuild ) else (node “C:\Users\c82209\AppData\Roaming\npm\node_modules\nw-gyp\bin\nw-gyp.js” rebuild ) Los proyectos de esta soluci¢n se van a compilar de uno en uno. Para habilitar la compilaci¢n en paralelo, agregue el modificador “/m”. clang-cl : warning : argument unused during compilation: ‘/MP’ [-Wunused-command-line-argument] [C:\Users\c82209\Documents\node_modules@serialport\bindings\build\bindings.vcxproj] clang-cl : warning : argument unused during compilation: ‘/Gm-’ [-Wunused-command-line-argument] [C:\Users\c82209\Documents\node_modules@serialport\bindings\build\bindings.vcxproj] …\src\serialport.cpp(329,14): error : no matching member function for call to ‘Set’ [C:\Users\c82209\Documents\node_modules@serialport\bindings\build\bindings.vcxproj] results->Set(Nan::Newv8::String(“cts”).ToLocalChecked(), Nan::Newv8::Boolean(data->cts)); ~~~~~~~^ C:\Users\c82209.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\c82209.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\serialport.cpp(330,14): error : no matching member function for call to ‘Set’ [C:\Users\c82209\Documents\node_modules@serialport\bindings\build\bindings.vcxproj] results->Set(Nan::Newv8::String(“dsr”).ToLocalChecked(), Nan::Newv8::Boolean(data->dsr)); ~~~~~~~^ C:\Users\c82209.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\c82209.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\serialport.cpp(331,14): error : no matching member function for call to ‘Set’ [C:\Users\c82209\Documents\node_modules@serialport\bindings\build\bindings.vcxproj] results->Set(Nan::Newv8::String(“dcd”).ToLocalChecked(), Nan::Newv8::Boolean(data->dcd)); ~~~~~~~^ C:\Users\c82209.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\c82209.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ …\src\serialport.cpp(378,14): error : no matching member function for call to ‘Set’ [C:\Users\c82209\Documents\node_modules@serialport\bindings\build\bindings.vcxproj] results->Set(Nan::Newv8::String(“baudRate”).ToLocalChecked(), Nan::Newv8::Integer(data->baudRate)); ~~~~~~~^ C:\Users\c82209.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ C:\Users\c82209.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ 4 errors generated.