Closed ronzelver closed 3 years ago
This should definitely work with 9.12.4. Try clearing your npm cache if trying it again doesn't work.
I've cleared the cache and now it gives the following error in the log:
[11/13/2020, 17:11:20] Error: The requested platform 'Ring' was not registered by any plugin.
at PluginManager.getPluginForPlatform (/usr/lib/node_modules/homebridge/lib/pluginManager.js:152:23)
at /usr/lib/node_modules/homebridge/lib/server.js:271:45
at Array.forEach (
I've already uninstalled the plugin and re-installed it, but no success.
That message will show up in logs that also contain the original error you posted. I've had multiple users confirm that 9.12.4
works, so I'm confident this is an issue with your npm setup. Try sudo npm i -g --unsafe-perm homebridge-ring@9.12.4
Sorry for the confusion, the last error was indeed also present in the initial log. However, after re-installing 9.12.4 with the command above it still comes with the 'socket.io-client' error. Is there anything else I can do?
npm uninstall -g homebridge-ring
npm cache clean --force
sudo npm i -g --unsafe-perm homebridge-ring@9.12.4
socket error stays
Problem solved, I forced the Homebridge-UI-X to reload and there it still showed v9.12.3 so I re-launched the update from the UI and now it loads correctly.
Bug Report
Describe the Bug
The plugin doesn't load, resulting in a restart loop of Homebridge ### To Reproduce Steps to reproduce the behavior: - Start Homebridge - Attempt to ... - See error ### Expected behavior Just load and work ### Screenshots/Logs The logging shows: [11/13/2020, 16:36:28] ERROR LOADING PLUGIN homebridge-ring: [11/13/2020, 16:36:28] Error: Cannot find module 'socket.io-client' Require stack: - /usr/lib/node_modules/homebridge-ring/lib/api/location.js - /usr/lib/node_modules/homebridge-ring/lib/api/api.js - /usr/lib/node_modules/homebridge-ring/lib/api/index.js - /usr/lib/node_modules/homebridge-ring/lib/homebridge/ring-platform.js - /usr/lib/node_modules/homebridge-ring/lib/homebridge/index.js - /usr/lib/node_modules/homebridge/lib/plugin.js - /usr/lib/node_modules/homebridge/lib/pluginManager.js - /usr/lib/node_modules/homebridge/lib/api.js - /usr/lib/node_modules/homebridge/lib/server.js - /usr/lib/node_modules/homebridge/lib/cli.js - /usr/lib/node_modules/homebridge/bin/homebridge at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15) at Function.Module._load (internal/modules/cjs/loader.js:864:27) at Module.require (internal/modules/cjs/loader.js:1044:19) at require (internal/modules/cjs/helpers.js:77:18) at Object.