node-cue-sdk icon indicating copy to clipboard operation
node-cue-sdk copied to clipboard

Problems installing

Open rickschubert opened this issue 6 years ago • 0 comments

Hello,

First off thank you for having this wonderful idea of wrapping the SDK in node.js, this is much needed (after I have tried terribly fiddling with C++ for the past days).

Could you please help me though installing your tool? I currently get the following error output when running npm i cue-sdk-node:


> [email protected] install C:\Users\turm\Desktop\Learning_Coding\corsair_node_sdk_tryout\node_modules\ffi
> node-gyp rebuild


C:\Users\turm\Desktop\Learning_Coding\corsair_node_sdk_tryout\node_modules\ffi>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  Building assembly file ..\..\..\deps\libffi\src\x86\win64.asm
   Assembling: ..\..\..\deps\libffi\src\x86\win64.asm
  prep_cif.c
  types.c
  raw_api.c
  java_raw_api.c
  closures.c
  ffi.c
  win_delay_load_hook.cc
  ffi.vcxproj -> C:\Users\turm\Desktop\Learning_Coding\corsair_node_sdk_tryout\node_modules\ffi\build\Release\\libffi.l
  ib
  ffi.cc
  callback_info.cc
  threaded_callback_invokation.cc
  win32-dlfcn.cc
  win_delay_load_hook.cc
..\src\callback_info.cc(63): warning C4996: 'Nan::Callback::Call': was declared deprecated [C:\Users\turm\Desktop\Learn
ing_Coding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  C:\Users\turm\Desktop\Learning_Coding\corsair_node_sdk_tryout\node_modules\nan\nan.h(1740): note: see declaration of
  'Nan::Callback::Call'
..\src\callback_info.cc(73): warning C4996: 'Nan::Callback::Call': was declared deprecated [C:\Users\turm\Desktop\Learn
ing_Coding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  C:\Users\turm\Desktop\Learning_Coding\corsair_node_sdk_tryout\node_modules\nan\nan.h(1740): note: see declaration of
  'Nan::Callback::Call'
..\src\callback_info.cc(78): warning C4996: 'Nan::Callback::Call': was declared deprecated [C:\Users\turm\Desktop\Learn
ing_Coding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  C:\Users\turm\Desktop\Learning_Coding\corsair_node_sdk_tryout\node_modules\nan\nan.h(1740): note: see declaration of
  'Nan::Callback::Call'
..\src\callback_info.cc(112): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Lear
ning_Coding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\callback_info.cc(113): warning C4996: 'v8::Value::Int32Value': was declared deprecated [C:\Users\turm\Desktop\Le
arning_Coding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(2478): note: see declaration of 'v8::Value::Int32Value'
..\src\callback_info.cc(114): warning C4996: 'v8::Value::Int32Value': was declared deprecated [C:\Users\turm\Desktop\Le
arning_Coding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(2478): note: see declaration of 'v8::Value::Int32Value'
..\src\ffi.cc(101): error C2039: 'ForceSet': is not a member of 'v8::Object' [C:\Users\turm\Desktop\Learning_Coding\cor
sair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(3243): note: see declaration of 'v8::Object'
..\src\ffi.cc(104): error C2039: 'ForceSet': is not a member of 'v8::Object' [C:\Users\turm\Desktop\Learning_Coding\cor
sair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(3243): note: see declaration of 'v8::Object'
..\src\ffi.cc(113): error C2039: 'ForceSet': is not a member of 'v8::Object' [C:\Users\turm\Desktop\Learning_Coding\cor
sair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(3243): note: see declaration of 'v8::Object'
..\src\ffi.cc(114): error C2039: 'ForceSet': is not a member of 'v8::Object' [C:\Users\turm\Desktop\Learning_Coding\cor
sair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(3243): note: see declaration of 'v8::Object'
..\src\ffi.cc(115): error C2039: 'ForceSet': is not a member of 'v8::Object' [C:\Users\turm\Desktop\Learning_Coding\cor
sair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(3243): note: see declaration of 'v8::Object'
..\src\ffi.cc(116): error C2039: 'ForceSet': is not a member of 'v8::Object' [C:\Users\turm\Desktop\Learning_Coding\cor
sair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(3243): note: see declaration of 'v8::Object'
..\src\ffi.cc(122): error C2039: 'ForceSet': is not a member of 'v8::Object' [C:\Users\turm\Desktop\Learning_Coding\cor
sair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(3243): note: see declaration of 'v8::Object'
..\src\ffi.cc(48): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(49): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(50): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(53): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(54): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(55): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(68): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(78): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(81): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(84): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(87): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\turm\Desktop\Learning_Coding\corsa
ir_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\desktop\learning_coding\corsair_node_sdk_tryout\node_modules\nan\nan_maybe_43_inl.h(117): note: see dec
  laration of 'Nan::ForceSet'
..\src\ffi.cc(180): warning C4996: 'v8::Value::Uint32Value': was declared deprecated [C:\Users\turm\Desktop\Learning_Co
ding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(2477): note: see declaration of 'v8::Value::Uint32Value'
..\src\ffi.cc(181): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(182): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(183): warning C4996: 'v8::Value::Uint32Value': was declared deprecated [C:\Users\turm\Desktop\Learning_Co
ding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(2477): note: see declaration of 'v8::Value::Uint32Value'
..\src\ffi.cc(224): warning C4996: 'v8::Value::Uint32Value': was declared deprecated [C:\Users\turm\Desktop\Learning_Co
ding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(2477): note: see declaration of 'v8::Value::Uint32Value'
..\src\ffi.cc(225): warning C4996: 'v8::Value::Uint32Value': was declared deprecated [C:\Users\turm\Desktop\Learning_Co
ding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(2477): note: see declaration of 'v8::Value::Uint32Value'
..\src\ffi.cc(226): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(227): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(228): warning C4996: 'v8::Value::Uint32Value': was declared deprecated [C:\Users\turm\Desktop\Learning_Co
ding\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(2477): note: see declaration of 'v8::Value::Uint32Value'
..\src\ffi.cc(255): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(256): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(257): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(258): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(297): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(298): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(299): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(300): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  c:\users\turm\.node-gyp\10.15.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\ffi.cc(358): warning C4996: 'Nan::Callback::Call': was declared deprecated [C:\Users\turm\Desktop\Learning_Codin
g\corsair_node_sdk_tryout\node_modules\ffi\build\ffi_bindings.vcxproj]
  C:\Users\turm\Desktop\Learning_Coding\corsair_node_sdk_tryout\node_modules\nan\nan.h(1740): note: see declaration of
  'Nan::Callback::Call'
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:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\turm\Desktop\Learning_Coding\corsair_node_sdk_tryout\node_modules\ffi
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

node version v10.15.0 node-gyp version v3.7.0 OS: Windows 10

rickschubert avatar Oct 09 '19 21:10 rickschubert