Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Compile error #142

Closed
ghost opened this issue Oct 9, 2019 · 5 comments
Closed

[Linux] Compile error #142

ghost opened this issue Oct 9, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Oct 9, 2019

OS: Manjaro Linux
node: v12.9.1
npm: 6.11.2

LOGS:

[capgop@capgop-pc lib]$ npm install -S libui-node

> libui-node@0.2.1 install /home/capgop/Рабочий стол/lib/node_modules/libui-node
> libui-download && autogypi && npm run build

Downloaded zip: /home/capgop/.libui/libui-shared-linux-x64-alpha3.5-master-008.tar.gz
Libui binaries extracted to: /home/capgop/Рабочий стол/lib/node_modules/libui-node

> libui-node@0.2.1 build /home/capgop/Рабочий стол/lib/node_modules/libui-node
> node-gyp configure build

make: вход в каталог «/home/capgop/Рабочий стол/lib/node_modules/libui-node/build»
  COPY Release/obj.target/nbind/geni/symbols.txt
  CXX(target) Release/obj.target/nbind/../nbind/src/common.o
g++: ошибка: стол/lib/node_modules/libui-node/src/includes: Нет такого файла или каталога
g++: ошибка: стол/lib/node_modules/libui-node: Нет такого файла или каталога
make: *** [nbind.target.mk:230: Release/obj.target/nbind/../nbind/src/common.o] Ошибка 1
make: выход из каталога «/home/capgop/Рабочий стол/lib/node_modules/libui-node/build»
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:190:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.19.69-1-MANJARO
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/capgop/Рабочий стол/lib/node_modules/libui-node
gyp ERR! node -v v12.9.1
gyp ERR! node-gyp -v v5.0.2
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! libui-node@0.2.1 build: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the libui-node@0.2.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/capgop/.npm/_logs/2019-10-09T11_27_31_934Z-debug.log
npm WARN enoent ENOENT: no such file or directory, open '/home/capgop/Рабочий стол/lib/package.json'
npm WARN lib No description
npm WARN lib No repository field.
npm WARN lib No README data
npm WARN lib No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! libui-node@0.2.1 install: `libui-download && autogypi && npm run build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the libui-node@0.2.1 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!     /home/capgop/.npm/_logs/2019-10-09T11_27_33_269Z-debug.log

@bigbn
Copy link

bigbn commented Oct 9, 2019

You use 'Рабочий стол' folder. Try to move your project to directory without spaces and non-latin characters.

@ghost
Copy link
Author

ghost commented Oct 15, 2019

You use 'Рабочий стол' folder. Try to move your project to directory without spaces and non-latin characters.

Thank you! But ..

npm WARN deprecated core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.

> libui-node@0.2.1 install /run/media/capgop/32D5C2F635E88FF4/g/app/node_modules/libui-node
> libui-download && autogypi && npm run build

Downloaded zip: /root/.libui/libui-shared-linux-x64-alpha3.5-master-008.tar.gz
Libui binaries extracted to: /run/media/capgop/32D5C2F635E88FF4/g/app/node_modules/libui-node

> libui-node@0.2.1 build /run/media/capgop/32D5C2F635E88FF4/g/app/node_modules/libui-node
> node-gyp configure build

make: вход в каталог «/run/media/capgop/32D5C2F635E88FF4/g/app/node_modules/libui-node/build»
  COPY Release/obj.target/nbind/geni/symbols.txt
  CXX(target) Release/obj.target/nbind/../nbind/src/common.o
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nan/nan.h: В функции «void Nan::AsyncQueueWorker(Nan::AsyncWorker*)»:
../../nan/nan.h:2298:62: предупреждение: cast between incompatible function types from «void (*)(uv_work_t*)» {aka «void (*)(uv_work_s*)»} to «uv_after_work_cb» {aka «void (*)(uv_work_s*, int)»} [-Wcast-function-type]
 2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
      |                                                              ^
In file included from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindWrapper.h: В функции-члене «void nbind::BindWrapperBase::addInstance(v8::Local<v8::Object>)»:
../../nbind/include/nbind/v8/BindWrapper.h:139:24: предупреждение: «void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]» устарело: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
  139 |   ref->MarkIndependent();
      |                        ^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:567:22: замечание: объявлено здесь
  567 |       V8_INLINE void MarkIndependent());
      |                      ^~~~~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindWrapper.h: В статической функции-члене «static void nbind::BindWrapper<Bound>::wrapPtr(const Nan::FunctionCallbackInfo<v8::Value>&)»:
../../nbind/include/nbind/v8/BindWrapper.h:216:63: ошибка: no matching function for call to «v8::Value::Uint32Value()»
  216 |   auto flags = static_cast<TypeFlags>(nanArgs[1]->Uint32Value());
      |                                                               ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание: candidate: «v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const»
 2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
      |                                         ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindWrapper.h:217:19: ошибка: «Handle» не является элементом «v8»
  217 |   void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
      |                   ^~~~~~
../../nbind/include/nbind/v8/BindWrapper.h:217:38: ошибка: expected primary-expression before «>» token
  217 |   void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
      |                                      ^
../../nbind/include/nbind/v8/BindWrapper.h:217:41: ошибка: «::Cast» не был декларирован
  217 |   void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
      |                                         ^~~~
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static ArgType* nbind::BindingType<ArgType*>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:52:18: ошибка: no matching function for call to «v8::Value::ToObject()»
   52 |    arg->ToObject(),
      |                  ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание: candidate: «v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const»
 2545 |   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
      |                                            ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание: candidate: «v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const»
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<std::shared_ptr<_Tp> >::Type nbind::BindingType<std::shared_ptr<_Tp> >::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:96:18: ошибка: no matching function for call to «v8::Value::ToObject()»
   96 |    arg->ToObject(),
      |                  ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание: candidate: «v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const»
 2545 |   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
      |                                            ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание: candidate: «v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const»
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<bool>::Type nbind::BindingType<bool>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:173:40: ошибка: no matching function for call to «v8::Value::BooleanValue()»
  173 |   return(static_cast<Type>(arg->decode()));           \
      |                                        ^
../../nbind/include/nbind/v8/BindingType.h:187:1: замечание: в расширении макроса «DEFINE_NATIVE_BINDING_TYPE»
  187 | DEFINE_NATIVE_BINDING_TYPE(bool, IsBoolean, BooleanValue, v8::Boolean);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2572:8: замечание: candidate: «bool v8::Value::BooleanValue(v8::Isolate*) const»
 2572 |   bool BooleanValue(Isolate* isolate) const;
      |        ^~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2572:8: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2575:51: замечание: candidate: «v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const»
 2575 |                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
      |                                                   ^~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2575:51: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2575 |                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
      |                                                   ^~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<double>::Type nbind::BindingType<double>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:173:40: ошибка: no matching function for call to «v8::Value::NumberValue()»
  173 |   return(static_cast<Type>(arg->decode()));           \
      |                                        ^
../../nbind/include/nbind/v8/BindingType.h:189:1: замечание: в расширении макроса «DEFINE_NATIVE_BINDING_TYPE»
  189 | DEFINE_NATIVE_BINDING_TYPE(double, IsNumber, NumberValue, v8::Number);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание: candidate: «v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const»
 2577 |   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
      |                                       ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<float>::Type nbind::BindingType<float>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:173:40: ошибка: no matching function for call to «v8::Value::NumberValue()»
  173 |   return(static_cast<Type>(arg->decode()));           \
      |                                        ^
../../nbind/include/nbind/v8/BindingType.h:190:1: замечание: в расширении макроса «DEFINE_NATIVE_BINDING_TYPE»
  190 | DEFINE_NATIVE_BINDING_TYPE(float, IsNumber, NumberValue, v8::Number);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание: candidate: «v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const»
 2577 |   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
      |                                       ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<unsigned int>::Type nbind::BindingType<unsigned int>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:173:40: ошибка: no matching function for call to «v8::Value::Uint32Value()»
  173 |   return(static_cast<Type>(arg->decode()));           \
      |                                        ^
../../nbind/include/nbind/v8/BindingType.h:192:1: замечание: в расширении макроса «DEFINE_NATIVE_BINDING_TYPE»
  192 | DEFINE_NATIVE_BINDING_TYPE(unsigned int, IsNumber, Uint32Value, v8::Uint32);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание: candidate: «v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const»
 2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
      |                                         ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<short unsigned int>::Type nbind::BindingType<short unsigned int>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:173:40: ошибка: no matching function for call to «v8::Value::Uint32Value()»
  173 |   return(static_cast<Type>(arg->decode()));           \
      |                                        ^
../../nbind/include/nbind/v8/BindingType.h:193:1: замечание: в расширении макроса «DEFINE_NATIVE_BINDING_TYPE»
  193 | DEFINE_NATIVE_BINDING_TYPE(unsigned short, IsNumber, Uint32Value, v8::Uint32);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание: candidate: «v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const»
 2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
      |                                         ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<unsigned char>::Type nbind::BindingType<unsigned char>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:173:40: ошибка: no matching function for call to «v8::Value::Uint32Value()»
  173 |   return(static_cast<Type>(arg->decode()));           \
      |                                        ^
../../nbind/include/nbind/v8/BindingType.h:194:1: замечание: в расширении макроса «DEFINE_NATIVE_BINDING_TYPE»
  194 | DEFINE_NATIVE_BINDING_TYPE(unsigned char, IsNumber, Uint32Value, v8::Uint32);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание: candidate: «v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const»
 2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
      |                                         ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<int>::Type nbind::BindingType<int>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:173:40: ошибка: no matching function for call to «v8::Value::Int32Value()»
  173 |   return(static_cast<Type>(arg->decode()));           \
      |                                        ^
../../nbind/include/nbind/v8/BindingType.h:196:1: замечание: в расширении макроса «DEFINE_NATIVE_BINDING_TYPE»
  196 | DEFINE_NATIVE_BINDING_TYPE(signed int, IsNumber, Int32Value, v8::Int32);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2582:40: замечание: candidate: «v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const»
 2582 |   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
      |                                        ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2582:40: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<short int>::Type nbind::BindingType<short int>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:173:40: ошибка: no matching function for call to «v8::Value::Int32Value()»
  173 |   return(static_cast<Type>(arg->decode()));           \
      |                                        ^
../../nbind/include/nbind/v8/BindingType.h:197:1: замечание: в расширении макроса «DEFINE_NATIVE_BINDING_TYPE»
  197 | DEFINE_NATIVE_BINDING_TYPE(signed short, IsNumber, Int32Value, v8::Int32);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2582:40: замечание: candidate: «v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const»
 2582 |   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
      |                                        ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2582:40: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<signed char>::Type nbind::BindingType<signed char>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:173:40: ошибка: no matching function for call to «v8::Value::Int32Value()»
  173 |   return(static_cast<Type>(arg->decode()));           \
      |                                        ^
../../nbind/include/nbind/v8/BindingType.h:198:1: замечание: в расширении макроса «DEFINE_NATIVE_BINDING_TYPE»
  198 | DEFINE_NATIVE_BINDING_TYPE(signed char, IsNumber, Int32Value, v8::Int32);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2582:40: замечание: candidate: «v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const»
 2582 |   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
      |                                        ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2582:40: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/api.h:72,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingType.h: В статической функции-члене «static nbind::BindingType<char>::Type nbind::BindingType<char>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingType.h:173:40: ошибка: no matching function for call to «v8::Value::Int32Value()»
  173 |   return(static_cast<Type>(arg->decode()));           \
      |                                        ^
../../nbind/include/nbind/v8/BindingType.h:200:1: замечание: в расширении макроса «DEFINE_NATIVE_BINDING_TYPE»
  200 | DEFINE_NATIVE_BINDING_TYPE(char, IsNumber, Int32Value, v8::Int32);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2582:40: замечание: candidate: «v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const»
 2582 |   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
      |                                        ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2582:40: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/api.h:78,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/External.h: В статической функции-члене «static nbind::BindingType<nbind::External>::Type nbind::BindingType<nbind::External>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/External.h:112:80: ошибка: no matching function for call to «v8::Value::ToObject()»
  112 |  static inline Type fromWireType(WireType arg) { return(External(arg->ToObject())); }
      |                                                                                ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание: candidate: «v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const»
 2545 |   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
      |                                            ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание: candidate: «v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const»
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/api.h:80,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/BindingStd.h: В статической функции-члене «static nbind::BindingType<std::__cxx11::basic_string<char> >::Type nbind::BindingType<std::__cxx11::basic_string<char> >::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/BindingStd.h:128:37: ошибка: no matching function for call to «v8::Value::ToString()»
  128 |   Nan::Utf8String val(arg->ToString());
      |                                     ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2541:44: замечание: candidate: «v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const»
 2541 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2541:44: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2557:31: замечание: candidate: «v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const»
 2557 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2557:31: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2557 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/api.h:83,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Buffer.h: В статической функции-члене «static nbind::BindingType<nbind::Buffer>::Type nbind::BindingType<nbind::Buffer>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/Buffer.h:33:43: ошибка: no matching function for call to «v8::Value::ToObject()»
   33 |   Buffer result(nullptr, 0, arg->ToObject());
      |                                           ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание: candidate: «v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const»
 2545 |   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
      |                                            ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание: candidate: «v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const»
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/BindDefiner.h:18,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Caller.h: В функции «v8::Local<v8::Value> nbind::makeTypeError(NanArgs&, uint32_t, const void* const*, bool*)»:
../../nbind/include/nbind/v8/Caller.h:23:47: ошибка: no matching function for call to «v8::Value::ToObject()»
   23 |  v8::Local<v8::Object> errObj = err->ToObject();
      |                                               ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание: candidate: «v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const»
 2545 |   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
      |                                            ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание: candidate: «v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const»
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/BindDefiner.h:19,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/signature/SignatureParam.h: В статической функции-члене «static nbind::SignatureParam* nbind::SignatureParam::get(const InfoType&)»:
../../nbind/include/nbind/signature/SignatureParam.h:16:9: ошибка: «Handle» не является элементом «v8»
   16 |     v8::Handle<v8::External>::Cast(
      |         ^~~~~~
../../nbind/include/nbind/signature/SignatureParam.h:16:28: ошибка: expected primary-expression before «>» token
   16 |     v8::Handle<v8::External>::Cast(
      |                            ^
../../nbind/include/nbind/signature/SignatureParam.h:16:31: ошибка: «::Cast» не был декларирован
   16 |     v8::Handle<v8::External>::Cast(
      |                               ^~~~
In file included from ../../nbind/include/nbind/BindDefiner.h:23,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/ValueObj.h: В статической функции-члене «static ArgType nbind::BindingType<nbind::ValueType<ArgType> >::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/ValueObj.h:114:30: ошибка: no matching function for call to «v8::Value::ToObject()»
  114 |  auto target = arg->ToObject();
      |                              ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание: candidate: «v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const»
 2545 |   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
      |                                            ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание: candidate: «v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const»
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h: В функции «ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))»:
../../nbind/include/nbind/v8/Int64.h:14:30: ошибка: no matching function for call to «v8::Value::ToObject()»
   14 |  auto target = arg->ToObject();
      |                              ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание: candidate: «v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const»
 2545 |   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
      |                                            ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание: candidate: «v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const»
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2559 |                 Local<Object> ToObject(Isolate* isolate) const);
      |                               ^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h: В статической функции-члене «static void nbind::Int64Converter<size>::uint64Init(const Nan::FunctionCallbackInfo<v8::Value>&)»:
../../nbind/include/nbind/v8/Int64.h:54:47: ошибка: no matching function for call to «v8::Value::Uint32Value()»
   54 |   if(argc > 0) storage = args[0]->Uint32Value();
      |                                               ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание: candidate: «v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const»
 2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
      |                                         ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h: В статической функции-члене «static void nbind::Int64Converter<size>::int64Init(const Nan::FunctionCallbackInfo<v8::Value>&)»:
../../nbind/include/nbind/v8/Int64.h:64:47: ошибка: no matching function for call to «v8::Value::Uint32Value()»
   64 |   if(argc > 0) storage = args[0]->Uint32Value();
      |                                               ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание: candidate: «v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const»
 2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
      |                                         ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h:65:40: ошибка: no matching function for call to «v8::Value::BooleanValue()»
   65 |   if(argc > 2 && args[2]->BooleanValue()) storage = -storage;
      |                                        ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2572:8: замечание: candidate: «bool v8::Value::BooleanValue(v8::Isolate*) const»
 2572 |   bool BooleanValue(Isolate* isolate) const;
      |        ^~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2572:8: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2575:51: замечание: candidate: «v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const»
 2575 |                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
      |                                                   ^~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2575:51: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2575 |                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
      |                                                   ^~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h: В статической функции-члене «static void nbind::Int64Converter<8>::uint64Init(const Nan::FunctionCallbackInfo<v8::Value>&)»:
../../nbind/include/nbind/v8/Int64.h:140:47: ошибка: no matching function for call to «v8::Value::Uint32Value()»
  140 |   if(argc > 0) storage = args[0]->Uint32Value();
      |                                               ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание: candidate: «v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const»
 2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
      |                                         ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h:141:70: ошибка: no matching function for call to «v8::Value::Uint32Value()»
  141 |   if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
      |                                                                      ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание: candidate: «v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const»
 2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
      |                                         ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h: В статической функции-члене «static void nbind::Int64Converter<8>::int64Init(const Nan::FunctionCallbackInfo<v8::Value>&)»:
../../nbind/include/nbind/v8/Int64.h:151:47: ошибка: no matching function for call to «v8::Value::Uint32Value()»
  151 |   if(argc > 0) storage = args[0]->Uint32Value();
      |                                               ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание: candidate: «v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const»
 2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
      |                                         ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h:152:70: ошибка: no matching function for call to «v8::Value::Uint32Value()»
  152 |   if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
      |                                                                      ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание: candidate: «v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const»
 2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
      |                                         ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h:153:40: ошибка: no matching function for call to «v8::Value::BooleanValue()»
  153 |   if(argc > 2 && args[2]->BooleanValue()) storage = -storage;
      |                                        ^
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2572:8: замечание: candidate: «bool v8::Value::BooleanValue(v8::Isolate*) const»
 2572 |   bool BooleanValue(Isolate* isolate) const;
      |        ^~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2572:8: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
                 from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2575:51: замечание: candidate: «v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const»
 2575 |                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
      |                                                   ^~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2575:51: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
 2575 |                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
      |                                                   ^~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: замечание: в определении макроса «V8_DEPRECATED»
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h: В статической функции-члене «static nbind::BindingType<long unsigned int>::Type nbind::BindingType<long unsigned int>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/Int64.h:175:46: ошибка: no matching function for call to «v8::Value::NumberValue()»
  175 |    return(static_cast<Type>(arg->NumberValue()));  \
      |                                              ^
../../nbind/include/nbind/v8/Int64.h:190:1: замечание: в расширении макроса «DEFINE_INT64_BINDING_TYPE»
  190 | DEFINE_INT64_BINDING_TYPE(unsigned long, uint64ToWire, uint64Init);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание: candidate: «v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const»
 2577 |   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
      |                                       ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h: В статической функции-члене «static nbind::BindingType<long long unsigned int>::Type nbind::BindingType<long long unsigned int>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/Int64.h:175:46: ошибка: no matching function for call to «v8::Value::NumberValue()»
  175 |    return(static_cast<Type>(arg->NumberValue()));  \
      |                                              ^
../../nbind/include/nbind/v8/Int64.h:191:1: замечание: в расширении макроса «DEFINE_INT64_BINDING_TYPE»
  191 | DEFINE_INT64_BINDING_TYPE(unsigned long long, uint64ToWire, uint64Init);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание: candidate: «v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const»
 2577 |   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
      |                                       ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h: В статической функции-члене «static nbind::BindingType<long int>::Type nbind::BindingType<long int>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/Int64.h:175:46: ошибка: no matching function for call to «v8::Value::NumberValue()»
  175 |    return(static_cast<Type>(arg->NumberValue()));  \
      |                                              ^
../../nbind/include/nbind/v8/Int64.h:192:1: замечание: в расширении макроса «DEFINE_INT64_BINDING_TYPE»
  192 | DEFINE_INT64_BINDING_TYPE(signed long, int64ToWire, int64Init);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание: candidate: «v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const»
 2577 |   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
      |                                       ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
In file included from ../../nbind/include/nbind/BindDefiner.h:24,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nbind/include/nbind/v8/Int64.h: В статической функции-члене «static nbind::BindingType<long long int>::Type nbind::BindingType<long long int>::fromWireType(nbind::WireType)»:
../../nbind/include/nbind/v8/Int64.h:175:46: ошибка: no matching function for call to «v8::Value::NumberValue()»
  175 |    return(static_cast<Type>(arg->NumberValue()));  \
      |                                              ^
../../nbind/include/nbind/v8/Int64.h:193:1: замечание: в расширении макроса «DEFINE_INT64_BINDING_TYPE»
  193 | DEFINE_INT64_BINDING_TYPE(signed long long, int64ToWire, int64Init);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание: candidate: «v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const»
 2577 |   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
      |                                       ^~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: замечание:   кандидат ожидает 1 аргумент, 0 предоставлено
/root/.cache/node-gyp/12.9.1/include/node/v8.h: В конкретизации «void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]»:
/root/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78:   required from here
/root/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: предупреждение: cast between incompatible function types from «v8::WeakCallbackInfo<node::ObjectWrap>::Callback» {aka «void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)»} to «Callback» {aka «void (*)(const v8::WeakCallbackInfo<void>&)»} [-Wcast-function-type]
 9893 |                reinterpret_cast<Callback>(callback), type);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h: В конкретизации «void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]»:
../../nan/nan_object_wrap.h:65:61:   required from here
/root/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: предупреждение: cast between incompatible function types from «v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback» {aka «void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)»} to «Callback» {aka «void (*)(const v8::WeakCallbackInfo<void>&)»} [-Wcast-function-type]
In file included from ../../nan/nan.h:2784,
                 from ../../nbind/include/nbind/v8/BindWrapper.h:55,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
../../nan/nan_weak.h: В конкретизации «Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]»:
../../nan/nan_weak.h:264:12:   требуемый из «void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]»
../../nbind/include/nbind/v8/BindWrapper.h:138:68:   required from here
../../nan/nan_weak.h:58:16: предупреждение: «void* memcpy(void*, const void*, size_t)» writing to an object of type «class v8::Persistent<v8::Value>» with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   58 |     std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
      |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
                 from ../../nbind/include/nbind/api.h:71,
                 from ../../nbind/include/nbind/BindDefiner.h:11,
                 from ../../nbind/include/nbind/noconflict.h:8,
                 from ../../nbind/include/nbind/nbind.h:8,
                 from ../../nbind/src/common.cc:4:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:665:35: замечание: «class v8::Persistent<v8::Value>» declared here
  665 | template <class T, class M> class Persistent : public PersistentBase<T> {
      |                                   ^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h: В конкретизации «void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]»:
../../nan/nan_weak.h:268:35:   требуемый из «void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]»
../../nbind/include/nbind/v8/BindWrapper.h:138:68:   required from here
/root/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: предупреждение: cast between incompatible function types from «v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback» {aka «void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)»} to «Callback» {aka «void (*)(const v8::WeakCallbackInfo<void>&)»} [-Wcast-function-type]
 9893 |                reinterpret_cast<Callback>(callback), type);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [nbind.target.mk:230: Release/obj.target/nbind/../nbind/src/common.o] Ошибка 1
make: выход из каталога «/run/media/capgop/32D5C2F635E88FF4/g/app/node_modules/libui-node/build»
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:190:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.19.69-1-MANJARO
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /run/media/capgop/32D5C2F635E88FF4/g/app/node_modules/libui-node
gyp ERR! node -v v12.9.1
gyp ERR! node-gyp -v v5.0.2
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! libui-node@0.2.1 build: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the libui-node@0.2.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-10-15T23_18_09_731Z-debug.log
npm WARN app@1.0.0 No description
npm WARN app@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! libui-node@0.2.1 install: `libui-download && autogypi && npm run build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the libui-node@0.2.1 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!     /root/.npm/_logs/2019-10-15T23_18_12_047Z-debug.log

@enko
Copy link

enko commented Nov 18, 2019

I'm also hitting this problem. If you look carefully at the log above you see this error:

../../nbind/include/nbind/v8/BindWrapper.h:216:63: ошибка: no matching function for call to «v8::Value::Uint32Value()»

Digging a bit into it, this seem to be the case because some apis where deprecated with node 12:

bcoin-org/bcrypto#7

@apollolux
Copy link

I get these errors too for Node v12.13.x but in English and on Windows as commented here . I'd like to see if the linked bcrypto solution would work for libui-node on Node v12+ as well.

@buckle2000
Copy link

Seems like nbind hasn't updated to latest node/V8 version. charto/nbind#136

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants