question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unsupport for node 12.x

See original GitHub issue

I updated my node to 12.0.0, then it did not work, the full output of npm i is belows.

D:\code\ynu\wexond>npm i

> ref@1.3.5 install D:\code\ynu\wexond\node_modules\ffi\node_modules\ref
> node-gyp rebuild


D:\code\ynu\wexond\node_modules\ffi\node_modules\ref>if not defined npm_config_node_gyp (node "C:\Users\Liu.D.H\AppData\Roaming\nvm\v12.0.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\Liu.D.H\AppData\Roaming\nvm\v12.0.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
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:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(222): error C2661: 'v8::Value::BooleanValue': no overloaded function takes 0 arguments [D:\code\ynu\wexond\node_modules\
ffi\node_modules\ref\build\binding.vcxproj]
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(253): error C2660: 'v8::Value::Uint32Value': function does not take 0 arguments [D:\code\ynu\wexond\node_modules\ffi\nod
e_modules\ref\build\binding.vcxproj]
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(360): error C2664: 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8
::Local<v8::Value>' to 'const v8::String::Utf8Value &' [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\build\binding.vcxproj]
  d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(360): note: Reason: cannot convert from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
  d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(360): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be
  called
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(447): error C2664: 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8
::Local<v8::Value>' to 'const v8::String::Utf8Value &' [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\build\binding.vcxproj]
  d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(447): note: Reason: cannot convert from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
  d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(447): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be
  called
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(521): error C2660: 'v8::Value::Uint32Value': function does not take 0 arguments [D:\code\ynu\wexond\node_modules\ffi\nod
e_modules\ref\build\binding.vcxproj]
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(550): error C2660: 'v8::Value::Uint32Value': function does not take 0 arguments [D:\code\ynu\wexond\node_modules\ffi\nod
e_modules\ref\build\binding.vcxproj]
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(582): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(583): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(584): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(585): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(586): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(587): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(588): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(589): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(590): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(591): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(593): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(594): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(595): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(596): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(597): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(598): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(599): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(600): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(601): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(602): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(603): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(604): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(605): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(606): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(608): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(615): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(616): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(617): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(618): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(619): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(620): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(621): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(622): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(623): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(624): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(625): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(626): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(627): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(628): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(629): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(630): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(631): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(632): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(633): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(634): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(635): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(636): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(637): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(638): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(641): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(642): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\bu
ild\binding.vcxproj]
  c:\users\liu.d.h\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(643): warning C4996: 'Nan::ForceSet': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\buil
d\binding.vcxproj]
  d:\code\ynu\wexond\node_modules\nan\nan_maybe_43_inl.h(130): note: see declaration of 'Nan::ForceSet'
d:\code\ynu\wexond\node_modules\ffi\node_modules\ref\src\binding.cc(644): warning C4996: 'Nan::ForceSet': was declared deprecated [D:\code\ynu\wexond\node_modules\ffi\node_modules\ref\buil
d\binding.vcxproj]
  d:\code\ynu\wexond\node_modules\nan\nan_maybe_43_inl.h(130): note: see declaration of 'Nan::ForceSet'
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Liu.D.H\AppData\Roaming\nvm\v12.0.0\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:196:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:256:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Liu.D.H\\AppData\\Roaming\\nvm\\v12.0.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\code\ynu\wexond\node_modules\ffi\node_modules\ref
gyp ERR! node -v v12.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN wexond@2.0.0 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.8 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ref@1.3.5 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ref@1.3.5 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\Liu.D.H\AppData\Roaming\npm-cache\_logs\2019-04-29T01_40_31_724Z-debug.log

D:\code\ynu\wexond>

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:12
  • Comments:9

github_iconTop GitHub Comments

15reactions
sanchezpablocommented, May 3, 2019

This happened to me using electron 5.0, which has Node 12… any progress on this? Thanks!

14reactions
ranihorevcommented, Nov 6, 2019

There is a fork that supports Node 12: https://github.com/lxe/node-ffi/tree/node-12

We also published it to npm: https://www.npmjs.com/package/@saleae/ffi

Read more comments on GitHub >

github_iconTop Results From Across the Web

Announcing the end of support for Node.js 12.x in the AWS ...
Starting November 1, 2022, AWS SDK For JavaScript (v3) will no longer support Node. js 12. x which was EOL on April 30,...
Read more >
Install node 12 on macOS - Stack Overflow
This answer works, but it's unnecessary -- just use nvm instead of brew to install the old unsupported version. See github.com/nvm-sh/nvm for ...
Read more >
How to prevent npm install for unsupported Node.js versions
It is possible to prevent npm install for unsupported Node.js versions by specifying a couple of configuration properties. Let's see how.
Read more >
AWS Lambda Node.js v4.x is unsupported - Deep Security
Unsupported version of Node.js in AWS Lambda of Deep Security. Product/Version includes:View More. Update Date: 2018/08/12. Article Number: 000197879.
Read more >
Supported Node versions - Node-RED
< 10.x, Unsupported, Node-RED 1.x or earlier only. 12.x, Supported, Node-RED 2.x or earlier only. 14.x, Supported. 16.x, Recommended. 18.x, Supported ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found