Open kahuitel opened 2 years ago
Hi!
I can't get the plugin to work, when Homebridge starts this is showing up (HB running on Monterey 12.1 on a late 2014 Mac mini):
`[1/3/2022, 7:53:40 PM] Loaded plugin: homebridge-config-ui-x@4.41.5 [1/3/2022, 7:53:40 PM] Registering platform 'homebridge-config-ui-x.config' [1/3/2022, 7:53:40 PM] --- [1/3/2022, 7:53:40 PM] ==================== [1/3/2022, 7:53:40 PM] ERROR LOADING PLUGIN homebridge-mijia-thermometer: [1/3/2022, 7:53:40 PM] Error: Cannot find module 'mkdirp' Require stack: - /usr/local/lib/node_modules/homebridge-mijia-thermometer/dist/accessory.js - /usr/local/lib/node_modules/homebridge-mijia-thermometer/dist/index.js - /usr/local/lib/node_modules/homebridge/lib/plugin.js - /usr/local/lib/node_modules/homebridge/lib/pluginManager.js - /usr/local/lib/node_modules/homebridge/lib/server.js - /usr/local/lib/node_modules/homebridge/lib/cli.js - /usr/local/lib/node_modules/homebridge/bin/homebridge at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-mijia-thermometer/src/accessory.ts:6:1) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) [1/3/2022, 7:53:40 PM] ==================== [1/3/2022, 7:53:41 PM] Loaded plugin: homebridge-tuya-platform@1.5.0 [1/3/2022, 7:53:41 PM] Registering platform 'homebridge-tuya-platform.TuyaPlatform' [1/3/2022, 7:53:41 PM] --- [1/3/2022, 7:53:41 PM] Loading 2 platforms... [1/3/2022, 7:53:41 PM] [Config] Initializing config platform... [1/3/2022, 7:53:41 PM] [Config] Running in Service Mode [1/3/2022, 7:53:41 PM] [TuyaPlatform] Initializing TuyaPlatform platform... [1/3/2022, 7:53:41 PM] Loading 1 accessories... [1/3/2022, 7:53:41 PM] No plugin was found for the accessory "MijiaThermometer" in your config.json. Please make sure the corresponding plugin is installed correctly.`
Is the plugin compatible with Homebridge running on MacOS?
EDIT I've got rid of the error using sudo npm install -g mkdirp@latest in the terminal.
sudo npm install -g mkdirp@latest
Regards,
FX de Bretagne
Hi!
I can't get the plugin to work, when Homebridge starts this is showing up (HB running on Monterey 12.1 on a late 2014 Mac mini):
Is the plugin compatible with Homebridge running on MacOS?
EDIT I've got rid of the error using
sudo npm install -g mkdirp@latest
in the terminal.Regards,
FX de Bretagne