Armadilloフォーラム

BLEビーコンの電波受信

ace_kyorin

2019年11月27日 10時45分

宇野と申します。

新しいArmadilloと交換していただき、LTE通信やWi-Fiの接続まで終えることができました。
そこで、オカベマーキングシステムのBLEビーコン(BLE-TI000)の電波をArmadilloで受信できるようにしたいのですが、その設定はどうやって行えば良いでしょうか。

ここで質問する内容ではなかったとしたら申し訳ございませんが、宜しくお願いいたします。

コメント

宇野です。
ご教示いただき有難うございます。

教えていただいたサイトを参照し、nodebrewのインストールができました。
次にnode.jsをインストールしようとしたところ、以下のエラーメッセージが表示されました。

root@armadillo:~# nodebrew install-binary 12.13.1
Fetching: https://nodejs.org/dist/v12.13.1/node-v12.13.1-linux-armv7l.tar.gz
######################################################################## 100.0%
Out of memory!

何か原因や解決方法がありましたらぜひ教えていただきたいです。
宜しくお願いいたします。

宇野です。

out of memoryのエラーメッセージの対処法として以下のURLのサイトを参考にしようとしています。
メモリのサイズを指定することでエラーを回避できるとあるのですが、
指定サイズはどれくらいの大きさにしたらいいでしょうか。

ご教示いただけましたら幸いです。
宜しくお願いいたします。

サイトURL
http://dotnsf.blog.jp/archives/1055200997.html

宇野です。
そちらの方法で試したところ、Node.jsのインストールに成功しました。

しかし、npm install bleaconでbleaconのインストールを行おうとしたら
以下のようなエラーメッセ-ジが表示されます。

root@armadillo:~# nvm install 12.13.1
######################################################################## 100.0%
Checksums empty
Now using node v12.13.1
root@armadillo:~# node -v
v12.13.1
root@armadillo:~# npm install bleacon

> usb@1.6.2 install /root/node_modules/usb
> prebuild-install --verbose || node-gyp rebuild

prebuild-install info begin Prebuild-install version 5.3.3
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/1a8738-usb-v1.6.2-node-v72-linux-arm.tar.gz
prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.2/usb-v1.6.2-…
prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.2/usb-v1.6.2-…
prebuild-install WARN install No prebuilt binaries found (target=12.13.1 runtime=node arch=arm libc= platform=linux)
make: Entering directory '/root/node_modules/usb/build'
CC(target) Release/obj.target/libusb/libusb/libusb/core.o
CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
CC(target) Release/obj.target/libusb/libusb/libusb/io.o
CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
../libusb/libusb/os/linux_udev.c:40:21: fatal error: libudev.h: No such file or directory
#include
^
compilation terminated.
libusb.target.mk:146: recipe for target 'Release/obj.target/libusb/libusb/libusb/os/linux_udev.o' failed
make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Error 1
make: Leaving directory '/root/node_modules/usb/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/root/.nvm/versions/v12.13.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.9.133-at11
gyp ERR! command "/root/.nvm/versions/v12.13.1/bin/node" "/root/.nvm/versions/v12.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/node_modules/usb
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok

> bluetooth-hci-socket@0.5.1 install /root/node_modules/bluetooth-hci-socket
> node-gyp rebuild

make: Entering directory '/root/node_modules/bluetooth-hci-socket/build'
CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
../src/BluetoothHciSocket.cpp: In static member function 'static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)':
../src/BluetoothHciSocket.cpp:128:82: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
get->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from /root/.cache/node-gyp/12.13.1/include/node/node_buffer.h:25,
from ../src/BluetoothHciSocket.cpp:7:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()':
../src/BluetoothHciSocket.cpp:251:95: warning: 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)' is deprecated [-Wdeprecated-declarations]
back(Nan::New(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
^
In file included from ../src/BluetoothHciSocket.cpp:8:0:
../../nan/nan.h:1045:46: note: declared here
NAN_DEPRECATED inline v8::Local MakeCallback(
^~~~~~~~~~~~
../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':
../src/BluetoothHciSocket.cpp:269:109: warning: 'v8::Local v8::Object::Get(v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations]
or = Local::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked()));
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from /root/.cache/node-gyp/12.13.1/include/node/node_buffer.h:25,
from ../src/BluetoothHciSocket.cpp:7:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:3457:51: note: declared here
V8_DEPRECATED("Use maybe version", Local Get(Local key));
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local [1])'
Local error = errorConstructor->NewInstance(1, constructorArgs);
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from /root/.cache/node-gyp/12.13.1/include/node/node_buffer.h:25,
from ../src/BluetoothHciSocket.cpp:7:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:4176:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local, int, v8::Local*) const
V8_WARN_UNUSED_RESULT MaybeLocal NewInstance(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:4176:44: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/12.13.1/include/node/v8.h:4179:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal NewInstance(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:4179:44: note: candidate expects 1 argument, 2 provided
../src/BluetoothHciSocket.cpp:282:93: warning: 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)' is deprecated [-Wdeprecated-declarations]
back(Nan::New(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
^
In file included from ../src/BluetoothHciSocket.cpp:8:0:
../../nan/nan.h:1045:46: note: declared here
NAN_DEPRECATED inline v8::Local MakeCallback(
^~~~~~~~~~~~
../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)':
../src/BluetoothHciSocket.cpp:395:34: error: no matching function for call to 'v8::Value::IntegerValue()'
devId = arg0->IntegerValue();
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from /root/.cache/node-gyp/12.13.1/include/node/node_buffer.h:25,
from ../src/BluetoothHciSocket.cpp:7:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2609:40: note: candidate: v8::Maybe v8::Value::IntegerValue(v8::Local) const
V8_WARN_UNUSED_RESULT Maybe IntegerValue(
^~~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2609:40: note: candidate expects 1 argument, 0 provided
../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)':
../src/BluetoothHciSocket.cpp:417:34: error: no matching function for call to 'v8::Value::IntegerValue()'
devId = arg0->IntegerValue();
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from /root/.cache/node-gyp/12.13.1/include/node/node_buffer.h:25,
from ../src/BluetoothHciSocket.cpp:7:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2609:40: note: candidate: v8::Maybe v8::Value::IntegerValue(v8::Local) const
V8_WARN_UNUSED_RESULT Maybe IntegerValue(
^~~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2609:40: note: candidate expects 1 argument, 0 provided
binding.target.mk:107: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed
make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1
make: Leaving directory '/root/node_modules/bluetooth-hci-socket/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/root/.nvm/versions/v12.13.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.9.133-at11
gyp ERR! command "/root/.nvm/versions/v12.13.1/bin/node" "/root/.nvm/versions/v12.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/node_modules/bluetooth-hci-socket
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok

> bignum@0.11.0 install /root/node_modules/bignum
> node-gyp configure build

make: Entering directory '/root/node_modules/bignum/build'
CXX(target) Release/obj.target/bignum/bignum.o
../bignum.cc: In function 'int BN_jacobi_priv(const BIGNUM*, const BIGNUM*, int*, BN_CTX*)':
../bignum.cc:143:6: error: expected '(' before 'BN_is_zero'
if BN_is_zero(a1) /* step 1 */
^~~~~~~~~~
../bignum.cc:145:6: error: expected '(' before 'BN_is_one'
if BN_is_one(a1) /* step 2 */
^~~~~~~~~
../bignum.cc: At global scope:
../bignum.cc:183:10: error: field 'bignum_' has incomplete type 'BIGNUM {aka bignum_st}'
BIGNUM bignum_;
^~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/openssl/bn.h:19:0,
from ../bignum.cc:9:
/root/.cache/node-gyp/12.13.1/include/node/openssl/ossl_typ.h:80:16: note: forward declaration of 'BIGNUM {aka struct bignum_st}'
typedef struct bignum_st BIGNUM;
^~~~~~~~~
../bignum.cc: In static member function 'static void BigNum::Initialize(v8::Local)':
../bignum.cc:291:70: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
target->Set(Nan::New("BigNum").ToLocalChecked(), tmpl->GetFunction());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In constructor 'BigNum::BigNum(const v8::String::Utf8Value&, uint64_t)':
../bignum.cc:296:19: error: 'BN_init' was not declared in this scope
BN_init(&bignum_);
^
../bignum.cc: In constructor 'BigNum::BigNum(uint64_t)':
../bignum.cc:325:19: error: 'BN_init' was not declared in this scope
BN_init(&bignum_);
^
../bignum.cc: In constructor 'BigNum::BigNum(int64_t)':
../bignum.cc:339:19: error: 'BN_init' was not declared in this scope
BN_init(&bignum_);
^
../bignum.cc: In constructor 'BigNum::BigNum(BIGNUM*)':
../bignum.cc:361:19: error: 'BN_init' was not declared in this scope
BN_init(&bignum_);
^
../bignum.cc: In constructor 'BigNum::BigNum()':
../bignum.cc:367:19: error: 'BN_init' was not declared in this scope
BN_init(&bignum_);
^
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::New(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:385:21: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(len, newArgs);
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc:404:39: error: no matching function for call to 'v8::Function::Call(v8::Local&, int, v8::Local*&)'
Call(ctx, info.Length(), newArgs);
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*)
V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context,
^~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
../bignum.cc:412:41: error: no matching function for call to 'v8::Value::ToObject()'
String::Utf8Value str(obj->ToObject()->Get(Nan::New("num").ToLocalChecked())->ToString());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:413:26: error: no matching function for call to 'v8::Value::ToObject()'
base = obj->ToObject()->Get(Nan::New("base").ToLocalChecked())->ToNumber()->Value();
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::ToString(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:58:37: error: no matching function for call to 'v8::Value::ToInteger()'
uint64_t VAR = info[I]->ToInteger()->Value();
^
../bignum.cc:430:5: note: in expansion of macro 'REQ_UINT64_ARG'
REQ_UINT64_ARG(0, tbase);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToInteger(
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate: v8::Local v8::Value::ToInteger(v8::Isolate*) const
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate expects 1 argument, 0 provided
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Badd(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:456:66: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:461:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bsub(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:470:66: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:474:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bmul(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:484:66: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:488:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bdiv(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:498:66: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bi = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:502:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Uadd(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:58:37: error: no matching function for call to 'v8::Value::ToInteger()'
uint64_t VAR = info[I]->ToInteger()->Value();
^
../bignum.cc:511:3: note: in expansion of macro 'REQ_UINT64_ARG'
REQ_UINT64_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToInteger(
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate: v8::Local v8::Value::ToInteger(v8::Isolate*) const
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate expects 1 argument, 0 provided
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:520:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Usub(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:58:37: error: no matching function for call to 'v8::Value::ToInteger()'
uint64_t VAR = info[I]->ToInteger()->Value();
^
../bignum.cc:529:3: note: in expansion of macro 'REQ_UINT64_ARG'
REQ_UINT64_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToInteger(
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate: v8::Local v8::Value::ToInteger(v8::Isolate*) const
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate expects 1 argument, 0 provided
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:538:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umul(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:58:37: error: no matching function for call to 'v8::Value::ToInteger()'
uint64_t VAR = info[I]->ToInteger()->Value();
^
../bignum.cc:547:3: note: in expansion of macro 'REQ_UINT64_ARG'
REQ_UINT64_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToInteger(
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate: v8::Local v8::Value::ToInteger(v8::Isolate*) const
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate expects 1 argument, 0 provided
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:557:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Udiv(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:58:37: error: no matching function for call to 'v8::Value::ToInteger()'
uint64_t VAR = info[I]->ToInteger()->Value();
^
../bignum.cc:566:3: note: in expansion of macro 'REQ_UINT64_ARG'
REQ_UINT64_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToInteger(
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate: v8::Local v8::Value::ToInteger(v8::Isolate*) const
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate expects 1 argument, 0 provided
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:576:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umul_2exp(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:44:36: error: no matching function for call to 'v8::Value::ToUint32()'
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:585:3: note: in expansion of macro 'REQ_UINT32_ARG'
REQ_UINT32_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToUint32(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate expects 1 argument, 0 provided
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:589:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Udiv_2exp(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:44:36: error: no matching function for call to 'v8::Value::ToUint32()'
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:598:3: note: in expansion of macro 'REQ_UINT32_ARG'
REQ_UINT32_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToUint32(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate expects 1 argument, 0 provided
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:602:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Babs(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:614:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bneg(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:626:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bmod(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:636:66: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:640:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umod(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:58:37: error: no matching function for call to 'v8::Value::ToInteger()'
uint64_t VAR = info[I]->ToInteger()->Value();
^
../bignum.cc:649:3: note: in expansion of macro 'REQ_UINT64_ARG'
REQ_UINT64_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToInteger(
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate: v8::Local v8::Value::ToInteger(v8::Isolate*) const
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate expects 1 argument, 0 provided
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:659:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bpowm(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:669:67: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn1 = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:670:67: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn2 = Nan::ObjectWrap::Unwrap(info[1]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:674:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Upowm(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:58:37: error: no matching function for call to 'v8::Value::ToInteger()'
uint64_t VAR = info[I]->ToInteger()->Value();
^
../bignum.cc:684:3: note: in expansion of macro 'REQ_UINT64_ARG'
REQ_UINT64_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToInteger(
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate: v8::Local v8::Value::ToInteger(v8::Isolate*) const
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate expects 1 argument, 0 provided
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:685:66: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn = Nan::ObjectWrap::Unwrap(info[1]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:691:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Upow(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:58:37: error: no matching function for call to 'v8::Value::ToInteger()'
uint64_t VAR = info[I]->ToInteger()->Value();
^
../bignum.cc:701:3: note: in expansion of macro 'REQ_UINT64_ARG'
REQ_UINT64_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToInteger(
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate: v8::Local v8::Value::ToInteger(v8::Isolate*) const
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate expects 1 argument, 0 provided
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:707:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Brand0(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:720:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Uprime0(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:44:36: error: no matching function for call to 'v8::Value::ToUint32()'
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:727:3: note: in expansion of macro 'REQ_UINT32_ARG'
REQ_UINT32_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToUint32(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate expects 1 argument, 0 provided
../bignum.cc:65:33: error: no matching function for call to 'v8::Value::ToBoolean()'
bool VAR = info[I]->ToBoolean()->Value();
^
../bignum.cc:728:3: note: in expansion of macro 'REQ_BOOL_ARG'
REQ_BOOL_ARG(1, safe);
^~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2568:59: note: candidate: v8::MaybeLocal v8::Value::ToBoolean(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToBoolean(
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2568:59: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT MaybeLocal ToBoolean(
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2584:18: note: candidate: v8::Local v8::Value::ToBoolean(v8::Isolate*) const
Local ToBoolean(Isolate* isolate) const;
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2584:18: note: candidate expects 1 argument, 0 provided
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:734:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Probprime(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:44:36: error: no matching function for call to 'v8::Value::ToUint32()'
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:744:3: note: in expansion of macro 'REQ_UINT32_ARG'
REQ_UINT32_ARG(0, reps);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToUint32(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::IsBitSet(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:44:36: error: no matching function for call to 'v8::Value::ToUint32()'
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:753:3: note: in expansion of macro 'REQ_UINT32_ARG'
REQ_UINT32_ARG(0, n);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToUint32(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bcompare(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:762:66: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Scompare(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:51:36: error: no matching function for call to 'v8::Value::ToInteger()'
int64_t VAR = info[I]->ToInteger()->Value();
^
../bignum.cc:771:3: note: in expansion of macro 'REQ_INT64_ARG'
REQ_INT64_ARG(0, x);
^~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToInteger(
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate: v8::Local v8::Value::ToInteger(v8::Isolate*) const
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate expects 1 argument, 0 provided
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Ucompare(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:58:37: error: no matching function for call to 'v8::Value::ToInteger()'
uint64_t VAR = info[I]->ToInteger()->Value();
^
../bignum.cc:782:3: note: in expansion of macro 'REQ_UINT64_ARG'
REQ_UINT64_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToInteger(
^~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2578:45: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate: v8::Local v8::Value::ToInteger(v8::Isolate*) const
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2592:32: note: candidate expects 1 argument, 0 provided
Local ToInteger(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:785:12: error: aggregate 'BIGNUM bn' has incomplete type and cannot be defined
BIGNUM bn;
^~
../bignum.cc:786:16: error: 'BN_init' was not declared in this scope
BN_init(&bn);
^
../bignum.cc: In static member function 'static v8::Local BigNum::Bop(Nan::NAN_METHOD_ARGS_TYPE, int)':
../bignum.cc:804:66: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:861:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Binvertm(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:889:66: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:893:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bgcd(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:923:66: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bi = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:70:17: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:928:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bjacobi(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:937:68: error: no matching function for call to 'v8::Value::ToObject()'
BigNum *bn_n = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bsetcompact(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:952:45: error: no matching function for call to 'v8::Value::ToUint32()'
unsigned int nCompact = info[0]->ToUint32()->Value();
^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../bignum.cc:8:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const
V8_WARN_UNUSED_RESULT MaybeLocal ToUint32(
^~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2580:44: note: candidate expects 1 argument, 0 provided
bignum.target.mk:109: recipe for target 'Release/obj.target/bignum/bignum.o' failed
make: *** [Release/obj.target/bignum/bignum.o] Error 1
make: Leaving directory '/root/node_modules/bignum/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/root/.nvm/versions/v12.13.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.9.133-at11
gyp ERR! command "/root/.nvm/versions/v12.13.1/bin/node" "/root/.nvm/versions/v12.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /root/node_modules/bignum
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'
npm WARN root No description
npm WARN root No repository field.
npm WARN root No README data
npm WARN root No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.6.2 (node_modules/usb):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.6.2 install: `prebuild-install --verbose || node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node_modules/bluetooth-hci-socket):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bignum@0.11.0 install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bignum@0.11.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-12-11T04_38_35_256Z-debug.log
root@armadillo:~# uuidgen
-bash: uuidgen: command not found

そこで、以下サイトを参考にし、node.jsのバージョンを最新版「13.3.0」から推奨版のイメージ「12.13.0」に変更した場合でも、
同じようなエラーメッセージが表示されてしまいます。

なにか原因等ございましたらご教示いただきたいです。
宜しくお願いいたします。

参考サイト
https://qiita.com/rm__rf/items/0509684ed04195e99df1#%EF%BC%91%E5%BA%A6%…

都鳥です。

bleaconのビルドに必要なパッケージがインストールされていないように見えます。
下記を実行後に再度bleaconのインストールを行ってみていただけますでしょうか。

# apt-get install bluetooth bluez libbluetooth-dev libudev-dev

参考) https://www.npmjs.com/package/bleacon#prerequisites
https://github.com/noble/noble#prerequisites

また、bleacon再インストールの前に、下記コマンドでbleaconをアンインストールしてください。

# npm uninstall bleacon

宇野です。
パッケージをインストールして再度bleaconのインストールをしましたが、同じエラー表示になってしまいました。

nodebrewのインストール

node.jsのインストール

bleaconのインストール

を行ったログのファイルを添付しました。
何か原因等わかりましたら、ぜひ教えていただきたいです。

ファイル ファイルの説明
bleacon インストール.txt

at_keitaro.takahashi

2019年12月12日 13時43分

高橋です。

node.jsをv8.11.3にしてもう一度試していただけますか

nvm install v8.11.3 
nvm use v8.11.3
npm install bleacon