failing to install ref in node v14.16.1 w/ numerous nan-related errors
Open
Nobody has claimed this yet.
nodejs/nan
- Dominant language
- Python
- Stars
- 10.7k
- Forks
- 1.9k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
- Node Version:
node -v
v14.16.1
npm -v
7.9.0
- Platform:
uname -a
Linux arch-chirva 5.10.25-1-lts #1 SMP Sat, 20 Mar 2021 19:37:44 +0000 x86_64 GNU/Linux
- Compiler:
Using built-in specs. COLLECT_GCC=cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.2.0 (GCC)
- Module:
ref, withnpm i -g ref
Verbose output (from npm or node-gyp):
The output of npm i -g ref, from the log:
0 verbose cli [
0 verbose cli '${HOME}/.nodejs/node-v14.16.1-linux-x64/bin/node',
0 verbose cli '${HOME}/.npm-packages/bin/npm',
0 verbose cli 'i',
0 verbose cli '-g',
0 verbose cli 'ref'
0 verbose cli ]
1 info using npm@7.9.0
2 info using node@v14.16.1
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:${HOME}/.npm-packages/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 1ms
9 timing config:load:project Completed in 0ms
10 timing config:load:file:${HOME}/.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:${HOME}/.npm-packages/etc/npmrc Completed in 1ms
13 timing config:load:global Completed in 1ms
14 timing config:load:validate Completed in 0ms
15 timing config:load:setEnvs Completed in 0ms
16 timing config:load Completed in 5ms
17 timing npm:load:configload Completed in 5ms
18 timing npm:load:setTitle Completed in 0ms
19 timing npm:load:setupLog Completed in 2ms
20 timing npm:load:cleanupLog Completed in 1ms
21 timing npm:load:configScope Completed in 0ms
22 timing npm:load:projectScope Completed in 0ms
23 timing npm:load Completed in 9ms
24 timing config:load:flatten Completed in 1ms
25 timing arborist:ctor Completed in 0ms
26 timing idealTree:init Completed in 8ms
27 timing idealTree:userRequests Completed in 1ms
28 silly idealTree buildDeps
29 silly fetch manifest ref@*
30 http fetch GET 304 https://registry.npmjs.org/ref 181ms (from cache)
31 silly placeDep ROOT ref@1.3.5 OK for: want: *
32 silly fetch manifest bindings@1
33 silly fetch manifest debug@2
34 silly fetch manifest nan@2
35 http fetch GET 304 https://registry.npmjs.org/bindings 48ms (from cache)
36 http fetch GET 304 https://registry.npmjs.org/debug 130ms (from cache)
37 http fetch GET 304 https://registry.npmjs.org/nan 139ms (from cache)
38 timing idealTree:#root Completed in 331ms
39 silly placeDep node_modules/ref bindings@1.5.0 OK for: ref@1.3.5 want: 1
40 silly placeDep node_modules/ref debug@2.6.9 OK for: ref@1.3.5 want: 2
41 silly placeDep node_modules/ref nan@2.14.2 OK for: ref@1.3.5 want: 2
42 silly fetch manifest file-uri-to-path@1.0.0
43 silly fetch manifest ms@2.0.0
44 http fetch GET 304 https://registry.npmjs.org/ms 74ms (from cache)
45 http fetch GET 304 https://registry.npmjs.org/file-uri-to-path 81ms (from cache)
46 timing idealTree:node_modules/ref Completed in 88ms
47 silly placeDep node_modules/ref file-uri-to-path@1.0.0 OK for: bindings@1.5.0 want: 1.0.0
48 timing idealTree:node_modules/ref/node_modules/bindings Completed in 4ms
49 silly placeDep node_modules/ref ms@2.0.0 OK for: debug@2.6.9 want: 2.0.0
50 timing idealTree:node_modules/ref/node_modules/debug Completed in 2ms
51 timing idealTree:node_modules/ref/node_modules/file-uri-to-path Completed in 0ms
52 timing idealTree:node_modules/ref/node_modules/ms Completed in 0ms
53 timing idealTree:node_modules/ref/node_modules/nan Completed in 0ms
54 timing idealTree:buildDeps Completed in 427ms
55 timing idealTree:fixDepFlags Completed in 1ms
56 timing idealTree Completed in 438ms
57 timing reify:loadTrees Completed in 440ms
58 timing reify:diffTrees Completed in 2ms
59 silly reify moves {}
60 timing reify:retireShallow Completed in 0ms
61 timing reify:createSparse Completed in 1ms
62 timing reify:loadBundles Completed in 0ms
63 timing reifyNode:node_modules/ref/node_modules/ms Completed in 36ms
64 timing reifyNode:node_modules/ref/node_modules/bindings Completed in 36ms
65 timing reifyNode:node_modules/ref/node_modules/file-uri-to-path Completed in 38ms
66 timing reifyNode:node_modules/ref/node_modules/debug Completed in 39ms
67 timing reifyNode:node_modules/ref Completed in 47ms
68 timing reifyNode:node_modules/ref/node_modules/nan Completed in 47ms
69 timing reify:unpack Completed in 48ms
70 timing reify:unretire Completed in 0ms
71 timing build:queue Completed in 1ms
72 info run ref@1.3.5 install node_modules/ref node-gyp rebuild
73 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 181ms
74 timing auditReport:getReport Completed in 182ms
75 timing auditReport:init Completed in 0ms
76 timing reify:audit Completed in 183ms
77 info run ref@1.3.5 install { code: 1, signal: null }
78 timing reify:rollback:createSparse Completed in 18ms
79 timing reify:rollback:retireShallow Completed in 0ms
80 timing command:install Completed in 1422ms
81 verbose stack Error: command failed
81 verbose stack at ChildProcess.<anonymous> (${HOME}/.npm-packages/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
81 verbose stack at ChildProcess.emit (events.js:315:20)
81 verbose stack at maybeClose (internal/child_process.js:1048:16)
81 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
82 verbose pkgid ref@1.3.5
83 verbose cwd ${HOME}
84 verbose Linux 5.10.25-1-lts
85 verbose argv "${HOME}/.nodejs/node-v14.16.1-linux-x64/bin/node" "${HOME}/.npm-packages/bin/npm" "i" "-g" "ref"
86 verbose node v14.16.1
87 verbose npm v7.9.0
88 error code 1
89 error path ${HOME}/.npm-packages/lib/node_modules/ref
90 error command failed
91 error command sh -c node-gyp rebuild
92 error make: Entering directory '${HOME}/.npm-packages/lib/node_modules/ref/build'
92 error CXX(target) Release/obj.target/binding/src/binding.o
92 error make: Leaving directory '${HOME}/.npm-packages/lib/node_modules/ref/build'
93 error gyp info it worked if it ends with ok
93 error gyp info using node-gyp@7.1.2
93 error gyp info using node@14.16.1 | linux | x64
93 error gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
93 error gyp info spawn /usr/bin/python3
93 error gyp info spawn args [
93 error gyp info spawn args '${HOME}/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
93 error gyp info spawn args 'binding.gyp',
93 error gyp info spawn args '-f',
93 error gyp info spawn args 'make',
93 error gyp info spawn args '-I',
93 error gyp info spawn args '${HOME}/.npm-packages/lib/node_modules/ref/build/config.gypi',
93 error gyp info spawn args '-I',
93 error gyp info spawn args '${HOME}/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
93 error gyp info spawn args '-I',
93 error gyp info spawn args '${HOME}/.cache/node-gyp/14.16.1/include/node/common.gypi',
93 error gyp info spawn args '-Dlibrary=shared_library',
93 error gyp info spawn args '-Dvisibility=default',
93 error gyp info spawn args '-Dnode_root_dir=${HOME}/.cache/node-gyp/14.16.1',
93 error gyp info spawn args '-Dnode_gyp_dir=${HOME}/.npm-packages/lib/node_modules/npm/node_modules/node-gyp',
93 error gyp info spawn args '-Dnode_lib_file=${HOME}/.cache/node-gyp/14.16.1/<(target_arch)/node.lib',
93 error gyp info spawn args '-Dmodule_root_dir=${HOME}/.npm-packages/lib/node_modules/ref',
93 error gyp info spawn args '-Dnode_engine=v8',
93 error gyp info spawn args '--depth=.',
93 error gyp info spawn args '--no-parallel',
93 error gyp info spawn args '--generator-output',
93 error gyp info spawn args 'build',
93 error gyp info spawn args '-Goutput_dir=.'
93 error gyp info spawn args ]
93 error gyp info spawn make
93 error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
93 error ../src/binding.cc:17: warning: "__STDC_FORMAT_MACROS" redefined
93 error 17 | #define __STDC_FORMAT_MACROS
93 error |
93 error <command-line>: note: this is the location of the previous definition
93 error ../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::WriteObject(Nan::NAN_METHOD_ARGS_TYPE)’:
93 error ../src/binding.cc:222:43: error: no matching function for call to ‘v8::Value::BooleanValue()’
93 error 222 | bool persistent = info[3]->BooleanValue();
93 error | ^
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:2858:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
93 error 2858 | bool BooleanValue(Isolate* isolate) const;
93 error | ^~~~~~~~~~~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:2858:8: note: candidate expects 1 argument, 0 provided
93 error ../src/binding.cc:229:54: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Nan::Persistent<v8::Object>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
93 error 229 | memcpy(pptr, &p2, sizeof(Nan::Persistent<Object>));
93 error | ^
93 error In file included from ../node_modules/nan/nan.h:405,
93 error from ../src/binding.cc:7:
93 error ../node_modules/nan/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistent<v8::Object>’ declared here
93 error 12 | template<typename T, typename M> class Persistent :
93 error | ^~~~~~~~~~
93 error ../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::ReadPointer(Nan::NAN_METHOD_ARGS_TYPE)’:
93 error ../src/binding.cc:253:38: error: no matching function for call to ‘v8::Value::Uint32Value()’
93 error 253 | size_t size = info[2]->Uint32Value();
93 error | ^
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:2866:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’
93 error 2866 | V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
93 error | ^~~~~~~~~~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
93 error ../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::WriteInt64(Nan::NAN_METHOD_ARGS_TYPE)’:
93 error ../src/binding.cc:360:30: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>&)’
93 error 360 | String::Utf8Value _str(in);
93 error | ^
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3287:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’
93 error 3287 | Utf8Value(Isolate* isolate, Local<v8::Value> obj);
93 error | ^~~~~~~~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3287:5: note: candidate expects 2 arguments, 1 provided
93 error ../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::WriteUInt64(Nan::NAN_METHOD_ARGS_TYPE)’:
93 error ../src/binding.cc:447:30: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>&)’
93 error 447 | String::Utf8Value _str(in);
93 error | ^
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3287:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’
93 error 3287 | Utf8Value(Isolate* isolate, Local<v8::Value> obj);
93 error | ^~~~~~~~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3287:5: note: candidate expects 2 arguments, 1 provided
93 error ../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::ReinterpretBuffer(Nan::NAN_METHOD_ARGS_TYPE)’:
93 error ../src/binding.cc:521:38: error: no matching function for call to ‘v8::Value::Uint32Value()’
93 error 521 | size_t size = info[1]->Uint32Value();
93 error | ^
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:2866:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’
93 error 2866 | V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
93 error | ^~~~~~~~~~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
93 error ../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::ReinterpretBufferUntilZeros(Nan::NAN_METHOD_ARGS_TYPE)’:
93 error ../src/binding.cc:550:44: error: no matching function for call to ‘v8::Value::Uint32Value()’
93 error 550 | uint32_t numZeros = info[1]->Uint32Value();
93 error | ^
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:2866:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’
93 error 2866 | V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
93 error | ^~~~~~~~~~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
93 error ../src/binding.cc: In function ‘void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:582:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 582 | SET_SIZEOF(int8, int8_t);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:583:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 583 | SET_SIZEOF(uint8, uint8_t);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:584:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 584 | SET_SIZEOF(int16, int16_t);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:585:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 585 | SET_SIZEOF(uint16, uint16_t);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:586:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 586 | SET_SIZEOF(int32, int32_t);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:587:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 587 | SET_SIZEOF(uint32, uint32_t);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:588:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 588 | SET_SIZEOF(int64, int64_t);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:589:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 589 | SET_SIZEOF(uint64, uint64_t);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:590:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 590 | SET_SIZEOF(float, float);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:591:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 591 | SET_SIZEOF(double, double);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:593:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 593 | SET_SIZEOF(bool, bool);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:594:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 594 | SET_SIZEOF(byte, unsigned char);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:595:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 595 | SET_SIZEOF(char, char);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:596:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 596 | SET_SIZEOF(uchar, unsigned char);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:597:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 597 | SET_SIZEOF(short, short);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:598:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 598 | SET_SIZEOF(ushort, unsigned short);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:599:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 599 | SET_SIZEOF(int, int);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:600:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 600 | SET_SIZEOF(uint, unsigned int);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:601:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 601 | SET_SIZEOF(long, long);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:602:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 602 | SET_SIZEOF(ulong, unsigned long);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:603:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 603 | SET_SIZEOF(longlong, long long);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:604:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 604 | SET_SIZEOF(ulonglong, unsigned long long);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:605:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 605 | SET_SIZEOF(pointer, char *);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:606:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 606 | SET_SIZEOF(size_t, size_t);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:581:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 581 | smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
93 error | ^
93 error ../src/binding.cc:608:3: note: in expansion of macro ‘SET_SIZEOF’
93 error 608 | SET_SIZEOF(Object, Nan::Persistent<Object>);
93 error | ^~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:614:134: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 614 | amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct s_##name))));
93 error | ^
93 error ../src/binding.cc:615:3: note: in expansion of macro ‘SET_ALIGNOF’
93 error 615 | SET_ALIGNOF(int8, int8_t);
93 error | ^~~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:614:134: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 614 | amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct s_##name))));
93 error | ^
93 error ../src/binding.cc:616:3: note: in expansion of macro ‘SET_ALIGNOF’
93 error 616 | SET_ALIGNOF(uint8, uint8_t);
93 error | ^~~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:614:134: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 614 | amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct s_##name))));
93 error | ^
93 error ../src/binding.cc:617:3: note: in expansion of macro ‘SET_ALIGNOF’
93 error 617 | SET_ALIGNOF(int16, int16_t);
93 error | ^~~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:614:134: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 614 | amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct s_##name))));
93 error | ^
93 error ../src/binding.cc:618:3: note: in expansion of macro ‘SET_ALIGNOF’
93 error 618 | SET_ALIGNOF(uint16, uint16_t);
93 error | ^~~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
93 error ../src/binding.cc:614:134: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Uint32>::return_t)’
93 error 614 | amap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(__alignof__(struct s_##name))));
93 error | ^
93 error ../src/binding.cc:619:3: note: in expansion of macro ‘SET_ALIGNOF’
93 error 619 | SET_ALIGNOF(int32, int32_t);
93 error | ^~~~~~~~~~~
93 error In file included from ${HOME}/.cache/node-gyp/14.16.1/include/node/node.h:67,
93 error from ../src/binding.cc:5:
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
93 error 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
93 error 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
93 error | ^~~
93 error ${HOME}/.cache/node-gyp/14.16.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments,
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the npm i -g ref build using Node v14.16.1, then inspect binding.gyp and src/binding.cc alongside the node-gyp command output. Determine whether the BooleanValue and Uint32Value errors belong to node-gyp or the ref module; done means the responsible project and a supported resolution are clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, nodejs, python
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100