Closed gerhardvilsecker closed 6 months ago
Hm ... are you sure this issue is correct here? if you have issues with the ipbroker docker container please check the documentation there. This plugin should not have anything to do with it. maybe you just need to upgrade the container?
Yes I already tried by adding eval "iobroker update && iobroker upgrade self" to options section in iobroker.hass addon configuration. However this ends up in an unstartable addon. errormessages during upgrade:
Update js-controller from @3.2.16 to @5.0.17
NPM version: 6.14.11
npm install iobroker.js-controller@5.0.17 --loglevel error --unsafe-perm --prefix "/data/iobroker" (System call)
In file included from ../node_modules/nan/nan.h:62,
from ../src/main.cpp:3:
/opt/iobroker/.cache/node-gyp/12.21.0/include/node/node.h:737:43: warning: cast between incompatible function types from ‘void ()(v8::Local~~~~
../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(diskusage, Init)
^~~
In file included from ../node_modules/nan/nan.h:62,
from ../src/unix_dgram.cc:5:
/opt/iobroker/.cache/node-gyp/12.21.0/include/node/node.h:737:43: warning: cast between incompatible function types from ‘void ()(v8::Local~~~~
../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(unix_dgram, Initialize)
^~~
internal/modules/cjs/loader.js:818
throw err;
^
Error: Cannot find module 'node:timers/promises' Require stack:
node iobroker.js setup first
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the iobroker.js-controller@5.0.17 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2024-01-30T18_05_42_650Z-debug.log host.1e14b3fb-iobroker Cannot install iobroker.js-controller@5.0.17: 1 internal/modules/cjs/loader.js:818 throw err; ^
Error: Cannot find module '/data/iobroker/node_modules/iobroker.js-controller/controller.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) at Function.Module._load (internal/modules/cjs/loader.js:667:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: []
The Node.js version is bound to the version of the Docker container you use!! So please update the container version!
Hey guys, I currently try to integrate gruenbeck water desalting equipment to ha. Therefore I have to install MQTTT Client in iobroker provided by iobroker.hass addon. MQTT client installation fails with errormessage: nodjs version v16 required v12 is installed. Is it possible to uddate nodejs version inside of your container?
Thx and regards
Gerhard