eelcocramer / node-bluetooth-serial-port

Serial I/O over bluetooth for NodeJS
Other
496 stars 139 forks source link

Won't install on manjaro #365

Open okba-bouziane opened 2 years ago

okba-bouziane commented 2 years ago

apt-get install build-essential libbluetooth-dev for build-essential = sudo pacman -Sy base-devel for libbluetooth-dev = i installed bluez

but i still get error in installation

npm i bluetooth-serial-port                                                                                         ✔ 
npm ERR! code 1
npm ERR! path /home/devokba/Desktop/example/node_modules/bluetooth-serial-port
npm ERR! command failed
npm ERR! command sh -c node-gyp configure build
npm ERR! make: Entering directory '/home/devokba/Desktop/example/node_modules/bluetooth-serial-port/build'
npm ERR!   CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
npm ERR!   CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o
npm ERR!   CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BTSerialPortBinding.o
npm ERR! make: Leaving directory '/home/devokba/Desktop/example/node_modules/bluetooth-serial-port/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@16.11.1 | linux | x64
npm ERR! gyp info find Python using Python version 3.9.7 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/home/devokba/Desktop/example/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/devokba/Desktop/example/node_modules/bluetooth-serial-port/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/devokba/Desktop/example/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/devokba/.cache/node-gyp/16.11.1/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/devokba/.cache/node-gyp/16.11.1',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/devokba/Desktop/example/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/devokba/.cache/node-gyp/16.11.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/devokba/Desktop/example/node_modules/bluetooth-serial-port',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../src/linux/BluetoothSerialPort.cc:12:
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/node.h:821:7: 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]
npm ERR!   821 |       (node::addon_register_func) (regfunc),                          \
npm ERR!       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/node.h:855:3: note: in expansion of macro ‘NODE_MODULE_X’
npm ERR!   855 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
npm ERR!       |   ^~~~~~~~~~~~~
npm ERR! ../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’
npm ERR!    23 | NODE_MODULE(BluetoothSerialPort, InitAll)
npm ERR!       | ^~~~~~~~~~~
npm ERR! ../src/linux/DeviceINQ.cc: In static member function ‘static void DeviceINQ::EIO_AfterSdpSearch(uv_work_t*)’:
npm ERR! ../src/linux/DeviceINQ.cc:139:20: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR!   139 |     baton->cb->Call(1, argv);
npm ERR!       |     ~~~~~~~~~~~~~~~^~~~~~~~~
npm ERR! In file included from ../src/linux/DeviceINQ.cc:14:
npm ERR! ../../nan/nan.h:1744:3: note: declared here
npm ERR!  1744 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! ../src/linux/DeviceINQ.cc: In static member function ‘static void DeviceINQ::Init(v8::Local<v8::Object>)’:
npm ERR! ../src/linux/DeviceINQ.cc:166:16: 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]
npm ERR!   166 |     target->Set(ctx, Nan::New("DeviceINQ").ToLocalChecked(), t->GetFunction(ctx).ToLocalChecked());
npm ERR!       |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from ../src/linux/DeviceINQ.cc:12:
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/v8.h:3961:37: note: declared here
npm ERR!  3961 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! ../src/linux/DeviceINQ.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::InquireSync(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../src/linux/DeviceINQ.cc:251:18: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR!   251 |       found->Call(2, argv);
npm ERR!       |       ~~~~~~~~~~~^~~~~~~~~
npm ERR! In file included from ../src/linux/DeviceINQ.cc:14:
npm ERR! ../../nan/nan.h:1744:3: note: declared here
npm ERR!  1744 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! ../src/linux/DeviceINQ.cc:255:19: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR!   255 |     callback->Call(0, argv);
npm ERR!       |     ~~~~~~~~~~~~~~^~~~~~~~~
npm ERR! In file included from ../src/linux/DeviceINQ.cc:14:
npm ERR! ../../nan/nan.h:1744:3: note: declared here
npm ERR!  1744 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! ../src/linux/DeviceINQ.cc: In member function ‘virtual void InquireWorker::HandleOKCallback()’:
npm ERR! ../src/linux/DeviceINQ.cc:284:18: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR!   284 |       found->Call(2, argv);
npm ERR!       |       ~~~~~~~~~~~^~~~~~~~~
npm ERR! In file included from ../src/linux/DeviceINQ.cc:14:
npm ERR! ../../nan/nan.h:1744:3: note: declared here
npm ERR!  1744 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! ../src/linux/DeviceINQ.cc:288:19: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR!   288 |     callback->Call(0, argv);
npm ERR!       |     ~~~~~~~~~~~~~~^~~~~~~~~
npm ERR! In file included from ../src/linux/DeviceINQ.cc:14:
npm ERR! ../../nan/nan.h:1744:3: note: declared here
npm ERR!  1744 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! ../src/linux/DeviceINQ.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::SdpSearch(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../src/linux/DeviceINQ.cc:335:70: 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]
npm ERR!   335 |     uv_queue_work(uv_default_loop(), &baton->request, EIO_SdpSearch, (uv_after_work_cb)EIO_AfterSdpSearch);
npm ERR!       |                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../src/linux/DeviceINQ.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::ListPairedDevices(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../src/linux/DeviceINQ.cc:366:13: 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]
npm ERR!   366 |     cb->Call(Nan::GetCurrentContext(), Nan::GetCurrentContext()->Global(), 1, argv);
npm ERR!       |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from ../src/linux/DeviceINQ.cc:12:
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/v8.h:4776:43: note: declared here
npm ERR!  4776 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
npm ERR!       |                                           ^~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterConnect(uv_work_t*)’:
npm ERR! ../src/linux/BTSerialPortBinding.cc:83:24: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR!    83 |         baton->cb->Call(0, NULL);
npm ERR!       |         ~~~~~~~~~~~~~~~^~~~~~~~~
npm ERR! In file included from ../src/linux/BTSerialPortBinding.cc:14:
npm ERR! ../../nan/nan.h:1744:3: note: declared here
npm ERR!  1744 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc:90:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR!    90 |         baton->ecb->Call(1, argv);
npm ERR!       |         ~~~~~~~~~~~~~~~~^~~~~~~~~
npm ERR! In file included from ../src/linux/BTSerialPortBinding.cc:14:
npm ERR! ../../nan/nan.h:1744:3: note: declared here
npm ERR!  1744 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_Write(uv_work_t*)’:
npm ERR! ../src/linux/BTSerialPortBinding.cc:114:62: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
npm ERR!   114 |             int bytesSent = write(rfcomm->s, data->bufferData+data->result, bytesToSend);
npm ERR!       |                                              ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterWrite(uv_work_t*)’:
npm ERR! ../src/linux/BTSerialPortBinding.cc:143:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR!   143 |     data->callback->Call(2, argv);
npm ERR!       |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
npm ERR! In file included from ../src/linux/BTSerialPortBinding.cc:14:
npm ERR! ../../nan/nan.h:1744:3: note: declared here
npm ERR!  1744 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc:152:76: 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]
npm ERR!   152 |         uv_queue_work(uv_default_loop(), &nextQueuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite);
npm ERR!       |                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterRead(uv_work_t*)’:
npm ERR! ../src/linux/BTSerialPortBinding.cc:206:81: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
npm ERR!   206 |         Local<Function> bufferConstructor = Local<Function>::Cast(globalObj->Get(Nan::New("Buffer").ToLocalChecked()));
npm ERR!       |                                                                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from ../src/linux/BTSerialPortBinding.cc:12:
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/v8.h:4007:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
npm ERR!  4007 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/v8.h:4007:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/v8.h:4010:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
npm ERR!  4010 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/v8.h:4010:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! ../src/linux/BTSerialPortBinding.cc:215:20: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR!   215 |     baton->cb->Call(2, argv);
npm ERR!       |     ~~~~~~~~~~~~~~~^~~~~~~~~
npm ERR! In file included from ../src/linux/BTSerialPortBinding.cc:14:
npm ERR! ../../nan/nan.h:1744:3: note: declared here
npm ERR!  1744 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::Init(v8::Local<v8::Object>)’:
npm ERR! ../src/linux/BTSerialPortBinding.cc:242:16: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Function>)’
npm ERR!   242 |     target->Set(Nan::New("BTSerialPortBinding").ToLocalChecked(), t->GetFunction(ctx).ToLocalChecked());
npm ERR!       |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from ../src/linux/BTSerialPortBinding.cc:12:
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
npm ERR!  3961 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/v8.h:3961:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
npm ERR!  3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!       |                                     ^~~
npm ERR! /home/devokba/.cache/node-gyp/16.11.1/include/node/v8.h:3964:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! ../src/linux/BTSerialPortBinding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::New(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../src/linux/BTSerialPortBinding.cc:290:68: 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]
npm ERR!   290 |     uv_queue_work(uv_default_loop(), &baton->request, EIO_Connect, (uv_after_work_cb)EIO_AfterConnect);
npm ERR!       |                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::Write(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../src/linux/BTSerialPortBinding.cc:323:11: 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]
npm ERR!   323 |     memset(baton, 0, sizeof(write_baton_t));
npm ERR!       |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from ../src/linux/BTSerialPortBinding.cc:19:
npm ERR! ../src/BTSerialPortBinding.h:68:16: note: ‘struct BTSerialPortBinding::write_baton_t’ declared here
npm ERR!    68 |         struct write_baton_t {
npm ERR!       |                ^~~~~~~~~~~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc:342:72: 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]
npm ERR!   342 |         uv_queue_work(uv_default_loop(), &queuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite);
npm ERR!       |                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::Read(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../src/linux/BTSerialPortBinding.cc:392:17: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR!   392 |         nc->Call(2, argv);
npm ERR!       |         ~~~~~~~~^~~~~~~~~
npm ERR! In file included from ../src/linux/BTSerialPortBinding.cc:14:
npm ERR! ../../nan/nan.h:1744:3: note: declared here
npm ERR!  1744 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! ../src/linux/BTSerialPortBinding.cc:400:69: 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]
npm ERR!   400 |         uv_queue_work(uv_default_loop(), &baton->request, EIO_Read, (uv_after_work_cb)EIO_AfterRead);
npm ERR!       |                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! make: *** [BluetoothSerialPort.target.mk:115: Release/obj.target/BluetoothSerialPort/src/linux/BTSerialPortBinding.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/devokba/Desktop/example/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Linux 5.13.19-2-MANJARO
npm ERR! gyp ERR! command "/usr/bin/node" "/home/devokba/Desktop/example/node_modules/.bin/node-gyp" "configure" "build"
npm ERR! gyp ERR! cwd /home/devokba/Desktop/example/node_modules/bluetooth-serial-port
npm ERR! gyp ERR! node -v v16.11.1
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/devokba/.npm/_logs/2021-11-28T16_35_36_877Z-debug.log

can you please fix that becuase i tried it in ubunto and its works fine .. but i don't like debian destro! so you should fix it in other destro xD! thanks. waiting for your response.

eelcocramer commented 2 years ago

Maybe #309 has some information that might be helpful to you.