root@armadillo:~# curl -L git.io/nodebrew | perl - setup % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 24634 100 24634 0 0 10399 0 0:00:02 0:00:02 --:--:-- 10399 Fetching nodebrew... Installed nodebrew in $HOME/.nodebrew ======================================== Export a path to nodebrew: export PATH=$HOME/.nodebrew/current/bin:$PATH ======================================== root@armadillo:~# wget git.io/nodebrew URL transformed to HTTPS due to an HSTS policy --2019-12-12 03:19:55-- https://git.io/nodebrew Resolving git.io (git.io)... 54.165.42.51, 34.237.203.145, 52.5.84.255, ... Connecting to git.io (git.io)|54.165.42.51|:443... connected. perl nodebrew setup^H^H random: crng init done HTTP request sent, awaiting response... 302 Found Location: https://raw.github.com/hokaccha/nodebrew/master/nodebrew [following] --2019-12-12 03:20:19-- https://raw.github.com/hokaccha/nodebrew/master/nodebrew Resolving raw.github.com (raw.github.com)... 151.101.228.133 Connecting to raw.github.com (raw.github.com)|151.101.228.133|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://raw.githubusercontent.com/hokaccha/nodebrew/master/nodebrew [following] --2019-12-12 03:20:19-- https://raw.githubusercontent.com/hokaccha/nodebrew/master/nodebrew Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.228.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.228.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 24634 (24K) [text/plain] Saving to: 'nodebrew.4' nodebrew.4 100%[===================>] 24.06K --.-KB/s in 0.02s 2019-12-12 03:20:25 (1.45 MB/s) - 'nodebrew.4' saved [24634/24634] root@armadillo:~# perl nodebrew set nodebrew 1.0.1 Usage: nodebrew help Show this message nodebrew install Download and install (from binary) nodebrew compile Download and install (from source) nodebrew install-binary Alias of `install` (For backward compatibility) nodebrew uninstall Uninstall nodebrew use Use nodebrew list List installed versions nodebrew ls Alias for `list` nodebrew ls-remote List remote versions nodebrew ls-all List remote and installed versions nodebrew alias Set alias nodebrew unalias Remove alias nodebrew clean | all Remove source file nodebrew selfupdate Update nodebrew nodebrew migrate-package Install global NPM packages contained in to current version nodebrew exec -- Execute using specified Example: # install nodebrew install v8.9.4 # use a specific version number nodebrew use v8.9.4 root@armadillo:~# root@armadillo:~# root@armadillo:~# perl nodebrew setup Fetching nodebrew... Installed nodebrew in $HOME/.nodebrew ======================================== Export a path to nodebrew: export PATH=$HOME/.nodebrew/current/bin:$PATH ======================================== root@armadillo:~# cdc_ether 1-1:1.0 usb1: kevent 12 may have been dropped IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready source ~/.bashrc root@armadillo:~# source ~/.bashrc root@armadillo:~# apt-get update Ign:1 http://ftp.jp.debian.org/debian stretch InRelease Ign:2 http://download.atmark-techno.com/debian stretch InRelease Hit:3 http://ftp.jp.debian.org/debian stretch Release Hit:4 http://download.atmark-techno.com/debian stretch Release Get:5 http://security.debian.org stretch/updates InRelease [94.3 kB] Fetched 94.3 kB in 2s (39.7 kB/s) Reading package lists... Done root@armadillo:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 18.0/install.sh | bash -qO- https://raw.githubusercontent.com/creationix/nvm/v0. => Downloading nvm as script to '/root/.nvm' => Source string already in /root/.bashrc => Close and reopen your terminal to start using nvm root@armadillo:~# echo "source ~/.nvm/nvm.sh" >> ~/.profile root@armadillo:~# exit logout Debian GNU/Linux 9 armadillo ttymxc4 armadillo login: root Password: Last login: Thu Dec 12 03:18:33 UTC 2019 on ttymxc4 Linux armadillo 4.9.133-at11 #2 SMP PREEMPT Fri Aug 2 19:13:16 JST 2019 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@armadillo:~# nvm ls-remote v0.1.14 v0.1.15 v0.1.16 v0.1.17 v0.1.18 v0.1.19 v0.1.20 v0.1.21 v0.1.22 v0.1.23 v0.1.24 v0.1.25 v0.1.26 v0.1.27 v0.1.28 v0.1.29 v0.1.30 v0.1.31 v0.1.32 v0.1.33 v0.1.90 v0.1.91 v0.1.92 v0.1.93 v0.1.94 v0.1.95 v0.1.96 v0.1.97 v0.1.98 v0.1.99 v0.1.100 v0.1.101 v0.1.102 v0.1.103 v0.1.104 v0.2.0 v0.2.1 v0.2.2 v0.2.3 v0.2.4 v0.2.5 v0.2.6 v0.3.0 v0.3.1 v0.3.2 v0.3.3 v0.3.4 v0.3.5 v0.3.6 v0.3.7 v0.3.8 v0.4.0 v0.4.1 v0.4.2 v0.4.3 v0.4.4 v0.4.5 v0.4.6 v0.4.7 v0.4.8 v0.4.9 v0.4.10 v0.4.11 v0.4.12 v0.5.0 v0.5.1 v0.5.2 v0.5.3 v0.5.4 v0.5.5 v0.5.6 v0.5.7 v0.5.8 v0.5.9 v0.5.10 v0.6.0 v0.6.1 v0.6.2 v0.6.3 v0.6.4 v0.6.5 v0.6.6 v0.6.7 v0.6.8 v0.6.9 v0.6.10 v0.6.11 v0.6.12 v0.6.13 v0.6.14 v0.6.15 v0.6.16 v0.6.17 v0.6.18 v0.6.19 v0.6.20 v0.6.21 v0.7.0 v0.7.1 v0.7.2 v0.7.3 v0.7.4 v0.7.5 v0.7.6 v0.7.7 v0.7.8 v0.7.9 v0.7.10 v0.7.11 v0.7.12 v0.8.0 v0.8.1 v0.8.2 v0.8.3 v0.8.4 v0.8.5 v0.8.6 v0.8.7 v0.8.8 v0.8.9 v0.8.10 v0.8.11 v0.8.12 v0.8.13 v0.8.14 v0.8.15 v0.8.16 v0.8.17 v0.8.18 v0.8.19 v0.8.20 v0.8.21 v0.8.22 v0.8.23 v0.8.24 v0.8.25 v0.8.26 v0.8.27 v0.8.28 v0.9.0 v0.9.1 v0.9.2 v0.9.3 v0.9.4 v0.9.5 v0.9.6 v0.9.7 v0.9.8 v0.9.9 v0.9.10 v0.9.11 v0.9.12 v0.10.0 v0.10.1 v0.10.2 v0.10.3 v0.10.4 v0.10.5 v0.10.6 v0.10.7 v0.10.8 v0.10.9 v0.10.10 v0.10.11 v0.10.12 v0.10.13 v0.10.14 v0.10.15 v0.10.16 v0.10.17 v0.10.18 v0.10.19 v0.10.20 v0.10.21 v0.10.22 v0.10.23 v0.10.24 v0.10.25 v0.10.26 v0.10.27 v0.10.28 v0.10.29 v0.10.30 v0.10.31 v0.10.32 v0.10.33 v0.10.34 v0.10.35 v0.10.36 v0.10.37 v0.10.38 v0.10.39 v0.10.40 v0.10.41 v0.10.42 v0.10.43 v0.10.44 v0.10.45 v0.10.46 v0.10.47 v0.10.48 v0.11.0 v0.11.1 v0.11.2 v0.11.3 v0.11.4 v0.11.5 v0.11.6 v0.11.7 v0.11.8 v0.11.9 v0.11.10 v0.11.11 v0.11.12 v0.11.13 v0.11.14 v0.11.15 v0.11.16 v0.12.0 v0.12.1 v0.12.2 v0.12.3 v0.12.4 v0.12.5 v0.12.6 v0.12.7 v0.12.8 v0.12.9 v0.12.10 v0.12.11 v0.12.12 v0.12.13 v0.12.14 v0.12.15 v0.12.16 v0.12.17 v0.12.18 v4.0.0 v4.1.0 v4.1.1 v4.1.2 v4.2.0 v4.2.1 v4.2.2 v4.2.3 v4.2.4 v4.2.5 v4.2.6 v4.3.0 v4.3.1 v4.3.2 v4.4.0 v4.4.1 v4.4.2 v4.4.3 v4.4.4 v4.4.5 v4.4.6 v4.4.7 v4.5.0 v4.6.0 v4.6.1 v4.6.2 v4.7.0 v4.7.1 v4.7.2 v4.7.3 v4.8.0 v4.8.1 v4.8.2 v4.8.3 v4.8.4 v4.8.5 v4.8.6 v4.8.7 v4.9.0 v4.9.1 v5.0.0 v5.1.0 v5.1.1 v5.2.0 v5.3.0 v5.4.0 v5.4.1 v5.5.0 v5.6.0 v5.7.0 v5.7.1 v5.8.0 v5.9.0 v5.9.1 v5.10.0 v5.10.1 v5.11.0 v5.11.1 v5.12.0 v6.0.0 v6.1.0 v6.2.0 v6.2.1 v6.2.2 v6.3.0 v6.3.1 v6.4.0 v6.5.0 v6.6.0 v6.7.0 v6.8.0 v6.8.1 v6.9.0 v6.9.1 v6.9.2 v6.9.3 v6.9.4 v6.9.5 v6.10.0 v6.10.1 v6.10.2 v6.10.3 v6.11.0 v6.11.1 v6.11.2 v6.11.3 v6.11.4 v6.11.5 v6.12.0 v6.12.1 v6.12.2 v6.12.3 v6.13.0 v6.13.1 v6.14.0 v6.14.1 v6.14.2 v6.14.3 v6.14.4 v6.15.0 v6.15.1 v6.16.0 v6.17.0 v6.17.1 v7.0.0 v7.1.0 v7.2.0 v7.2.1 v7.3.0 v7.4.0 v7.5.0 v7.6.0 v7.7.0 v7.7.1 v7.7.2 v7.7.3 v7.7.4 v7.8.0 v7.9.0 v7.10.0 v7.10.1 v8.0.0 v8.1.0 v8.1.1 v8.1.2 v8.1.3 v8.1.4 v8.2.0 v8.2.1 v8.3.0 v8.4.0 v8.5.0 v8.6.0 v8.7.0 v8.8.0 v8.8.1 v8.9.0 v8.9.1 v8.9.2 v8.9.3 v8.9.4 v8.10.0 v8.11.0 v8.11.1 v8.11.2 v8.11.3 v8.11.4 v8.12.0 v8.13.0 v8.14.0 v8.14.1 v8.15.0 v8.15.1 v8.16.0 v8.16.1 v8.16.2 v9.0.0 v9.1.0 v9.2.0 v9.2.1 v9.3.0 v9.4.0 v9.5.0 v9.6.0 v9.6.1 v9.7.0 v9.7.1 v9.8.0 v9.9.0 v9.10.0 v9.10.1 v9.11.0 v9.11.1 v9.11.2 v10.0.0 v10.1.0 v10.2.0 v10.2.1 v10.3.0 v10.4.0 v10.4.1 v10.5.0 v10.6.0 v10.7.0 v10.8.0 v10.9.0 v10.10.0 v10.11.0 v10.12.0 v10.13.0 v10.14.0 v10.14.1 v10.14.2 v10.15.0 v10.15.1 v10.15.2 v10.15.3 v10.16.0 v10.16.1 v10.16.2 v10.16.3 v10.17.0 v11.0.0 v11.1.0 v11.2.0 v11.3.0 v11.4.0 v11.5.0 v11.6.0 v11.7.0 v11.8.0 v11.9.0 v11.10.0 v11.10.1 v11.11.0 v11.12.0 v11.13.0 v11.14.0 v11.15.0 v12.0.0 v12.1.0 v12.2.0 v12.3.0 v12.3.1 v12.4.0 v12.5.0 v12.6.0 v12.7.0 v12.8.0 v12.8.1 v12.9.0 v12.9.1 v12.10.0 v12.11.0 v12.11.1 v12.12.0 v12.13.0 v12.13.1 v13.0.0 v13.0.1 v13.1.0 v13.2.0 v13.3.0 root@armadillo:~# wlcore: Beacon loss detected. roles:0x1 wlcore: Connection loss work (role_id: 0). wlan0: Connection to AP 90:72:40:24:d7:11 lost wlan0: authenticate with 90:72:40:24:d7:11 wlan0: send auth to 90:72:40:24:d7:11 (try 1/3) wlan0: authenticated wlan0: associate with 90:72:40:24:d7:11 (try 1/3) wlan0: RX AssocResp from 90:72:40:24:d7:11 (capab=0x1011 status=0 aid=14) wlan0: associated wlcore: Association completed. root@armadillo:~# mkdir -p ~/.nvm/versions root@armadillo:~# nvm install 13.3.0 v13.3.0 is already installed. Now using node v13.3.0 root@armadillo:~# nvm ls v12.13.1 -> v13.3.0 system unstable -> 13.3 (-> v13.3.0) (default) root@armadillo:~# sudo apt-get update Hit:1 http://security.debian.org stretch/updates InRelease Ign:2 http://download.atmark-techno.com/debian stretch InRelease Ign:3 http://ftp.jp.debian.org/debian stretch InRelease Hit:4 http://download.atmark-techno.com/debian stretch Release Hit:5 http://ftp.jp.debian.org/debian stretch Release Reading package lists... Done root@armadillo:~# sudo apt-get install libbluetooth-dev Reading package lists... Done Building dependency tree Reading state information... Done libbluetooth-dev is already the newest version (5.43-2+deb9u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@armadillo:~# apt-get install bluetooth bluez libbluetooth-dev libudev-dev Reading package lists... Done Building dependency tree Reading state information... Done bluetooth is already the newest version (5.43-2+deb9u1). bluez is already the newest version (5.43-2+deb9u1). libbluetooth-dev is already the newest version (5.43-2+deb9u1). libudev-dev is already the newest version (232-25+deb9u12). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@armadillo:~# npm uninstall 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/4e449c-usb-v1.6.2-node-v79-linux-arm.tar.gz prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.2/usb-v1.6.2-node-v79-linux-arm.tar.gz prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.2/usb-v1.6.2-node-v79-linux-arm.tar.gz prebuild-install WARN install No prebuilt binaries found (target=13.3.0 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 AR(target) Release/obj.target/usb.a COPY Release/usb.a CXX(target) Release/obj.target/usb_bindings/src/node_usb.o ../src/node_usb.cc: In function 'void handleHotplug(std::pair ': ../src/node_usb.cc:151:58: warning: 'v8::Local Nan::MakeCallback(v8::Local, const char*, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/node_usb.cc:1: ../node_modules/nan/nan.h:1001:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/device.o ../src/device.cc: In static member function 'static void Req::default_after(uv_work_t*)': ../src/device.cc:237:64: warning: 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/device.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/transfer.o ../src/transfer.cc: In function 'void handleCompletion(Transfer*)': ../src/transfer.cc:126:72: warning: 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/transfer.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/usb_bindings.node COPY Release/usb_bindings.node make: Leaving directory '/root/node_modules/usb/build' > 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/13.3.0/include/node/node.h:63:0, from /root/.cache/node-gyp/13.3.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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: error: no matching function for call to 'v8::Object::Get(v8::Local)' or = Local::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked())); ^ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from /root/.cache/node-gyp/13.3.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /root/.cache/node-gyp/13.3.0/include/node/v8.h:3594:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:3594:43: note: candidate expects 2 arguments, 1 provided /root/.cache/node-gyp/13.3.0/include/node/v8.h:3597:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:3597:43: note: candidate expects 2 arguments, 1 provided ../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/13.3.0/include/node/node.h:63:0, from /root/.cache/node-gyp/13.3.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /root/.cache/node-gyp/13.3.0/include/node/v8.h:4318:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local, int, v8::Local*) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:4318:44: note: candidate expects 3 arguments, 2 provided /root/.cache/node-gyp/13.3.0/include/node/v8.h:4321:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:4321: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/13.3.0/include/node/node.h:63:0, from /root/.cache/node-gyp/13.3.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2774:40: note: candidate: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^~~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2774: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/13.3.0/include/node/node.h:63:0, from /root/.cache/node-gyp/13.3.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2774:40: note: candidate: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^~~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2774: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/v13.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:219:5) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12) gyp ERR! System Linux 4.9.133-at11 gyp ERR! command "/root/.nvm/versions/v13.3.0/bin/node" "/root/.nvm/versions/v13.3.0/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 v13.3.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok npm WARN saveError ENOENT: no such file or directory, open '/root/package.json' 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: 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 audited 326 packages in 77.492s found 2 low severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details 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/4e449c-usb-v1.6.2-node-v79-linux-arm.tar.gz prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.2/usb-v1.6.2-node-v79-linux-arm.tar.gz prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.2/usb-v1.6.2-node-v79-linux-arm.tar.gz prebuild-install WARN install No prebuilt binaries found (target=13.3.0 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 AR(target) Release/obj.target/usb.a COPY Release/usb.a CXX(target) Release/obj.target/usb_bindings/src/node_usb.o ../src/node_usb.cc: In function 'void handleHotplug(std::pair ': ../src/node_usb.cc:151:58: warning: 'v8::Local Nan::MakeCallback(v8::Local, const char*, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/node_usb.cc:1: ../node_modules/nan/nan.h:1001:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/device.o ../src/device.cc: In static member function 'static void Req::default_after(uv_work_t*)': ../src/device.cc:237:64: warning: 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/device.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/transfer.o ../src/transfer.cc: In function 'void handleCompletion(Transfer*)': ../src/transfer.cc:126:72: warning: 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/transfer.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/usb_bindings.node COPY Release/usb_bindings.node make: Leaving directory '/root/node_modules/usb/build' > 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/13.3.0/include/node/node.h:63:0, from /root/.cache/node-gyp/13.3.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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: error: no matching function for call to 'v8::Object::Get(v8::Local)' or = Local::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked())); ^ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from /root/.cache/node-gyp/13.3.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /root/.cache/node-gyp/13.3.0/include/node/v8.h:3594:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:3594:43: note: candidate expects 2 arguments, 1 provided /root/.cache/node-gyp/13.3.0/include/node/v8.h:3597:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:3597:43: note: candidate expects 2 arguments, 1 provided ../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/13.3.0/include/node/node.h:63:0, from /root/.cache/node-gyp/13.3.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /root/.cache/node-gyp/13.3.0/include/node/v8.h:4318:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local, int, v8::Local*) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:4318:44: note: candidate expects 3 arguments, 2 provided /root/.cache/node-gyp/13.3.0/include/node/v8.h:4321:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:4321: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/13.3.0/include/node/node.h:63:0, from /root/.cache/node-gyp/13.3.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2774:40: note: candidate: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^~~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2774: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/13.3.0/include/node/node.h:63:0, from /root/.cache/node-gyp/13.3.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2774:40: note: candidate: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^~~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2774: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/v13.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:219:5) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12) gyp ERR! System Linux 4.9.133-at11 gyp ERR! command "/root/.nvm/versions/v13.3.0/bin/node" "/root/.nvm/versions/v13.3.0/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 v13.3.0 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/13.3.0/include/node/openssl/bn.h:19:0, from ../bignum.cc:9: /root/.cache/node-gyp/13.3.0/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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:4335: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/13.3.0/include/node/v8.h:4335: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided ../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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided ../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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInteger( ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate expects 1 argument, 0 provided ../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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754: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:461:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754: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:474:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754: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:488:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754: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:502:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInteger( ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: 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:520:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInteger( ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: 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:538:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInteger( ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: 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:557:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInteger( ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: 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:576:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToUint32( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToUint32( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754: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:640:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInteger( ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: 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:659:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided ../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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754: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:674:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInteger( ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate expects 1 argument, 0 provided ../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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754: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:691:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInteger( ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: 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:707:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToUint32( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2762:18: note: candidate: v8::Local v8::Value::ToBoolean(v8::Isolate*) const Local ToBoolean(Isolate* isolate) const; ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2762: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToUint32( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToUint32( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided ../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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInteger( ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate expects 1 argument, 0 provided ../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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate: v8::MaybeLocal v8::Value::ToInteger(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInteger( ^~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2756:45: note: candidate expects 1 argument, 0 provided ../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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754: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:861:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754: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:893:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754: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:928:3: note: in expansion of macro 'WRAP_RESULT' WRAP_RESULT(res, result); ^~~~~~~~~~~ In file included from /root/.cache/node-gyp/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:6283: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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided ../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/13.3.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../bignum.cc:8: /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToUint32( ^~~~~~~~ /root/.cache/node-gyp/13.3.0/include/node/v8.h:2758: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/v13.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:219:5) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12) gyp ERR! System Linux 4.9.133-at11 gyp ERR! command "/root/.nvm/versions/v13.3.0/bin/node" "/root/.nvm/versions/v13.3.0/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 v13.3.0 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: 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-12T04_24_17_862Z-debug.log root@armadillo:~#