lukaskollmer / objc

🔮 NodeJS ↔ Objective-C bridge (experimental)
MIT License
98 stars 20 forks source link

build fails on npm install --save objc #21

Closed randdvorak closed 5 years ago

randdvorak commented 5 years ago

Here is the log:

132 silly install ref@1.3.5 133 info lifecycle ref@1.3.5~install: ref@1.3.5 134 verbose lifecycle ref@1.3.5~install: unsafe-perm in lifecycle true 135 verbose lifecycle ref@1.3.5~install: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/rand/node_modules/ref/node_modules/.bin:/Users/rand/node_modules/.bin:/Users/rand/narwhal/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Users/rand/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/opt/local/bin:/opt/local/sbin:/Users/rand/Qt5.11.2/5.11.2/clang_64/bin 136 verbose lifecycle ref@1.3.5~install: CWD: /Users/rand/node_modules/ref 137 silly lifecycle ref@1.3.5~install: Args: [ '-c', 'node-gyp rebuild' ] 138 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 306ms 139 timing audit body Completed in 103ms 140 silly lifecycle ref@1.3.5~install: Returned: code: 1 signal: null 141 info lifecycle ref@1.3.5~install: Failed to exec install script 142 timing action:install Completed in 1767ms 143 verbose unlock done using /Users/rand/.npm/_locks/staging-e38be857e37e0d06.lock for /Users/rand/node_modules/.staging 144 timing stage:rollbackFailedOptional Completed in 67ms 145 timing stage:runTopLevelLifecycles Completed in 2597ms 146 silly saveTree rand 146 silly saveTree ├── bindings@1.2.1 146 silly saveTree ├─┬ debug@2.6.9 146 silly saveTree │ └── ms@2.0.0 146 silly saveTree ├── ms@2.0.0 146 silly saveTree ├── nan@2.14.0 146 silly saveTree └─┬ objc@0.20.0 146 silly saveTree ├─┬ ffi@2.3.0 146 silly saveTree │ ├─┬ ref-struct@1.1.0 146 silly saveTree │ │ └── ref@1.3.5 146 silly saveTree │ └── ref@1.3.5 146 silly saveTree ├── ref-struct@1.1.0 146 silly saveTree └── ref@1.3.5 147 warn enoent ENOENT: no such file or directory, open '/Users/rand/package.json' 148 verbose enoent This is related to npm not being able to find a file. 149 warn rand No description 150 warn rand No repository field. 151 warn rand No README data 152 warn rand No license field. 153 verbose stack Error: ref@1.3.5 install: node-gyp rebuild 153 verbose stack Exit status 1 153 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16) 153 verbose stack at EventEmitter.emit (events.js:203:13) 153 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 153 verbose stack at ChildProcess.emit (events.js:203:13) 153 verbose stack at maybeClose (internal/child_process.js:1021:16) 153 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) 154 verbose pkgid ref@1.3.5 155 verbose cwd /Users/rand 156 verbose Darwin 18.6.0 157 verbose argv "/usr/local/Cellar/node/12.6.0/bin/node" "/usr/local/bin/npm" "install" "--save" "objc" 158 verbose node v12.6.0 159 verbose npm v6.9.0 160 error code ELIFECYCLE 161 error errno 1 162 error ref@1.3.5 install: node-gyp rebuild 162 error Exit status 1 163 error Failed at the ref@1.3.5 install script. 163 error This is probably not a problem with npm. There is likely additional logging output above. 164 verbose exit [ 1, true ]

And the stack trace:

ref@1.3.5 install /Users/rand/node_modules/ref node-gyp rebuild

CXX(target) Release/obj.target/binding/src/binding.o ../src/binding.cc:222:30: error: no matching member function for call to 'BooleanValue' bool persistent = info[3]->BooleanValue();


/Users/rand/.node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate function not viable: requires single argument 'isolate',
      but no arguments were provided
  bool BooleanValue(Isolate* isolate) const;
       ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate function not viable: requires single argument 'context',
      but no arguments were provided
                V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                  ^
../src/binding.cc:253:38: error: too few arguments to function call, single argument 'context' was not specified
  size_t size = info[2]->Uint32Value();
                ~~~~~~~~~~~~~~~~~~~~ ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:2567:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/binding.cc:360:23: error: no matching constructor for initialization of 'String::Utf8Value'
    String::Utf8Value _str(in);
                      ^    ~~
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3002:5: note: candidate constructor not viable: no known conversion from
      'Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument
    Utf8Value(const Utf8Value&) = delete;
    ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate constructor not viable: requires 2 arguments, but 1 was
      provided
    Utf8Value(Isolate* isolate, Local<v8::Value> obj);
    ^
../src/binding.cc:447:23: error: no matching constructor for initialization of 'String::Utf8Value'
    String::Utf8Value _str(in);
                      ^    ~~
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3002:5: note: candidate constructor not viable: no known conversion from
      'Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument
    Utf8Value(const Utf8Value&) = delete;
    ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate constructor not viable: requires 2 arguments, but 1 was
      provided
    Utf8Value(Isolate* isolate, Local<v8::Value> obj);
    ^
../src/binding.cc:521:38: error: too few arguments to function call, single argument 'context' was not specified
  size_t size = info[1]->Uint32Value();
                ~~~~~~~~~~~~~~~~~~~~ ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:2567:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/binding.cc:550:44: error: too few arguments to function call, single argument 'context' was not specified
  uint32_t numZeros = info[1]->Uint32Value();
                      ~~~~~~~~~~~~~~~~~~~~ ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:2567:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/binding.cc:582:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(int8, int8_t);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:583:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(uint8, uint8_t);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:584:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(int16, int16_t);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:585:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(uint16, uint16_t);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:586:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(int32, int32_t);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:587:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(uint32, uint32_t);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:588:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(int64, int64_t);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:589:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(uint64, uint64_t);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:590:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(float, float);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:591:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(double, double);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:593:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(bool, bool);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:594:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(byte, unsigned char);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:595:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(char, char);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:596:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(uchar, unsigned char);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:597:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(short, short);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:598:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(ushort, unsigned short);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:599:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(int, int);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:600:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(uint, unsigned int);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:601:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(long, long);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:602:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(ulong, unsigned long);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:603:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(longlong, long long);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:604:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(ulonglong, unsigned long long);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:605:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(pointer, char *);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:606:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(size_t, size_t);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:608:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_SIZEOF(Object, Nan::Persistent<Object>);
  ^
../src/binding.cc:581:9: note: expanded from macro 'SET_SIZEOF'
  smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:615:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(int8, int8_t);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:616:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(uint8, uint8_t);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:617:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(int16, int16_t);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:618:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(uint16, uint16_t);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:619:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(int32, int32_t);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:620:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(uint32, uint32_t);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:621:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(int64, int64_t);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:622:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(uint64, uint64_t);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:623:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(float, float);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:624:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(double, double);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:625:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(bool, bool);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:626:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(char, char);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:627:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(uchar, unsigned char);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:628:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(short, short);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:629:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(ushort, unsigned short);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:630:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(int, int);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:631:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(uint, unsigned int);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:632:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(long, long);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:633:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(ulong, unsigned long);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:634:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(longlong, long long);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:635:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(ulonglong, unsigned long long);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:636:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(pointer, char *);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:637:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(size_t, size_t);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:638:3: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  SET_ALIGNOF(Object, Nan::Persistent<Object>);
  ^
../src/binding.cc:614:9: note: expanded from macro 'SET_ALIGNOF'
  amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct ...
        ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:641:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  target->Set(Nan::New<v8::String>("sizeof").ToLocalChecked(), smap);
          ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:642:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  target->Set(Nan::New<v8::String>("alignof").ToLocalChecked(), amap);
          ^
/Users/rand/.node-gyp/12.6.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/rand/.node-gyp/12.6.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:643:8: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
  Nan::ForceSet(target, Nan::New<v8::String>("endianness").ToLocalChecked(), Nan::New<v8::String>(CheckEndianness()).ToLoc...
       ^
../../nan/nan_maybe_43_inl.h:117:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
../src/binding.cc:644:8: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
  Nan::ForceSet(target, Nan::New<v8::String>("NULL").ToLocalChecked(), WrapNullPointer(), static_cast<PropertyAttribute>(R...
       ^
../../nan/nan_maybe_43_inl.h:117:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
53 warnings and 6 errors generated.
make: *** [Release/obj.target/binding/src/binding.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:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:203:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.6.0
gyp ERR! command "/usr/local/Cellar/node/12.6.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/rand/node_modules/ref
gyp ERR! node -v v12.6.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open '/Users/rand/package.json'
npm WARN rand No description
npm WARN rand No repository field.
npm WARN rand No README data
npm WARN rand No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ref@1.3.5 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ref@1.3.5 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
lukaskollmer commented 5 years ago

the objc module currently only supports node.js versions 8 though 11, but it seems like you're using node v12. (the issue here is that objc depends on node-ffi and ref, both of which don't yet support node.js 12)

randdvorak commented 5 years ago

Thanks! Just getting started with node so help is very much appreciated.

rinsuki commented 4 years ago

@lukaskollmer https://github.com/node-ffi-napi/ref-napi can you use this instead of node-ffi and ref?