Closed oznu closed 2 years ago
Hi, After upgrading to the latest version published yesterday I can see all plugins in package.json, however none of them is installed. I received lots of errors saying: No plugin was found for the platform "MiAqaraPlatform" in your config.json. Please make sure the corresponding plugin is installed correctly.
Tried to reinstall from the UI and it just hangs forever. How can I fix the installation? Many thanks!
Same issue with QNAP. There's no pnpm available locally or via Entware for us.
The next release will swap back to npm
.
From the next release of this image, plugins will be installed via
pnpm
instead ofnpm
to move thing inline with other "new" Homebridge installs.The next release will be based on the Homebridge Debian/Ubuntu APT package which uses
pnpm
.Using
pnpm
insteadnpm
speeds things up considerably; as an example, when updating the Homebridge UI on a Raspberry Pi Zero W; usingnpm
takes 5-10 minutes, whilepnpm
takes about 45 seconds.If your
startup.sh
script containsnpm
commands, these should be removed or replaced. Homebridge will no longer load plugins installed globally using thenpm install -g
command.When upgrading to the next image, your
node_modules
folder will be deleted and all your plugins re-installed as per the contents of thepackage.json
file usingpnpm
.