bwp91 / homebridge-meross

Homebridge plugin to integrate Meross devices into HomeKit.
MIT License
197 stars 32 forks source link

No plugin was found for the platform "Meross" in your config.json. #492

Closed robotDad414 closed 1 year ago

robotDad414 commented 1 year ago

This just started happening yesterday after a recent update. When I restart home bridge I get several error messages related to the Meross Plugin . I uninstalled the plugin hoping that rebuilding the directory would help, but continue to get the error . Anyone have any thoughts on the matter ?

[2/5/2023, 12:44:27 PM] ERROR LOADING PLUGIN homebridge-meross: [2/5/2023, 12:44:27 PM] Error: Cannot find module '/usr/local/lib/node_modules/homebridge-meross/node_modules/p-queue/dist/index.js' imported from /usr/local/lib/node_modules/homebridge-meross/lib/device/baby.js at new NodeError (node:internal/errors:399:5) at finalizeResolution (node:internal/modules/esm/resolve:326:11) at moduleResolve (node:internal/modules/esm/resolve:945:10) at defaultResolve (node:internal/modules/esm/resolve:1153:11) at nextResolve (node:internal/modules/esm/loader:163:28) at ESMLoader.resolve (node:internal/modules/esm/loader:838:30) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18) at ModuleWrap. (node:internal/modules/esm/module_job:77:40) at link (node:internal/modules/esm/module_job:76:36) [2/5/2023, 12:44:27 PM] ====================

[2/5/2023, 12:44:27 PM] No plugin was found for the platform "Meross" in your config.json. Please make sure the corresponding plugin is installed correctly.

bwp91 commented 1 year ago

Hi @robotDad414

I assume your intention is to carry on using the plugin? or are you trying to uninstall completely?

robotDad414 commented 1 year ago

@bwp91 Yes the plugin has worked really well up to this point and I want to continue using it. I've uninstalled it completely and reinstalled it and navigated to the homebridge directory on my server and wiped out all the files. . I've also updated nodejs to make sure that wasn't part of the problem.

robotDad414 commented 1 year ago

I uninstalled via the the Homebridge UI and then reinstalled via terminal and now it's working as expected.