boikedamhuis / homebridge-frontier-silicon

Frontier Silicon Plugin For Homebridge
5 stars 3 forks source link

Strange error after upgrading Node #5

Closed phil-highrez closed 3 years ago

phil-highrez commented 3 years ago

I just upgraded Node (to v14.15.1) and Im now getting a strange error in Homebridge relating to the homebridge-frontier-silicon-plugin (latest version)

NOTE: I have checked and the "request" module is listed under the hombridge/node_modules

Any ideas? It would be a shame to loose access to my two radios!

[09/12/2020, 22:49:07] ==================== [09/12/2020, 22:49:07] ERROR LOADING PLUGIN homebridge-frontier-silicon-plugin: [09/12/2020, 22:49:07] Error: Cannot find module 'request' Require stack:

phil-highrez commented 3 years ago

I think I've fixed it.

For anyone else, from the homebridge folder (in my case /var/lib/homebridge) I ran the following two commands...

npm init --yes sudo npm install --save request -g