897 lines
81 KiB
Plaintext
897 lines
81 KiB
Plaintext
|
|
gyp info it worked if it ends with ok
|
|||
|
|
gyp info using node-gyp@12.2.0
|
|||
|
|
gyp info using node@25.8.1 | linux | x64
|
|||
|
|
gyp info find Python using Python version 3.14.3 found at "/usr/bin/python3"
|
|||
|
|
gyp http GET https://nodejs.org/download/release/v25.8.1/node-v25.8.1-headers.tar.gz
|
|||
|
|
gyp http 200 https://nodejs.org/download/release/v25.8.1/node-v25.8.1-headers.tar.gz
|
|||
|
|
gyp http GET https://nodejs.org/download/release/v25.8.1/SHASUMS256.txt
|
|||
|
|
gyp http 200 https://nodejs.org/download/release/v25.8.1/SHASUMS256.txt
|
|||
|
|
gyp info spawn /usr/bin/python3
|
|||
|
|
gyp info spawn args [
|
|||
|
|
gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
|
|||
|
|
gyp info spawn args 'binding.gyp',
|
|||
|
|
gyp info spawn args '-f',
|
|||
|
|
gyp info spawn args 'make',
|
|||
|
|
gyp info spawn args '-I',
|
|||
|
|
gyp info spawn args '/home/kevin/Documents/jibo-sdk/node_modules/websocket/build/config.gypi',
|
|||
|
|
gyp info spawn args '-I',
|
|||
|
|
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
|
|||
|
|
gyp info spawn args '-I',
|
|||
|
|
gyp info spawn args '/home/kevin/.cache/node-gyp/25.8.1/include/node/common.gypi',
|
|||
|
|
gyp info spawn args '-Dlibrary=shared_library',
|
|||
|
|
gyp info spawn args '-Dvisibility=default',
|
|||
|
|
gyp info spawn args '-Dnode_root_dir=/home/kevin/.cache/node-gyp/25.8.1',
|
|||
|
|
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
|
|||
|
|
gyp info spawn args '-Dnode_lib_file=/home/kevin/.cache/node-gyp/25.8.1/<(target_arch)/node.lib',
|
|||
|
|
gyp info spawn args '-Dmodule_root_dir=/home/kevin/Documents/jibo-sdk/node_modules/websocket',
|
|||
|
|
gyp info spawn args '-Dnode_engine=v8',
|
|||
|
|
gyp info spawn args '--depth=.',
|
|||
|
|
gyp info spawn args '--no-parallel',
|
|||
|
|
gyp info spawn args '--generator-output',
|
|||
|
|
gyp info spawn args 'build',
|
|||
|
|
gyp info spawn args '-Goutput_dir=.'
|
|||
|
|
gyp info spawn args ]
|
|||
|
|
gyp info spawn make
|
|||
|
|
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
|
|||
|
|
In file included from /home/kevin/.cache/node-gyp/25.8.1/include/node/v8-array-buffer.h:14,
|
|||
|
|
from /home/kevin/.cache/node-gyp/25.8.1/include/node/v8.h:24,
|
|||
|
|
from ../src/bufferutil.cc:8:
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h: In static member function ‘static v8::Isolate* v8::Object::GetIsolate(const v8::TracedReference<v8::Object>&)’:
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:863:55: warning: ‘v8::Isolate* v8::Object::GetIsolate()’ is deprecated: Use Isolate::GetCurrent() instead, which is guaranteed to return the same isolate since https://crrev.com/c/6458560. [-Wdeprecated-declarations]
|
|||
|
|
863 | return handle.template value<Object>()->GetIsolate();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:857:12: note: declared here
|
|||
|
|
857 | Isolate* GetIsolate();
|
|||
|
|
| ^~~~~~~~~~
|
|||
|
|
In file included from ../../nan/nan.h:138,
|
|||
|
|
from ../src/bufferutil.cc:17:
|
|||
|
|
../../nan/nan_callbacks.h: At global scope:
|
|||
|
|
../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
|
|||
|
|
55 | typedef v8::Local<v8::AccessorSignature> Sig;
|
|||
|
|
| ^~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
|
|||
|
|
55 | typedef v8::Local<v8::AccessorSignature> Sig;
|
|||
|
|
| ^
|
|||
|
|
In file included from ../../nan/nan_callbacks.h:83:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::FunctionCallbackWrapper(const v8::FunctionCallbackInfo<v8::Value>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:173:53: error: no matching function for call to ‘Nan::FunctionCallbackInfo<v8::Value>::FunctionCallbackInfo(const v8::FunctionCallbackInfo<v8::Value>&, v8::Local<v8::Data>)’
|
|||
|
|
173 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:173:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:98:19: note: candidate 1: ‘Nan::FunctionCallbackInfo<T>::FunctionCallbackInfo(const v8::FunctionCallbackInfo<T>&, v8::Local<v8::Value>) [with T = v8::Value]’
|
|||
|
|
98 | explicit inline FunctionCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:100:28: note: no known conversion for argument 2 from ‘Local<v8::Data>’ to ‘Local<v8::Value>’
|
|||
|
|
100 | , v8::Local<v8::Value> data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::GetterCallbackWrapper(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:186:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Value>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Value>&, v8::Local<v8::Data>)’
|
|||
|
|
186 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:186:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Value]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::SetterCallbackWrapper(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:203:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<void>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<void>&, v8::Local<v8::Data>)’
|
|||
|
|
203 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:203:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = void]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::PropertyGetterCallbackWrapper(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:258:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Value>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Value>&, v8::Local<v8::Data>)’
|
|||
|
|
258 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:258:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Value]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::PropertySetterCallbackWrapper(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:276:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Value>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Value>&, v8::Local<v8::Data>)’
|
|||
|
|
276 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:276:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Value]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::PropertyEnumeratorCallbackWrapper(const v8::PropertyCallbackInfo<v8::Array>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:294:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Array>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Array>&, v8::Local<v8::Data>)’
|
|||
|
|
294 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:294:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Array]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::PropertyDeleterCallbackWrapper(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Boolean>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:311:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Boolean>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Boolean>&, v8::Local<v8::Data>)’
|
|||
|
|
311 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:311:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Boolean]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::PropertyQueryCallbackWrapper(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Integer>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:328:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Integer>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Integer>&, v8::Local<v8::Data>)’
|
|||
|
|
328 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:328:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Integer]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::IndexGetterCallbackWrapper(uint32_t, const v8::PropertyCallbackInfo<v8::Value>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:432:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Value>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Value>&, v8::Local<v8::Data>)’
|
|||
|
|
432 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:432:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Value]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::IndexSetterCallbackWrapper(uint32_t, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:450:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Value>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Value>&, v8::Local<v8::Data>)’
|
|||
|
|
450 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:450:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Value]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::IndexEnumeratorCallbackWrapper(const v8::PropertyCallbackInfo<v8::Array>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:468:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Array>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Array>&, v8::Local<v8::Data>)’
|
|||
|
|
468 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:468:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Array]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::IndexDeleterCallbackWrapper(uint32_t, const v8::PropertyCallbackInfo<v8::Boolean>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:484:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Boolean>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Boolean>&, v8::Local<v8::Data>)’
|
|||
|
|
484 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:484:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Boolean]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::IndexQueryCallbackWrapper(uint32_t, const v8::PropertyCallbackInfo<v8::Integer>&)’:
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:500:53: error: no matching function for call to ‘Nan::PropertyCallbackInfo<v8::Integer>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<v8::Integer>&, v8::Local<v8::Data>)’
|
|||
|
|
500 | cbinfo(info, obj->GetInternalField(kDataIndex));
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:500:53: note: there is 1 candidate
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:138:19: note: candidate 1: ‘Nan::PropertyCallbackInfo<T>::PropertyCallbackInfo(const v8::PropertyCallbackInfo<T>&, const v8::Local<v8::Value>&) [with T = v8::Integer]’
|
|||
|
|
138 | explicit inline PropertyCallbackInfo(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_callbacks_12_inl.h:140:35: note: no known conversion for argument 2 from ‘v8::Local<v8::Data>’ to ‘const v8::Local<v8::Value>&’
|
|||
|
|
140 | , const v8::Local<v8::Value> &data) :
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|||
|
|
../../nan/nan.h: At global scope:
|
|||
|
|
../../nan/nan.h:164:40: error: expected template-name before ‘<’ token [-Wtemplate-body]
|
|||
|
|
164 | public v8::CopyablePersistentTraits<T> {};
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan.h:164:40: error: expected ‘{’ before ‘<’ token
|
|||
|
|
In file included from ../../nan/nan.h:182:
|
|||
|
|
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
|
|||
|
|
../../nan/nan_maybe_43_inl.h:89:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
|
|||
|
|
89 | return obj->ForceSet(GetCurrentContext(), key, value, attribs);
|
|||
|
|
| ^~~~~~~~
|
|||
|
|
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::SetPrototype(v8::Local<v8::Object>, v8::Local<v8::Value>)’:
|
|||
|
|
../../nan/nan_maybe_43_inl.h:143:27: warning: ‘v8::Maybe<bool> v8::Object::SetPrototype(v8::Local<v8::Context>, v8::Local<v8::Value>)’ is deprecated: V8 will stop providing access to hidden prototype (i.e. JSGlobalObject). Use SetPrototypeV2() instead. See http://crbug.com/333672197. [-Wdeprecated-declarations]
|
|||
|
|
143 | return obj->SetPrototype(GetCurrentContext(), prototype);
|
|||
|
|
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:463:37: note: declared here
|
|||
|
|
463 | V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototype(Local<Context> context,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’:
|
|||
|
|
../../nan/nan_maybe_43_inl.h:221:17: error: ‘class v8::Array’ has no member named ‘CloneElementAt’
|
|||
|
|
221 | return array->CloneElementAt(GetCurrentContext(), index);
|
|||
|
|
| ^~~~~~~~~~~~~~
|
|||
|
|
In file included from ../../nan/nan_converters.h:59,
|
|||
|
|
from ../../nan/nan.h:187:
|
|||
|
|
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
|
|||
|
|
../../nan/nan_converters_43_inl.h:15:43: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
|
|||
|
|
15 | return val->To ## TYPE(GetCurrentContext()); \
|
|||
|
|
| ~~~~~~~~~~~~~~~~~^~
|
|||
|
|
| |
|
|||
|
|
| v8::Local<v8::Context>
|
|||
|
|
../../nan/nan_converters_43_inl.h:18:1: note: in expansion of macro ‘X’
|
|||
|
|
18 | X(Boolean)
|
|||
|
|
| ^
|
|||
|
|
In file included from /home/kevin/.cache/node-gyp/25.8.1/include/node/v8-primitive.h:11,
|
|||
|
|
from /home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:14:
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:437:37: note: initializing argument 1 of ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
|
|||
|
|
437 | Local<Boolean> ToBoolean(Isolate* isolate) const;
|
|||
|
|
| ~~~~~~~~~^~~~~~~
|
|||
|
|
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
|
|||
|
|
../../nan/nan_converters_43_inl.h:31:46: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
|
|||
|
|
31 | return val->NAME ## Value(GetCurrentContext()); \
|
|||
|
|
| ~~~~~~~~~~~~~~~~~^~
|
|||
|
|
| |
|
|||
|
|
| v8::Local<v8::Context>
|
|||
|
|
../../nan/nan_converters_43_inl.h:34:1: note: in expansion of macro ‘X’
|
|||
|
|
34 | X(bool, Boolean)
|
|||
|
|
| ^
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:447:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
|
|||
|
|
447 | bool BooleanValue(Isolate* isolate) const;
|
|||
|
|
| ~~~~~~~~~^~~~~~~
|
|||
|
|
In file included from ../../nan/nan_new.h:189,
|
|||
|
|
from ../../nan/nan.h:188:
|
|||
|
|
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::BooleanObject>::return_t Nan::imp::Factory<v8::BooleanObject>::New(bool)’:
|
|||
|
|
../../nan/nan_implementation_12_inl.h:40:32: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’
|
|||
|
|
40 | return v8::BooleanObject::New(value).As<v8::BooleanObject>();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|||
|
|
../../nan/nan_implementation_12_inl.h:40:32: note: there is 1 candidate
|
|||
|
|
In file included from /home/kevin/.cache/node-gyp/25.8.1/include/node/v8.h:47:
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-primitive-object.h:61:23: note: candidate 1: ‘static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool)’
|
|||
|
|
61 | static Local<Value> New(Isolate* isolate, bool value);
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-primitive-object.h:61:23: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../../nan/nan_implementation_12_inl.h:40:60: error: expected primary-expression before ‘>’ token
|
|||
|
|
40 | return v8::BooleanObject::New(value).As<v8::BooleanObject>();
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_implementation_12_inl.h:40:62: error: expected primary-expression before ‘)’ token
|
|||
|
|
40 | return v8::BooleanObject::New(value).As<v8::BooleanObject>();
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
|
|||
|
|
../../nan/nan_implementation_12_inl.h:102:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
|
|||
|
|
102 | return scope.Escape(v8::Function::New( isolate
|
|||
|
|
| ^~~~~~~
|
|||
|
|
| |
|
|||
|
|
| v8::Isolate*
|
|||
|
|
In file included from /home/kevin/.cache/node-gyp/25.8.1/include/node/v8.h:33:
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-function.h:34:22: note: initializing argument 1 of ‘static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)’
|
|||
|
|
34 | Local<Context> context, FunctionCallback callback,
|
|||
|
|
| ~~~~~~~~~~~~~~~^~~~~~~
|
|||
|
|
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
|
|||
|
|
../../nan/nan_implementation_12_inl.h:340:31: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
|
|||
|
|
340 | return v8::StringObject::New(value).As<v8::StringObject>();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|||
|
|
../../nan/nan_implementation_12_inl.h:340:31: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-primitive-object.h:81:23: note: candidate 1: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’
|
|||
|
|
81 | static Local<Value> New(Isolate* isolate, Local<String> value);
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-primitive-object.h:81:23: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../../nan/nan_implementation_12_inl.h:340:58: error: expected primary-expression before ‘>’ token
|
|||
|
|
340 | return v8::StringObject::New(value).As<v8::StringObject>();
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan_implementation_12_inl.h:340:60: error: expected primary-expression before ‘)’ token
|
|||
|
|
340 | return v8::StringObject::New(value).As<v8::StringObject>();
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan.h: In function ‘bool Nan::IdleNotification(int)’:
|
|||
|
|
../../nan/nan.h:463:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotificationDeadline’
|
|||
|
|
463 | return v8::Isolate::GetCurrent()->IdleNotificationDeadline(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h: At global scope:
|
|||
|
|
../../nan/nan.h:589:19: error: variable or field ‘AddGCEpilogueCallback’ declared void
|
|||
|
|
589 | NAN_INLINE void AddGCEpilogueCallback(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:590:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
|
|||
|
|
590 | v8::Isolate::GCEpilogueCallback callback
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:591:18: error: expected primary-expression before ‘gc_type_filter’
|
|||
|
|
591 | , v8::GCType gc_type_filter = v8::kGCTypeAll) {
|
|||
|
|
| ^~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:595:19: error: variable or field ‘RemoveGCEpilogueCallback’ declared void
|
|||
|
|
595 | NAN_INLINE void RemoveGCEpilogueCallback(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:596:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
|
|||
|
|
596 | v8::Isolate::GCEpilogueCallback callback) {
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:600:19: error: variable or field ‘AddGCPrologueCallback’ declared void
|
|||
|
|
600 | NAN_INLINE void AddGCPrologueCallback(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:601:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
|
|||
|
|
601 | v8::Isolate::GCPrologueCallback callback
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:602:18: error: expected primary-expression before ‘gc_type_filter’
|
|||
|
|
602 | , v8::GCType gc_type_filter = v8::kGCTypeAll) {
|
|||
|
|
| ^~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:606:19: error: variable or field ‘RemoveGCPrologueCallback’ declared void
|
|||
|
|
606 | NAN_INLINE void RemoveGCPrologueCallback(
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:607:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
|
|||
|
|
607 | v8::Isolate::GCPrologueCallback callback) {
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
|
|||
|
|
../../nan/nan.h:800:30: error: no matching function for call to ‘MakeCallback(v8::Isolate*, v8::Local<v8::Object>&, v8::Local<v8::Function>&, int&, v8::Local<v8::Value>*&)’
|
|||
|
|
800 | return node::MakeCallback(
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~^
|
|||
|
|
801 | v8::Isolate::GetCurrent(), target, func, argc, argv);
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:800:30: note: there are 3 candidates
|
|||
|
|
In file included from ../src/bufferutil.cc:9:
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1562:27: note: candidate 1: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1562 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1562:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1569:27: note: candidate 2: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1569 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1569:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1576:27: note: candidate 3: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1576 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1576:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
|
|||
|
|
../../nan/nan.h:814:30: error: no matching function for call to ‘MakeCallback(v8::Isolate*, v8::Local<v8::Object>&, v8::Local<v8::String>&, int&, v8::Local<v8::Value>*&)’
|
|||
|
|
814 | return node::MakeCallback(
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~^
|
|||
|
|
815 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:814:30: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1562:27: note: candidate 1: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1562 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1562:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1569:27: note: candidate 2: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1569 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1569:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1576:27: note: candidate 3: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1576 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1576:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
|
|||
|
|
../../nan/nan.h:828:30: error: no matching function for call to ‘MakeCallback(v8::Isolate*, v8::Local<v8::Object>&, const char*&, int&, v8::Local<v8::Value>*&)’
|
|||
|
|
828 | return node::MakeCallback(
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~^
|
|||
|
|
829 | v8::Isolate::GetCurrent(), target, method, argc, argv);
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:828:30: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1562:27: note: candidate 1: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1562 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1562:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1569:27: note: candidate 2: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1569 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1569:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1576:27: note: candidate 3: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1576 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1576:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
|
|||
|
|
../../nan/nan.h:866:52: error: no matching function for call to ‘v8::Value::ToString()’
|
|||
|
|
866 | v8::Local<v8::String> string = from->ToString();
|
|||
|
|
| ~~~~~~~~~~~~~~^~
|
|||
|
|
../../nan/nan.h:866:52: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:399:44: note: candidate 1: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
|
|||
|
|
399 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
|
|||
|
|
| ^~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:399:44: note: candidate expects 1 argument, 0 provided
|
|||
|
|
../../nan/nan.h:876:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’
|
|||
|
|
876 | length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
|
|||
|
|
| ^~~~
|
|||
|
|
| |
|
|||
|
|
| char*
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-primitive.h:212:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
|
|||
|
|
212 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
|
|||
|
|
| ~~~~~~~~~^~~~~~~
|
|||
|
|
../../nan/nan.h: In member function ‘bool Nan::Callback::operator==(const Nan::Callback&) const’:
|
|||
|
|
../../nan/nan.h:1339:46: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’
|
|||
|
|
1339 | v8::Local<v8::Value> a = New(handle)->Get(kCallbackIndex);
|
|||
|
|
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1339:46: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate 1: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
|
|||
|
|
307 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate 2: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
309 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate expects 3 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate 3: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
|
|||
|
|
313 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../../nan/nan.h:1340:52: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’
|
|||
|
|
1340 | v8::Local<v8::Value> b = New(other.handle)->Get(kCallbackIndex);
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1340:52: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate 1: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
|
|||
|
|
307 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate 2: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
309 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate expects 3 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate 3: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
|
|||
|
|
313 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../../nan/nan.h: In member function ‘v8::Local<v8::Function> Nan::Callback::GetFunction() const’:
|
|||
|
|
../../nan/nan.h:1371:41: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’
|
|||
|
|
1371 | return scope.Escape(New(handle)->Get(kCallbackIndex)
|
|||
|
|
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1371:41: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate 1: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
|
|||
|
|
307 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate 2: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
309 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate expects 3 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate 3: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
|
|||
|
|
313 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../../nan/nan.h:1372:25: error: expected primary-expression before ‘>’ token
|
|||
|
|
1372 | .As<v8::Function>());
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan.h:1372:27: error: expected primary-expression before ‘)’ token
|
|||
|
|
1372 | .As<v8::Function>());
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan.h: In member function ‘bool Nan::Callback::IsEmpty() const’:
|
|||
|
|
../../nan/nan.h:1377:28: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’
|
|||
|
|
1377 | return New(handle)->Get(kCallbackIndex)->IsUndefined();
|
|||
|
|
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1377:28: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate 1: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
|
|||
|
|
307 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate 2: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
309 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate expects 3 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate 3: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
|
|||
|
|
313 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
|
|||
|
|
../../nan/nan.h:1415:12: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’
|
|||
|
|
1414 | v8::Local<v8::Function> callback = New(handle)->
|
|||
|
|
| ~~~~~~~~~~~~~
|
|||
|
|
1415 | Get(kCallbackIndex).As<v8::Function>();
|
|||
|
|
| ~~~^~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1415:12: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate 1: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
|
|||
|
|
307 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate 2: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
309 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate expects 3 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate 3: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
|
|||
|
|
313 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../../nan/nan.h:1415:44: error: expected primary-expression before ‘>’ token
|
|||
|
|
1415 | Get(kCallbackIndex).As<v8::Function>();
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan.h:1415:46: error: expected primary-expression before ‘)’ token
|
|||
|
|
1415 | Get(kCallbackIndex).As<v8::Function>();
|
|||
|
|
| ^
|
|||
|
|
../../nan/nan.h:1425:43: error: no matching function for call to ‘MakeCallback(v8::Isolate*&, v8::Local<v8::Object>&, v8::Local<v8::Function>&, int&, v8::Local<v8::Value>*&)’
|
|||
|
|
1425 | return scope.Escape(node::MakeCallback(
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~^
|
|||
|
|
1426 | isolate
|
|||
|
|
| ~~~~~~~
|
|||
|
|
1427 | , target
|
|||
|
|
| ~~~~~~~~
|
|||
|
|
1428 | , callback
|
|||
|
|
| ~~~~~~~~~~
|
|||
|
|
1429 | , argc
|
|||
|
|
| ~~~~~~
|
|||
|
|
1430 | , argv
|
|||
|
|
| ~~~~~~
|
|||
|
|
1431 | ));
|
|||
|
|
| ~
|
|||
|
|
../../nan/nan.h:1425:43: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1562:27: note: candidate 1: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1562 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1562:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1569:27: note: candidate 2: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1569 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1569:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1576:27: note: candidate 3: ‘v8::MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*, async_context)’
|
|||
|
|
1576 | v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1576:27: note: candidate expects 6 arguments, 5 provided
|
|||
|
|
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
|
|||
|
|
../../nan/nan.h:1488:31: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
|
|||
|
|
1488 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1488:31: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:249:37: note: candidate 1: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
|
|||
|
|
249 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:249:37: note: candidate expects 3 arguments, 2 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:251:37: note: candidate 2: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
251 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:251:37: note: candidate expects 4 arguments, 2 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:255:37: note: candidate 3: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
|
|||
|
|
255 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:255:37: note: candidate expects 3 arguments, 2 provided
|
|||
|
|
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
|
|||
|
|
../../nan/nan.h:1494:31: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
|
|||
|
|
1494 | New(persistentHandle)->Set(key, value);
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1494:31: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:249:37: note: candidate 1: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
|
|||
|
|
249 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:249:37: note: candidate expects 3 arguments, 2 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:251:37: note: candidate 2: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
251 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:251:37: note: candidate expects 4 arguments, 2 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:255:37: note: candidate 3: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
|
|||
|
|
255 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:255:37: note: candidate expects 3 arguments, 2 provided
|
|||
|
|
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
|
|||
|
|
../../nan/nan.h:1500:31: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
|
|||
|
|
1500 | New(persistentHandle)->Set(index, value);
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1500:31: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:249:37: note: candidate 1: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
|
|||
|
|
249 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:249:37: note: candidate expects 3 arguments, 2 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:251:37: note: candidate 2: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
251 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:251:37: note: candidate expects 4 arguments, 2 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:255:37: note: candidate 3: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
|
|||
|
|
255 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:255:37: note: candidate expects 3 arguments, 2 provided
|
|||
|
|
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
|
|||
|
|
../../nan/nan.h:1506:35: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
|
|||
|
|
1506 | New(persistentHandle)->Get(New(key).ToLocalChecked()));
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1506:35: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate 1: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
|
|||
|
|
307 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate 2: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
309 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate expects 3 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate 3: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
|
|||
|
|
313 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
|
|||
|
|
../../nan/nan.h:1512:51: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
|
|||
|
|
1512 | return scope.Escape(New(persistentHandle)->Get(key));
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
|
|||
|
|
../../nan/nan.h:1512:51: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate 1: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
|
|||
|
|
307 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate 2: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
309 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate expects 3 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate 3: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
|
|||
|
|
313 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
|
|||
|
|
../../nan/nan.h:1517:51: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
|
|||
|
|
1517 | return scope.Escape(New(persistentHandle)->Get(index));
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|||
|
|
../../nan/nan.h:1517:51: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate 1: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
|
|||
|
|
307 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate 2: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
309 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate expects 3 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate 3: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
|
|||
|
|
313 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(AsyncWorker*)’:
|
|||
|
|
../../nan/nan.h:1679:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
|
|||
|
|
1679 | , (uv_after_work_cb)AsyncExecuteComplete
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Encode(const void*, size_t, Encoding)’:
|
|||
|
|
../../nan/nan.h:1720:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const uint16_t*, size_t)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations]
|
|||
|
|
1720 | return node::Encode(
|
|||
|
|
| ~~~~~~~~~~~~^
|
|||
|
|
1721 | isolate
|
|||
|
|
| ~~~~~~~
|
|||
|
|
1722 | , reinterpret_cast<const uint16_t *>(buf)
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
1723 | , len / 2);
|
|||
|
|
| ~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1210:50: note: declared here
|
|||
|
|
1210 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:116:42: note: in definition of macro ‘NODE_DEPRECATED’
|
|||
|
|
116 | __attribute__((deprecated(message))) declarator
|
|||
|
|
| ^~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1725:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const char*, size_t, encoding)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations]
|
|||
|
|
1725 | return node::Encode(
|
|||
|
|
| ~~~~~~~~~~~~^
|
|||
|
|
1726 | isolate
|
|||
|
|
| ~~~~~~~
|
|||
|
|
1727 | , reinterpret_cast<const char *>(buf)
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
1728 | , len
|
|||
|
|
| ~~~~~
|
|||
|
|
1729 | , node_enc);
|
|||
|
|
| ~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1202:38: note: declared here
|
|||
|
|
1202 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate,
|
|||
|
|
| ^~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:116:42: note: in definition of macro ‘NODE_DEPRECATED’
|
|||
|
|
116 | __attribute__((deprecated(message))) declarator
|
|||
|
|
| ^~~~~~~~~~
|
|||
|
|
../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
|
|||
|
|
../../nan/nan.h:1884:8: error: ‘class v8::ObjectTemplate’ has no member named ‘SetAccessor’
|
|||
|
|
1884 | tpl->SetAccessor(
|
|||
|
|
| ^~~~~~~~~~~
|
|||
|
|
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
|
|||
|
|
../../nan/nan.h:1927:15: error: ‘class v8::Object’ has no member named ‘SetAccessor’
|
|||
|
|
1927 | return obj->SetAccessor(
|
|||
|
|
| ^~~~~~~~~~~
|
|||
|
|
../../nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, PropertyGetterCallback, PropertySetterCallback, PropertyQueryCallback, PropertyDeleterCallback, PropertyEnumeratorCallback, v8::Local<v8::Value>)’:
|
|||
|
|
../../nan/nan.h:1994:7: error: invalid conversion from ‘Nan::imp::NativePropertyGetter’ {aka ‘void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)’} to ‘v8::NamedPropertyGetterCallback’ {aka ‘v8::Intercepted (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)’} [-fpermissive]
|
|||
|
|
1994 | getter_, setter_, query_, deleter_, enumerator_, obj));
|
|||
|
|
| ^~~~~~~
|
|||
|
|
| |
|
|||
|
|
| Nan::imp::NativePropertyGetter {aka void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)}
|
|||
|
|
In file included from /home/kevin/.cache/node-gyp/25.8.1/include/node/v8-function.h:15:
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-template.h:806:35: note: initializing argument 1 of ‘v8::NamedPropertyHandlerConfiguration::NamedPropertyHandlerConfiguration(v8::NamedPropertyGetterCallback, v8::NamedPropertySetterCallback, v8::NamedPropertyQueryCallback, v8::NamedPropertyDeleterCallback, v8::NamedPropertyEnumeratorCallback, v8::Local<v8::Value>, v8::PropertyHandlerFlags)’
|
|||
|
|
806 | NamedPropertyGetterCallback getter,
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
|
|||
|
|
../../nan/nan.h:1994:16: error: invalid conversion from ‘Nan::imp::NativePropertySetter’ {aka ‘void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&)’} to ‘v8::NamedPropertySetterCallback’ {aka ‘v8::Intercepted (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&)’} [-fpermissive]
|
|||
|
|
1994 | getter_, setter_, query_, deleter_, enumerator_, obj));
|
|||
|
|
| ^~~~~~~
|
|||
|
|
| |
|
|||
|
|
| Nan::imp::NativePropertySetter {aka void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&)}
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-template.h:807:35: note: initializing argument 2 of ‘v8::NamedPropertyHandlerConfiguration::NamedPropertyHandlerConfiguration(v8::NamedPropertyGetterCallback, v8::NamedPropertySetterCallback, v8::NamedPropertyQueryCallback, v8::NamedPropertyDeleterCallback, v8::NamedPropertyEnumeratorCallback, v8::Local<v8::Value>, v8::PropertyHandlerFlags)’
|
|||
|
|
807 | NamedPropertySetterCallback setter = nullptr,
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1994:25: error: invalid conversion from ‘Nan::imp::NativePropertyQuery’ {aka ‘void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Integer>&)’} to ‘v8::NamedPropertyQueryCallback’ {aka ‘v8::Intercepted (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Integer>&)’} [-fpermissive]
|
|||
|
|
1994 | getter_, setter_, query_, deleter_, enumerator_, obj));
|
|||
|
|
| ^~~~~~
|
|||
|
|
| |
|
|||
|
|
| Nan::imp::NativePropertyQuery {aka void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Integer>&)}
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-template.h:808:34: note: initializing argument 3 of ‘v8::NamedPropertyHandlerConfiguration::NamedPropertyHandlerConfiguration(v8::NamedPropertyGetterCallback, v8::NamedPropertySetterCallback, v8::NamedPropertyQueryCallback, v8::NamedPropertyDeleterCallback, v8::NamedPropertyEnumeratorCallback, v8::Local<v8::Value>, v8::PropertyHandlerFlags)’
|
|||
|
|
808 | NamedPropertyQueryCallback query = nullptr,
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:1994:33: error: invalid conversion from ‘void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Boolean>&)’ to ‘v8::NamedPropertyDeleterCallback’ {aka ‘v8::Intercepted (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Boolean>&)’} [-fpermissive]
|
|||
|
|
1994 | getter_, setter_, query_, deleter_, enumerator_, obj));
|
|||
|
|
| ^~~~~~~~
|
|||
|
|
| |
|
|||
|
|
| void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Boolean>&)
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-template.h:809:36: note: initializing argument 4 of ‘v8::NamedPropertyHandlerConfiguration::NamedPropertyHandlerConfiguration(v8::NamedPropertyGetterCallback, v8::NamedPropertySetterCallback, v8::NamedPropertyQueryCallback, v8::NamedPropertyDeleterCallback, v8::NamedPropertyEnumeratorCallback, v8::Local<v8::Value>, v8::PropertyHandlerFlags)’
|
|||
|
|
809 | NamedPropertyDeleterCallback deleter = nullptr,
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, IndexGetterCallback, IndexSetterCallback, IndexQueryCallback, IndexDeleterCallback, IndexEnumeratorCallback, v8::Local<v8::Value>)’:
|
|||
|
|
../../nan/nan.h:2064:7: error: invalid conversion from ‘Nan::imp::NativeIndexGetter’ {aka ‘void (*)(unsigned int, const v8::PropertyCallbackInfo<v8::Value>&)’} to ‘v8::IndexedPropertyGetterCallbackV2’ {aka ‘v8::Intercepted (*)(unsigned int, const v8::PropertyCallbackInfo<v8::Value>&)’} [-fpermissive]
|
|||
|
|
2064 | getter_, setter_, query_, deleter_, enumerator_, obj));
|
|||
|
|
| ^~~~~~~
|
|||
|
|
| |
|
|||
|
|
| Nan::imp::NativeIndexGetter {aka void (*)(unsigned int, const v8::PropertyCallbackInfo<v8::Value>&)}
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-template.h:885:39: note: initializing argument 1 of ‘v8::IndexedPropertyHandlerConfiguration::IndexedPropertyHandlerConfiguration(v8::IndexedPropertyGetterCallbackV2, v8::IndexedPropertySetterCallbackV2, v8::IndexedPropertyQueryCallbackV2, v8::IndexedPropertyDeleterCallbackV2, v8::IndexedPropertyEnumeratorCallback, v8::Local<v8::Value>, v8::PropertyHandlerFlags)’
|
|||
|
|
885 | IndexedPropertyGetterCallbackV2 getter = nullptr,
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:2064:16: error: invalid conversion from ‘Nan::imp::NativeIndexSetter’ {aka ‘void (*)(unsigned int, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&)’} to ‘v8::IndexedPropertySetterCallbackV2’ {aka ‘v8::Intercepted (*)(unsigned int, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&)’} [-fpermissive]
|
|||
|
|
2064 | getter_, setter_, query_, deleter_, enumerator_, obj));
|
|||
|
|
| ^~~~~~~
|
|||
|
|
| |
|
|||
|
|
| Nan::imp::NativeIndexSetter {aka void (*)(unsigned int, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&)}
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-template.h:886:39: note: initializing argument 2 of ‘v8::IndexedPropertyHandlerConfiguration::IndexedPropertyHandlerConfiguration(v8::IndexedPropertyGetterCallbackV2, v8::IndexedPropertySetterCallbackV2, v8::IndexedPropertyQueryCallbackV2, v8::IndexedPropertyDeleterCallbackV2, v8::IndexedPropertyEnumeratorCallback, v8::Local<v8::Value>, v8::PropertyHandlerFlags)’
|
|||
|
|
886 | IndexedPropertySetterCallbackV2 setter = nullptr,
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:2064:25: error: invalid conversion from ‘Nan::imp::NativeIndexQuery’ {aka ‘void (*)(unsigned int, const v8::PropertyCallbackInfo<v8::Integer>&)’} to ‘v8::IndexedPropertyQueryCallbackV2’ {aka ‘v8::Intercepted (*)(unsigned int, const v8::PropertyCallbackInfo<v8::Integer>&)’} [-fpermissive]
|
|||
|
|
2064 | getter_, setter_, query_, deleter_, enumerator_, obj));
|
|||
|
|
| ^~~~~~
|
|||
|
|
| |
|
|||
|
|
| Nan::imp::NativeIndexQuery {aka void (*)(unsigned int, const v8::PropertyCallbackInfo<v8::Integer>&)}
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-template.h:887:38: note: initializing argument 3 of ‘v8::IndexedPropertyHandlerConfiguration::IndexedPropertyHandlerConfiguration(v8::IndexedPropertyGetterCallbackV2, v8::IndexedPropertySetterCallbackV2, v8::IndexedPropertyQueryCallbackV2, v8::IndexedPropertyDeleterCallbackV2, v8::IndexedPropertyEnumeratorCallback, v8::Local<v8::Value>, v8::PropertyHandlerFlags)’
|
|||
|
|
887 | IndexedPropertyQueryCallbackV2 query = nullptr,
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan.h:2064:33: error: invalid conversion from ‘Nan::imp::NativeIndexDeleter’ {aka ‘void (*)(unsigned int, const v8::PropertyCallbackInfo<v8::Boolean>&)’} to ‘v8::IndexedPropertyDeleterCallbackV2’ {aka ‘v8::Intercepted (*)(unsigned int, const v8::PropertyCallbackInfo<v8::Boolean>&)’} [-fpermissive]
|
|||
|
|
2064 | getter_, setter_, query_, deleter_, enumerator_, obj));
|
|||
|
|
| ^~~~~~~~
|
|||
|
|
| |
|
|||
|
|
| Nan::imp::NativeIndexDeleter {aka void (*)(unsigned int, const v8::PropertyCallbackInfo<v8::Boolean>&)}
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-template.h:888:40: note: initializing argument 4 of ‘v8::IndexedPropertyHandlerConfiguration::IndexedPropertyHandlerConfiguration(v8::IndexedPropertyGetterCallbackV2, v8::IndexedPropertySetterCallbackV2, v8::IndexedPropertyQueryCallbackV2, v8::IndexedPropertyDeleterCallbackV2, v8::IndexedPropertyEnumeratorCallback, v8::Local<v8::Value>, v8::PropertyHandlerFlags)’
|
|||
|
|
888 | IndexedPropertyDeleterCallbackV2 deleter = nullptr,
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
|
|||
|
|
In file included from /usr/include/c++/15.2.1/cassert:46,
|
|||
|
|
from /home/kevin/.cache/node-gyp/25.8.1/include/node/node_object_wrap.h:26,
|
|||
|
|
from ../src/bufferutil.cc:12:
|
|||
|
|
../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
|
|||
|
|
../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
|
|||
|
|
24 | assert(persistent().IsNearDeath());
|
|||
|
|
| ^~~~~~~~~~~
|
|||
|
|
In file included from ../../nan/nan.h:2082:
|
|||
|
|
../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
|
|||
|
|
../../nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
|
|||
|
|
67 | persistent().MarkIndependent();
|
|||
|
|
| ^~~~~~~~~~~~~~~
|
|||
|
|
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
|
|||
|
|
../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
|
|||
|
|
124 | assert(wrap->handle_.IsNearDeath());
|
|||
|
|
| ^~~~~~~~~~~
|
|||
|
|
../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:
|
|||
|
|
../src/bufferutil.cc:34:85: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
|
|||
|
|
34 | Nan::Set(target, Nan::New<String>("BufferUtil").ToLocalChecked(), t->GetFunction());
|
|||
|
|
| ~~~~~~~~~~~~~~^~
|
|||
|
|
../src/bufferutil.cc:34:85: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-template.h:616:46: note: candidate 1: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
|
|||
|
|
616 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
|
|||
|
|
| ^~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-template.h:616:46: note: candidate expects 1 argument, 0 provided
|
|||
|
|
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Merge(Nan::NAN_METHOD_ARGS_TYPE)’:
|
|||
|
|
../src/bufferutil.cc:50:48: error: no matching function for call to ‘v8::Value::ToObject()’
|
|||
|
|
50 | Local<Object> bufferObj = info[0]->ToObject();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~^~
|
|||
|
|
../src/bufferutil.cc:50:48: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate 1: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
|
|||
|
|
411 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
|
|||
|
|
| ^~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate expects 1 argument, 0 provided
|
|||
|
|
../src/bufferutil.cc:57:37: error: no matching function for call to ‘v8::Array::Get(unsigned int&)’
|
|||
|
|
57 | Local<Object> src = array->Get(i)->ToObject();
|
|||
|
|
| ~~~~~~~~~~^~~
|
|||
|
|
../src/bufferutil.cc:57:37: note: there are 3 candidates
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate 1: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
|
|||
|
|
307 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:307:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate 2: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::MaybeLocal<v8::Object>)’
|
|||
|
|
309 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:309:43: note: candidate expects 3 arguments, 1 provided
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate 3: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
|
|||
|
|
313 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
|
|||
|
|
| ^~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-object.h:313:43: note: candidate expects 2 arguments, 1 provided
|
|||
|
|
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Unmask(Nan::NAN_METHOD_ARGS_TYPE)’:
|
|||
|
|
../src/bufferutil.cc:68:49: error: no matching function for call to ‘v8::Value::ToObject()’
|
|||
|
|
68 | Local<Object> buffer_obj = info[0]->ToObject();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~^~
|
|||
|
|
../src/bufferutil.cc:68:49: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate 1: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
|
|||
|
|
411 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
|
|||
|
|
| ^~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate expects 1 argument, 0 provided
|
|||
|
|
../src/bufferutil.cc:70:47: error: no matching function for call to ‘v8::Value::ToObject()’
|
|||
|
|
70 | Local<Object> mask_obj = info[1]->ToObject();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~^~
|
|||
|
|
../src/bufferutil.cc:70:47: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate 1: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
|
|||
|
|
411 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
|
|||
|
|
| ^~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate expects 1 argument, 0 provided
|
|||
|
|
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Mask(Nan::NAN_METHOD_ARGS_TYPE)’:
|
|||
|
|
../src/bufferutil.cc:89:49: error: no matching function for call to ‘v8::Value::ToObject()’
|
|||
|
|
89 | Local<Object> buffer_obj = info[0]->ToObject();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~^~
|
|||
|
|
../src/bufferutil.cc:89:49: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate 1: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
|
|||
|
|
411 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
|
|||
|
|
| ^~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate expects 1 argument, 0 provided
|
|||
|
|
../src/bufferutil.cc:90:47: error: no matching function for call to ‘v8::Value::ToObject()’
|
|||
|
|
90 | Local<Object> mask_obj = info[1]->ToObject();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~^~
|
|||
|
|
../src/bufferutil.cc:90:47: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate 1: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
|
|||
|
|
411 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
|
|||
|
|
| ^~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate expects 1 argument, 0 provided
|
|||
|
|
../src/bufferutil.cc:92:49: error: no matching function for call to ‘v8::Value::ToObject()’
|
|||
|
|
92 | Local<Object> output_obj = info[2]->ToObject();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~^~
|
|||
|
|
../src/bufferutil.cc:92:49: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate 1: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
|
|||
|
|
411 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
|
|||
|
|
| ^~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:411:44: note: candidate expects 1 argument, 0 provided
|
|||
|
|
../src/bufferutil.cc:93:50: error: no matching function for call to ‘v8::Value::Int32Value()’
|
|||
|
|
93 | unsigned int dataOffset = info[3]->Int32Value();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~^~
|
|||
|
|
../src/bufferutil.cc:93:50: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:458:40: note: candidate 1: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
|
|||
|
|
458 | V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
|
|||
|
|
| ^~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:458:40: note: candidate expects 1 argument, 0 provided
|
|||
|
|
../src/bufferutil.cc:94:46: error: no matching function for call to ‘v8::Value::Int32Value()’
|
|||
|
|
94 | unsigned int length = info[4]->Int32Value();
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~^~
|
|||
|
|
../src/bufferutil.cc:94:46: note: there is 1 candidate
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:458:40: note: candidate 1: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
|
|||
|
|
458 | V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
|
|||
|
|
| ^~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/v8-value.h:458:40: note: candidate expects 1 argument, 0 provided
|
|||
|
|
../src/bufferutil.cc: At global scope:
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1300:7: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
|
|||
|
|
1300 | (node::addon_register_func) (regfunc), \
|
|||
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
/home/kevin/.cache/node-gyp/25.8.1/include/node/node.h:1334:3: note: in expansion of macro ‘NODE_MODULE_X’
|
|||
|
|
1334 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
|
|||
|
|
| ^~~~~~~~~~~~~
|
|||
|
|
../src/bufferutil.cc:121:1: note: in expansion of macro ‘NODE_MODULE’
|
|||
|
|
121 | NODE_MODULE(bufferutil, init)
|
|||
|
|
| ^~~~~~~~~~~
|
|||
|
|
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Mask(Nan::NAN_METHOD_ARGS_TYPE)’:
|
|||
|
|
../src/bufferutil.cc:103:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
|
|||
|
|
103 | case 3: *((unsigned char*)to+2) = *((unsigned char*)from+2) ^ *((unsigned char*)mask+2);
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../src/bufferutil.cc:104:7: note: here
|
|||
|
|
104 | case 2: *((unsigned char*)to+1) = *((unsigned char*)from+1) ^ *((unsigned char*)mask+1);
|
|||
|
|
| ^~~~
|
|||
|
|
../src/bufferutil.cc:104:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
|
|||
|
|
104 | case 2: *((unsigned char*)to+1) = *((unsigned char*)from+1) ^ *((unsigned char*)mask+1);
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../src/bufferutil.cc:105:7: note: here
|
|||
|
|
105 | case 1: *((unsigned char*)to ) = *((unsigned char*)from ) ^ *((unsigned char*)mask);
|
|||
|
|
| ^~~~
|
|||
|
|
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Unmask(Nan::NAN_METHOD_ARGS_TYPE)’:
|
|||
|
|
../src/bufferutil.cc:78:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
|
|||
|
|
78 | case 3: *((unsigned char*)from+2) = *((unsigned char*)from+2) ^ ((unsigned char*)mask)[2];
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../src/bufferutil.cc:79:7: note: here
|
|||
|
|
79 | case 2: *((unsigned char*)from+1) = *((unsigned char*)from+1) ^ ((unsigned char*)mask)[1];
|
|||
|
|
| ^~~~
|
|||
|
|
../src/bufferutil.cc:79:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
|
|||
|
|
79 | case 2: *((unsigned char*)from+1) = *((unsigned char*)from+1) ^ ((unsigned char*)mask)[1];
|
|||
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
|
../src/bufferutil.cc:80:7: note: here
|
|||
|
|
80 | case 1: *((unsigned char*)from ) = *((unsigned char*)from ) ^ ((unsigned char*)mask)[0];
|
|||
|
|
| ^~~~
|
|||
|
|
make: *** [bufferutil.target.mk:108: Release/obj.target/bufferutil/src/bufferutil.o] Error 1
|
|||
|
|
gyp ERR! build error
|
|||
|
|
gyp ERR! stack Error: `make` failed with exit code: 2
|
|||
|
|
gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/node-gyp/lib/build.js:219:23)
|
|||
|
|
gyp ERR! System Linux 6.19.7-1-cachyos
|
|||
|
|
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
|
|||
|
|
gyp ERR! cwd /home/kevin/Documents/jibo-sdk/node_modules/websocket
|
|||
|
|
gyp ERR! node -v v25.8.1
|
|||
|
|
gyp ERR! node-gyp -v v12.2.0
|
|||
|
|
gyp ERR! $npm_package_name websocket
|
|||
|
|
gyp ERR! $npm_package_version 1.0.22
|
|||
|
|
gyp ERR! not ok
|