satrik / homebridge-bslamp2

Homebridge plugin to control Mi Bedside Lamps 2
MIT License
5 stars 0 forks source link

Error: Cannot find module '@abandonware/bluetooth-hci-socket' #7

Closed fabianmu closed 1 year ago

fabianmu commented 1 year ago

I am getting this error in the logs. Installing the plugin and configuring it went fine.

Am I perhaps just missing something?

[12/02/2023, 18:55:49] ERROR LOADING PLUGIN homebridge-bslamp2: [12/02/2023, 18:55:49] Error: Cannot find module '@abandonware/bluetooth-hci-socket' Require stack:

satrik commented 1 year ago

@abandonware/bluetooth-hci-socket is an optional dependency of the noble package. as the bslamp plugin don't use/need any bluetooth functions, you can just ignore the messages. if you feel better without error messages, you can also add @abandonware/bluetooth-hci-socket as a dependency to the the package.json of the plugin an install it again (not tested but should work)