Closed andrea689 closed 3 weeks ago
Yes, i have seen that as well building the docker image. This is related to how NPM installs peer dependencies for global modules.
I'll fix that, but before I have other bugs to fix and features to build 😁 .
As a workaround you could do the following:
node_modules
.package.json
file in your app dir with the following content:
{
"name": "my-matterbridge",
"scripts": {
"preserve": "matterbridge -add ./node_modules/matterbridge-home-assistant",
"serve": "matterbridge -bridge"
},
"dependencies": {
"matterbridge": "1.2.22",
"matterbridge-home-assistant": "0.3.0"
}
}
npm install
in your app directorynpm run serve
in your app directoryMany thanks, it works now!
For posterity, the globally installed plugin must first be removed:
matterbridge -remove matterbridge-home-assistant
Hi, I start with "Manual Setup" and I receive these errors: