boikedamhuis / homebridge-frontier-silicon

Frontier Silicon Plugin For Homebridge
5 stars 3 forks source link

Can't load plugin #2

Closed Smexhy closed 5 years ago

Smexhy commented 5 years ago

Hi, I tried to add the plugin to the homebridge today, but got the error in the console right after restarting docker container:

[6/12/2019, 3:03:53 AM] ====================
[6/12/2019, 3:03:53 AM] ERROR LOADING PLUGIN homebridge-frontier-silicon-plugin:
[6/12/2019, 3:03:53 AM] Error: Cannot find module 'polling-to-event'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:690:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/homebridge/node_modules/homebridge-frontier-silicon-plugin/index.js:3:22)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
[6/12/2019, 3:03:53 AM] ====================

npm install polling-to-event -g - won't help although it installs properly I did commands in your installation guide as they are there one by one and still ended up with this issue. What am I doing wrong?

Everything is on the latest version and updated.