abandonware / node-bluetooth-hci-socket

MIT License
42 stars 47 forks source link

Cannot find module '@abandonware/bluetooth-hci-socket' #43

Closed Skol6 closed 1 year ago

Skol6 commented 1 year ago

Hi,

IObroker always states the following error:

Cannot find module '@abandonware/bluetooth-hci-socket' Require stack: - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js - /opt/iobroker/node_modules/@abandonware/noble/index.js - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js

But everything is installed properly and the files are in the path as requested. Any ideas?

Apollon77 commented 1 year ago

Then please remoce and reinstall the adapter in ioBroker/the npm module of the adapter

Skol6 commented 1 year ago

Hi, already tried. there is no change at all. Using hciconfig I can start scanning and there all BLE devices can be seen, but no possibilty to get them running in IObroker :(

Skol6 commented 1 year ago

Performed a clean new install. Now everything is working fine...