jasoncodes / homebridge-bluetooth-tag

Homebrige plugin for Bluetooth button tags
10 stars 1 forks source link

will not working... #1

Open matzZz opened 7 years ago

matzZz commented 7 years ago

Hi, I need your help.

[iTag1] Initializing Bluetooth Tag accessory... module.js:472 throw err; ^

Error: Cannot find module 'bluetooth-hci-socket' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/usr/lib/node_modules/homebridge-bluetooth-tag/node_modules/noble/lib/hci-socket/hci.js:6:26) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module.load (module.js:439:3)

jeffl78 commented 6 years ago

I’m having the same issue

jasoncodes commented 6 years ago

It sounds like the noble library does not have its native extensions installed correctly. I would:

jeffl78 commented 6 years ago

I got mine working, the file path was different than discribed in the read me file for the project I was working on. I opened an issue, I’ll post a link.

https://github.com/emmcc/node-switchmate/issues/11