Giter Site home page Giter Site logo

Node 13 build errors about nbind HOT 2 OPEN

nmussy avatar nmussy commented on May 28, 2024 6
Node 13 build errors

from nbind.

Comments (2)

buckle2000 avatar buckle2000 commented on May 28, 2024

Same here with node v14.0.0.
Errors for building parro-it/libui-node#142:

../node_modules/nbind/include/nbind/v8/BindWrapper.h:139:8: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
../node_modules/nbind/include/nbind/v8/BindWrapper.h:216:63: error: no matching function for call to ‘v8::Value::Uint32Value()’
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:19: error: ‘Handle’ is not a member of ‘v8’
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:38: error: expected primary-expression before ‘>’ token
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:41: error: ‘::Cast’ has not been declared
../node_modules/nbind/include/nbind/v8/BindingType.h:52:18: error: no matching function for call to ‘v8::Value::ToObject()’
../node_modules/nbind/include/nbind/v8/BindingType.h:96:18: error: no matching function for call to ‘v8::Value::ToObject()’
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: error: no matching function for call to ‘v8::Value::BooleanValue()’
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: error: no matching function for call to ‘v8::Value::NumberValue()’
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: error: no matching function for call to ‘v8::Value::Uint32Value()’
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: error: no matching function for call to ‘v8::Value::Int32Value()’
../node_modules/nbind/include/nbind/v8/External.h:77:9: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
../node_modules/nbind/include/nbind/v8/External.h:112:80: error: no matching function for call to ‘v8::Value::ToObject()’
../node_modules/nbind/include/nbind/v8/BindingStd.h:128:37: error: no matching function for call to ‘v8::Value::ToString()’
../node_modules/nbind/include/nbind/v8/Buffer.h:33:43: error: no matching function for call to ‘v8::Value::ToObject()’
../node_modules/nbind/include/nbind/v8/Caller.h: In function ‘v8::Local<v8::Value> nbind::makeTypeError(NanArgs&, uint32_t, const void* const*, bool*)’:
../node_modules/nbind/include/nbind/v8/Caller.h:23:47: error: no matching function for call to ‘v8::Value::ToObject()’
../node_modules/nbind/include/nbind/v8/Caller.h:28:59: error: no matching function for call to ‘v8::Array::Set(uint32_t&, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
../node_modules/nbind/include/nbind/v8/Caller.h:32:71: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Array>&)’
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:9: error: ‘Handle’ is not a member of ‘v8’
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:28: error: expected primary-expression before ‘>’ token
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:31: error: ‘::Cast’ has not been declared
../node_modules/nbind/include/nbind/v8/ValueObj.h:114:30: error: no matching function for call to ‘v8::Value::ToObject()’
../node_modules/nbind/include/nbind/v8/Int64.h:14:30: error: no matching function for call to ‘v8::Value::ToObject()’
../node_modules/nbind/include/nbind/v8/Int64.h:54:47: error: no matching function for call to ‘v8::Value::Uint32Value()’
../node_modules/nbind/include/nbind/v8/Int64.h:64:47: error: no matching function for call to ‘v8::Value::Uint32Value()’
../node_modules/nbind/include/nbind/v8/Int64.h:65:40: error: no matching function for call to ‘v8::Value::BooleanValue()’
../node_modules/nbind/include/nbind/v8/Int64.h:140:47: error: no matching function for call to ‘v8::Value::Uint32Value()’
../node_modules/nbind/include/nbind/v8/Int64.h:141:70: error: no matching function for call to ‘v8::Value::Uint32Value()’
../node_modules/nbind/include/nbind/v8/Int64.h:151:47: error: no matching function for call to ‘v8::Value::Uint32Value()’
../node_modules/nbind/include/nbind/v8/Int64.h:152:70: error: no matching function for call to ‘v8::Value::Uint32Value()’
../node_modules/nbind/include/nbind/v8/Int64.h:153:40: error: no matching function for call to ‘v8::Value::BooleanValue()’
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: error: no matching function for call to ‘v8::Value::NumberValue()’

from nbind.

JessieMercurial avatar JessieMercurial commented on May 28, 2024
 ✘ jessica.mulein@Jessicas-MBP  ~  npm install -g npm
/usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
+ [email protected]
updated 1 package in 6.434s
 jessica.mulein@Jessicas-MBP  ~  npm install -g libui-node
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

> [email protected] install /usr/local/lib/node_modules/libui-node
> libui-download && autogypi && npm run build

Downloaded zip: /Users/jessica.mulein/.libui/libui-shared-osx-x64-alpha3.5-master-008.tar.gz
Libui binaries extracted to: /usr/local/lib/node_modules/libui-node

> [email protected] build /usr/local/lib/node_modules/libui-node
> node-gyp configure build

  COPY Release/obj.target/nbind/geni/symbols.txt
  CXX(target) Release/obj.target/nbind/node_modules/nbind/src/common.o
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:71:
../node_modules/nbind/include/nbind/v8/BindWrapper.h:139:8: error: no member named 'MarkIndependent' in 'Nan::Persistent<v8::Object,
      v8::NonCopyablePersistentTraits<v8::Object> >'
                ref->MarkIndependent();
                ~~~  ^
../node_modules/nbind/include/nbind/v8/BindWrapper.h:216:63: error: too few arguments to function call, single argument 'context' was not specified
                auto flags = static_cast<TypeFlags>(nanArgs[1]->Uint32Value());
                                                    ~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2863:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:71:
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:38: error: expected '(' for function-style cast or type construction
                void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
                                       ~~~~~~~~~~~~^
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:19: error: no member named 'Handle' in namespace 'v8'
                void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
                            ~~~~^
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:41: error: no member named 'Cast' in the global namespace
                void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
                                                    ~~^
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:19: error: 'handle_' is a private member of 'node::ObjectWrap'
                void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
                                ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/node_object_wrap.h:127:30: note: declared private here
  v8::Persistent<v8::Object> handle_;
                             ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:52:18: error: too few arguments to function call, single argument 'context' was not specified
                        arg->ToObject(),
                        ~~~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2819:3: note: 'ToObject' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:96:18: error: too few arguments to function call, single argument 'context' was not specified
                        arg->ToObject(),
                        ~~~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2819:3: note: 'ToObject' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:187:1: error: too few arguments to function call, single argument 'isolate' was not specified
DEFINE_NATIVE_BINDING_TYPE(bool, IsBoolean, BooleanValue, v8::Boolean);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: note: expanded from macro 'DEFINE_NATIVE_BINDING_TYPE'
                return(static_cast<Type>(arg->decode()));           \
                                         ~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2855:3: note: 'BooleanValue' declared here
  bool BooleanValue(Isolate* isolate) const;
  ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:189:1: error: too few arguments to function call, single argument 'context' was not specified
DEFINE_NATIVE_BINDING_TYPE(double, IsNumber, NumberValue, v8::Number);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: note: expanded from macro 'DEFINE_NATIVE_BINDING_TYPE'
                return(static_cast<Type>(arg->decode()));           \
                                         ~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2858:3: note: 'NumberValue' declared here
  V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:190:1: error: too few arguments to function call, single argument 'context' was not specified
DEFINE_NATIVE_BINDING_TYPE(float, IsNumber, NumberValue, v8::Number);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: note: expanded from macro 'DEFINE_NATIVE_BINDING_TYPE'
                return(static_cast<Type>(arg->decode()));           \
                                         ~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2858:3: note: 'NumberValue' declared here
  V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:192:1: error: too few arguments to function call, single argument 'context' was not specified
DEFINE_NATIVE_BINDING_TYPE(unsigned int, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: note: expanded from macro 'DEFINE_NATIVE_BINDING_TYPE'
                return(static_cast<Type>(arg->decode()));           \
                                         ~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2863:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:193:1: error: too few arguments to function call, single argument 'context' was not specified
DEFINE_NATIVE_BINDING_TYPE(unsigned short, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: note: expanded from macro 'DEFINE_NATIVE_BINDING_TYPE'
                return(static_cast<Type>(arg->decode()));           \
                                         ~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2863:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:194:1: error: too few arguments to function call, single argument 'context' was not specified
DEFINE_NATIVE_BINDING_TYPE(unsigned char, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: note: expanded from macro 'DEFINE_NATIVE_BINDING_TYPE'
                return(static_cast<Type>(arg->decode()));           \
                                         ~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2863:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:196:1: error: too few arguments to function call, single argument 'context' was not specified
DEFINE_NATIVE_BINDING_TYPE(signed int, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: note: expanded from macro 'DEFINE_NATIVE_BINDING_TYPE'
                return(static_cast<Type>(arg->decode()));           \
                                         ~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2866:3: note: 'Int32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:197:1: error: too few arguments to function call, single argument 'context' was not specified
DEFINE_NATIVE_BINDING_TYPE(signed short, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: note: expanded from macro 'DEFINE_NATIVE_BINDING_TYPE'
                return(static_cast<Type>(arg->decode()));           \
                                         ~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2866:3: note: 'Int32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:198:1: error: too few arguments to function call, single argument 'context' was not specified
DEFINE_NATIVE_BINDING_TYPE(signed char, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: note: expanded from macro 'DEFINE_NATIVE_BINDING_TYPE'
                return(static_cast<Type>(arg->decode()));           \
                                         ~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2866:3: note: 'Int32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:72:
../node_modules/nbind/include/nbind/v8/BindingType.h:200:1: error: too few arguments to function call, single argument 'context' was not specified
DEFINE_NATIVE_BINDING_TYPE(char, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: note: expanded from macro 'DEFINE_NATIVE_BINDING_TYPE'
                return(static_cast<Type>(arg->decode()));           \
                                         ~~~~~~~~~~~ ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8.h:2866:3: note: 'Int32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  ^
/Users/jessica.mulein/Library/Caches/node-gyp/14.2.0/include/node/v8config.h:422:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../node_modules/nbind/src/common.cc:4:
In file included from ../node_modules/nbind/include/nbind/nbind.h:8:
In file included from ../node_modules/nbind/include/nbind/noconflict.h:8:
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:11:
In file included from ../node_modules/nbind/include/nbind/api.h:78:
../node_modules/nbind/include/nbind/v8/External.h:77:9: error: no member named 'MarkIndependent' in 'Nan::Persistent<v8::Object,
      v8::NonCopyablePersistentTraits<v8::Object> >'
                        weak.MarkIndependent();
                        ~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/nbind/node_modules/nbind/src/common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Darwin 19.4.0
gyp ERR! command "/usr/local/Cellar/node/14.2.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/local/lib/node_modules/libui-node
gyp ERR! node -v v14.2.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build 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!     /Users/jessica.mulein/.npm/_logs/2020-05-18T11_14_08_563Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `libui-download && autogypi && npm run build`
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.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jessica.mulein/.npm/_logs/2020-05-18T11_14_08_883Z-debug.log

from nbind.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.