You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed node 14 (lts), which works fine, i could install nemerous modules without any problems.
Now trying installing this module i've got an error:
root@localhost:~/node$ sudo npm install bluetooth-serial-port
> bluetooth-serial-port@2.2.7 install /root/node/node_modules/bluetooth-serial-port
> node-gyp configure build
make: Entering directory '/root/node/node_modules/bluetooth-serial-port/build'
CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
In file included from ../src/linux/BluetoothSerialPort.cc:12:
/root/.cache/node-gyp/14.17.0/include/node/node.h:758:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/root/.cache/node-gyp/14.17.0/include/node/node.h:792:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(BluetoothSerialPort, InitAll)
^~~~~~~~~~~
CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o
../src/linux/DeviceINQ.cc: In static member function ‘static void DeviceINQ::EIO_AfterSdpSearch(uv_work_t*)’:
../src/linux/DeviceINQ.cc:139:28: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
baton->cb->Call(1, argv);
^
In file included from ../src/linux/DeviceINQ.cc:14:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/linux/DeviceINQ.cc: In static member function ‘static void DeviceINQ::Init(v8::Local<v8::Object>)’:
../src/linux/DeviceINQ.cc:166:98: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
target->Set(ctx, Nan::New("DeviceINQ").ToLocalChecked(), t->GetFunction(ctx).ToLocalChecked());
^
In file included from ../src/linux/DeviceINQ.cc:12:
/root/.cache/node-gyp/14.17.0/include/node/v8.h:3670:37: note: declared here
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^~~
../src/linux/DeviceINQ.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::InquireSync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/linux/DeviceINQ.cc:251:26: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
found->Call(2, argv);
^
In file included from ../src/linux/DeviceINQ.cc:14:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/linux/DeviceINQ.cc:255:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
callback->Call(0, argv);
^
In file included from ../src/linux/DeviceINQ.cc:14:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/linux/DeviceINQ.cc: In member function ‘virtual void InquireWorker::HandleOKCallback()’:
../src/linux/DeviceINQ.cc:284:26: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
found->Call(2, argv);
^
In file included from ../src/linux/DeviceINQ.cc:14:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/linux/DeviceINQ.cc:288:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
callback->Call(0, argv);
^
In file included from ../src/linux/DeviceINQ.cc:14:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/linux/DeviceINQ.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::SdpSearch(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/linux/DeviceINQ.cc:335:88: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), &baton->request, EIO_SdpSearch, (uv_after_work_cb)EIO_AfterSdpSearch);
^~~~~~~~~~~~~~~~~~
../src/linux/DeviceINQ.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::ListPairedDevices(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/linux/DeviceINQ.cc:366:83: warning: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute warn_unused_result [-Wunused-result]
cb->Call(Nan::GetCurrentContext(), Nan::GetCurrentContext()->Global(), 1, argv);
^
In file included from ../src/linux/DeviceINQ.cc:12:
/root/.cache/node-gyp/14.17.0/include/node/v8.h:4468:43: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/root/.cache/node-gyp/14.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/root/.cache/node-gyp/14.17.0/include/node/node_object_wrap.h:85:78: required from here
/root/.cache/node-gyp/14.17.0/include/node/v8.h:10874:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
reinterpret_cast<Callback>(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.cache/node-gyp/14.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61: required from here
/root/.cache/node-gyp/14.17.0/include/node/v8.h:10874:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BTSerialPortBinding.o
../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterConnect(uv_work_t*)’:
../src/linux/BTSerialPortBinding.cc:83:32: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
baton->cb->Call(0, NULL);
^
In file included from ../src/linux/BTSerialPortBinding.cc:14:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/linux/BTSerialPortBinding.cc:90:33: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
baton->ecb->Call(1, argv);
^
In file included from ../src/linux/BTSerialPortBinding.cc:14:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_Write(uv_work_t*)’:
../src/linux/BTSerialPortBinding.cc:114:62: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
int bytesSent = write(rfcomm->s, data->bufferData+data->result, bytesToSend);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterWrite(uv_work_t*)’:
../src/linux/BTSerialPortBinding.cc:143:33: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback->Call(2, argv);
^
In file included from ../src/linux/BTSerialPortBinding.cc:14:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/linux/BTSerialPortBinding.cc:152:94: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), &nextQueuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite);
^~~~~~~~~~~~~~
../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterRead(uv_work_t*)’:
../src/linux/BTSerialPortBinding.cc:206:117: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
Local<Function> bufferConstructor = Local<Function>::Cast(globalObj->Get(Nan::New("Buffer").ToLocalChecked()));
^
In file included from ../src/linux/BTSerialPortBinding.cc:12:
/root/.cache/node-gyp/14.17.0/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/root/.cache/node-gyp/14.17.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.17.0/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/root/.cache/node-gyp/14.17.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
../src/linux/BTSerialPortBinding.cc:215:28: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
baton->cb->Call(2, argv);
^
In file included from ../src/linux/BTSerialPortBinding.cc:14:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::Init(v8::Local<v8::Object>)’:
../src/linux/BTSerialPortBinding.cc:242:103: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Function>)’
target->Set(Nan::New("BTSerialPortBinding").ToLocalChecked(), t->GetFunction(ctx).ToLocalChecked());
^
In file included from ../src/linux/BTSerialPortBinding.cc:12:
/root/.cache/node-gyp/14.17.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^~~
/root/.cache/node-gyp/14.17.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.17.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^~~
/root/.cache/node-gyp/14.17.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
../src/linux/BTSerialPortBinding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/linux/BTSerialPortBinding.cc:290:86: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), &baton->request, EIO_Connect, (uv_after_work_cb)EIO_AfterConnect);
^~~~~~~~~~~~~~~~
../src/linux/BTSerialPortBinding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/linux/BTSerialPortBinding.cc:323:43: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct BTSerialPortBinding::write_baton_t’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
memset(baton, 0, sizeof(write_baton_t));
^
In file included from ../src/linux/BTSerialPortBinding.cc:19:
../src/BTSerialPortBinding.h:68:16: note: ‘struct BTSerialPortBinding::write_baton_t’ declared here
struct write_baton_t {
^~~~~~~~~~~~~
../src/linux/BTSerialPortBinding.cc:342:90: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), &queuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite);
^~~~~~~~~~~~~~
../src/linux/BTSerialPortBinding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::Read(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/linux/BTSerialPortBinding.cc:392:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
nc->Call(2, argv);
^
In file included from ../src/linux/BTSerialPortBinding.cc:14:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/linux/BTSerialPortBinding.cc:400:87: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), &baton->request, EIO_Read, (uv_after_work_cb)EIO_AfterRead);
^~~~~~~~~~~~~
In file included from ../src/linux/BTSerialPortBinding.cc:12:
/root/.cache/node-gyp/14.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/root/.cache/node-gyp/14.17.0/include/node/node_object_wrap.h:85:78: required from here
/root/.cache/node-gyp/14.17.0/include/node/v8.h:10874:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
reinterpret_cast<Callback>(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.cache/node-gyp/14.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61: required from here
/root/.cache/node-gyp/14.17.0/include/node/v8.h:10874:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
make: *** [BluetoothSerialPort.target.mk:115: Release/obj.target/BluetoothSerialPort/src/linux/BTSerialPortBinding.o] Error 1
make: Leaving directory '/root/node/node_modules/bluetooth-serial-port/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:376:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Linux 5.10.14+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /root/node/node_modules/bluetooth-serial-port
gyp ERR! node -v v14.17.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/root/node/package.json'
npm WARN node No description
npm WARN node No repository field.
npm WARN node No README data
npm WARN node No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bluetooth-serial-port@2.2.7 install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bluetooth-serial-port@2.2.7 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/2021-06-03T07_29_58_312Z-debug.log
the logs mentioned above are as follows:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', 'bluetooth-serial-port' ]
2 info using npm@6.14.13
3 info using node@v14.17.0
4 verbose npm-session d5eda56a78716bf6
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 304 https://registry.npmjs.org/bluetooth-serial-port 1155ms (from cache)
8 silly pacote tag manifest for bluetooth-serial-port@latest fetched in 1329ms
9 timing stage:loadCurrentTree Completed in 1892ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 5ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 15ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule bluetooth-serial-port@2.2.7 checking installable status
17 http fetch GET 304 https://registry.npmjs.org/bindings 1337ms (from cache)
18 http fetch GET 304 https://registry.npmjs.org/nan 1407ms (from cache)
19 silly pacote range manifest for bindings@1.2.x fetched in 1473ms
20 silly resolveWithNewModule bindings@1.2.1 checking installable status
21 http fetch GET 304 https://registry.npmjs.org/stable 1442ms (from cache)
22 silly pacote tag manifest for nan@latest fetched in 1499ms
23 silly resolveWithNewModule nan@2.14.2 checking installable status
24 silly pacote range manifest for stable@^0.1.8 fetched in 1504ms
25 silly resolveWithNewModule stable@0.1.8 checking installable status
26 http fetch GET 304 https://registry.npmjs.org/@types%2fnode 1565ms (from cache)
27 silly pacote range manifest for @types/node@^7.0.10 fetched in 1880ms
28 silly resolveWithNewModule @types/node@7.10.14 checking installable status
29 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 2097ms
30 timing stage:loadIdealTree Completed in 2177ms
31 silly currentTree node
32 silly idealTree node
32 silly idealTree ├── @types/node@7.10.14
32 silly idealTree ├── bindings@1.2.1
32 silly idealTree ├── bluetooth-serial-port@2.2.7
32 silly idealTree ├── nan@2.14.2
32 silly idealTree └── stable@0.1.8
33 silly install generateActionsToTake
34 timing stage:generateActionsToTake Completed in 95ms
35 silly diffTrees action count 5
36 silly diffTrees add @types/node@7.10.14
37 silly diffTrees add bindings@1.2.1
38 silly diffTrees add nan@2.14.2
39 silly diffTrees add stable@0.1.8
40 silly diffTrees add bluetooth-serial-port@2.2.7
41 silly decomposeActions action count 40
42 silly decomposeActions fetch @types/node@7.10.14
43 silly decomposeActions extract @types/node@7.10.14
44 silly decomposeActions preinstall @types/node@7.10.14
45 silly decomposeActions build @types/node@7.10.14
46 silly decomposeActions install @types/node@7.10.14
47 silly decomposeActions postinstall @types/node@7.10.14
48 silly decomposeActions finalize @types/node@7.10.14
49 silly decomposeActions refresh-package-json @types/node@7.10.14
50 silly decomposeActions fetch bindings@1.2.1
51 silly decomposeActions extract bindings@1.2.1
52 silly decomposeActions preinstall bindings@1.2.1
53 silly decomposeActions build bindings@1.2.1
54 silly decomposeActions install bindings@1.2.1
55 silly decomposeActions postinstall bindings@1.2.1
56 silly decomposeActions finalize bindings@1.2.1
57 silly decomposeActions refresh-package-json bindings@1.2.1
58 silly decomposeActions fetch nan@2.14.2
59 silly decomposeActions extract nan@2.14.2
60 silly decomposeActions preinstall nan@2.14.2
61 silly decomposeActions build nan@2.14.2
62 silly decomposeActions install nan@2.14.2
63 silly decomposeActions postinstall nan@2.14.2
64 silly decomposeActions finalize nan@2.14.2
65 silly decomposeActions refresh-package-json nan@2.14.2
66 silly decomposeActions fetch stable@0.1.8
67 silly decomposeActions extract stable@0.1.8
68 silly decomposeActions preinstall stable@0.1.8
69 silly decomposeActions build stable@0.1.8
70 silly decomposeActions install stable@0.1.8
71 silly decomposeActions postinstall stable@0.1.8
72 silly decomposeActions finalize stable@0.1.8
73 silly decomposeActions refresh-package-json stable@0.1.8
74 silly decomposeActions fetch bluetooth-serial-port@2.2.7
75 silly decomposeActions extract bluetooth-serial-port@2.2.7
76 silly decomposeActions preinstall bluetooth-serial-port@2.2.7
77 silly decomposeActions build bluetooth-serial-port@2.2.7
78 silly decomposeActions install bluetooth-serial-port@2.2.7
79 silly decomposeActions postinstall bluetooth-serial-port@2.2.7
80 silly decomposeActions finalize bluetooth-serial-port@2.2.7
81 silly decomposeActions refresh-package-json bluetooth-serial-port@2.2.7
82 silly install executeActions
83 silly doSerial global-install 40
84 verbose correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
85 verbose lock using /root/.npm/_locks/staging-a9a1fec00fe79a63.lock for /root/node/node_modules/.staging
86 silly doParallel extract 5
87 silly extract @types/node@7.10.14
88 silly extract bindings@1.2.1
89 silly extract nan@2.14.2
90 silly extract stable@0.1.8
91 silly extract bluetooth-serial-port@2.2.7
92 silly tarball trying bindings@1.2.x by hash: sha1-FK1hE4EtLTfXLme0ystLtyZQXxE=
93 silly tarball trying nan@latest by hash: sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==
94 silly tarball trying stable@^0.1.8 by hash: sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==
95 silly tarball trying bluetooth-serial-port@latest by hash: sha512-R/ozYD6bUPBaYstowIwPPezZph2zW84Icryh02vVJYQxWuAcigxSoZRljbvp4IEGMWwjREArLQCKxT6B/ME60A==
96 silly tarball trying @types/node@^7.0.10 by hash: sha512-29GS75BE8asnTno3yB6ubOJOO0FboExEqNJy4bpz0GSmW/8wPTNL4h9h63c6s1uTrOopCmJYe/4yJLh5r92ZUA==
97 timing audit submit Completed in 890ms
98 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 890ms
99 timing audit body Completed in 24ms
100 silly extract bindings@1.2.x extracted to /root/node/node_modules/.staging/bindings-3344ed6e (840ms)
101 silly extract stable@^0.1.8 extracted to /root/node/node_modules/.staging/stable-147ce1ed (873ms)
102 silly extract @types/node@^7.0.10 extracted to /root/node/node_modules/.staging/@types/node-bca4fe05 (981ms)
103 silly extract nan@latest extracted to /root/node/node_modules/.staging/nan-8c95a7e2 (1388ms)
104 silly extract bluetooth-serial-port@latest extracted to /root/node/node_modules/.staging/bluetooth-serial-port-dac87a2a (2515ms)
105 timing action:extract Completed in 2573ms
106 silly doReverseSerial unbuild 40
107 silly doSerial remove 40
108 silly doSerial move 40
109 silly doSerial finalize 40
110 silly finalize /root/node/node_modules/@types/node
111 silly finalize /root/node/node_modules/bindings
112 silly finalize /root/node/node_modules/nan
113 silly finalize /root/node/node_modules/stable
114 silly finalize /root/node/node_modules/bluetooth-serial-port
115 timing action:finalize Completed in 157ms
116 silly doParallel refresh-package-json 5
117 silly refresh-package-json /root/node/node_modules/@types/node
118 silly refresh-package-json /root/node/node_modules/bindings
119 silly refresh-package-json /root/node/node_modules/nan
120 silly refresh-package-json /root/node/node_modules/stable
121 silly refresh-package-json /root/node/node_modules/bluetooth-serial-port
122 timing action:refresh-package-json Completed in 453ms
123 silly doParallel preinstall 5
124 silly preinstall @types/node@7.10.14
125 info lifecycle @types/node@7.10.14~preinstall: @types/node@7.10.14
126 silly preinstall bindings@1.2.1
127 info lifecycle bindings@1.2.1~preinstall: bindings@1.2.1
128 silly preinstall nan@2.14.2
129 info lifecycle nan@2.14.2~preinstall: nan@2.14.2
130 silly preinstall stable@0.1.8
131 info lifecycle stable@0.1.8~preinstall: stable@0.1.8
132 silly preinstall bluetooth-serial-port@2.2.7
133 info lifecycle bluetooth-serial-port@2.2.7~preinstall: bluetooth-serial-port@2.2.7
134 timing action:preinstall Completed in 39ms
135 silly doSerial build 40
136 silly build @types/node@7.10.14
137 info linkStuff @types/node@7.10.14
138 silly linkStuff @types/node@7.10.14 has /root/node/node_modules as its parent node_modules
139 silly build bindings@1.2.1
140 info linkStuff bindings@1.2.1
141 silly linkStuff bindings@1.2.1 has /root/node/node_modules as its parent node_modules
142 silly build nan@2.14.2
143 info linkStuff nan@2.14.2
144 silly linkStuff nan@2.14.2 has /root/node/node_modules as its parent node_modules
145 silly build stable@0.1.8
146 info linkStuff stable@0.1.8
147 silly linkStuff stable@0.1.8 has /root/node/node_modules as its parent node_modules
148 silly build bluetooth-serial-port@2.2.7
149 info linkStuff bluetooth-serial-port@2.2.7
150 silly linkStuff bluetooth-serial-port@2.2.7 has /root/node/node_modules as its parent node_modules
151 timing action:build Completed in 45ms
152 silly doSerial global-link 40
153 silly doParallel update-linked 0
154 silly doSerial install 40
155 silly install @types/node@7.10.14
156 info lifecycle @types/node@7.10.14~install: @types/node@7.10.14
157 silly install bindings@1.2.1
158 info lifecycle bindings@1.2.1~install: bindings@1.2.1
159 silly install nan@2.14.2
160 info lifecycle nan@2.14.2~install: nan@2.14.2
161 silly install stable@0.1.8
162 info lifecycle stable@0.1.8~install: stable@0.1.8
163 silly install bluetooth-serial-port@2.2.7
164 info lifecycle bluetooth-serial-port@2.2.7~install: bluetooth-serial-port@2.2.7
165 verbose lifecycle bluetooth-serial-port@2.2.7~install: unsafe-perm in lifecycle false
166 verbose lifecycle bluetooth-serial-port@2.2.7~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/root/node/node_modules/bluetooth-serial-port/node_modules/.bin:/root/node/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
167 verbose lifecycle bluetooth-serial-port@2.2.7~install: CWD: /root/node/node_modules/bluetooth-serial-port
168 silly lifecycle bluetooth-serial-port@2.2.7~install: Args: [ '-c', 'node-gyp configure build' ]
169 silly lifecycle bluetooth-serial-port@2.2.7~install: Returned: code: 1 signal: null
170 info lifecycle bluetooth-serial-port@2.2.7~install: Failed to exec install script
171 timing action:install Completed in 40220ms
172 verbose unlock done using /root/.npm/_locks/staging-a9a1fec00fe79a63.lock for /root/node/node_modules/.staging
173 timing stage:rollbackFailedOptional Completed in 541ms
174 timing stage:runTopLevelLifecycles Completed in 48570ms
175 silly saveTree node
175 silly saveTree └─┬ bluetooth-serial-port@2.2.7
175 silly saveTree ├── @types/node@7.10.14
175 silly saveTree ├── bindings@1.2.1
175 silly saveTree ├── nan@2.14.2
175 silly saveTree └── stable@0.1.8
176 warn enoent ENOENT: no such file or directory, open '/root/node/package.json'
177 verbose enoent This is related to npm not being able to find a file.
178 warn node No description
179 warn node No repository field.
180 warn node No README data
181 warn node No license field.
182 verbose stack Error: bluetooth-serial-port@2.2.7 install: `node-gyp configure build`
182 verbose stack Exit status 1
182 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
182 verbose stack at EventEmitter.emit (events.js:376:20)
182 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
182 verbose stack at ChildProcess.emit (events.js:376:20)
182 verbose stack at maybeClose (internal/child_process.js:1055:16)
182 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
183 verbose pkgid bluetooth-serial-port@2.2.7
184 verbose cwd /root/node
185 verbose Linux 5.10.14+
186 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "bluetooth-serial-port"
187 verbose node v14.17.0
188 verbose npm v6.14.13
189 error code ELIFECYCLE
190 error errno 1
191 error bluetooth-serial-port@2.2.7 install: `node-gyp configure build`
191 error Exit status 1
192 error Failed at the bluetooth-serial-port@2.2.7 install script.
192 error This is probably not a problem with npm. There is likely additional logging output above.
193 verbose exit [ 1, true ]
System is a Debian 10 on 32bit ARM (armv7l) A20 from Allwinner.
hope for fix :-)
with best regards,
Peter
The text was updated successfully, but these errors were encountered:
peter9091
changed the title
Won't install with current LTS node 14
Won't install with current LTS node 14: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)'
Jun 3, 2021
Thanks for your report. I deprecated this module some time ago after maintaining it for quite some years. You may want to check out the forks of this module as some of them may have fixes for this issue.
I have installed node 14 (lts), which works fine, i could install nemerous modules without any problems.
Now trying installing this module i've got an error:
the logs mentioned above are as follows:
System is a Debian 10 on 32bit ARM (armv7l) A20 from Allwinner.
hope for fix :-)
with best regards,
Peter
The text was updated successfully, but these errors were encountered: