Closed eeedean closed 1 year ago
I develop and test my plugins against the latest LTS version of NodeJS. That’s the version listed in package.json
. They might or might not run on other versions; I simply don’t have the bandwidth to test nor support these.
Thanks so much for your time and consideration.
If anyone else falls into my scenario, running the official ioBroker docker container, therefore being stuck on Version 16 of node, you can give it an unsupported shot by manually installing the plugin.
Simply move the git repository into the "node_modules" directory, which might be /opt/iobroker/node_modules/iobroker.ham/noide_modules
.
Afterwards add to the homebridge adapters package.json
(which might be at /opt/iobroker/node_modules/iobroker.ham/package.json
) the dependency like that:
"dependencies": {
[...]
"homebridge-nb": "^1.3.1",
[...]
},
Restart and good luck.
As pointed out by @ebaauw, that might or might not work. At least in my setup with node 16.15.0 it works flawlessly.
Hello,
the official ioBroker docker image uses nodejs version 16, since they recommend using that version.
Unfortunately the latest version of homebridge-nb does require version 18.13.0 at minimum resulting in following error output:
Is there any chance to require a lower node version <=16.15.0 ?
Thanks in advance Dean