NEWS
UNSOLVED Probleme mit Update auf js-controller 1.5.7
-
Hallo zusammen,
vielleicht kennt jemand eine Lösung für den folgenden Fehler beim Update vom js-controller:
Betriebssystem Ubuntu 18.4 LTS
root@iobroker:/opt/iobroker# nodejs -v v8.15.0 root@iobroker:/opt/iobroker# node -v v8.15.0 root@iobroker:/opt/iobroker# npm -v 6.4.1
root@iobroker:/opt/iobroker# npm install iobroker.js-controller --production > iobroker.js-controller@1.5.7 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.4.1 npm version >= 5: disabling package-lock > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/unix-dgram/build' CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Leaving directory '/opt/iobroker/node_modules/unix-dgram/build' > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional > node rebuild.js > diskusage@0.2.6 install /opt/iobroker/node_modules/diskusage > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/diskusage/build' CXX(target) Release/obj.target/diskusage/src/main.o CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o SOLINK_MODULE(target) Release/obj.target/diskusage.node COPY Release/diskusage.node make: Leaving directory '/opt/iobroker/node_modules/diskusage/build' > iobroker.js-controller@1.5.7 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first > rsa-compat@1.9.2 postinstall /opt/iobroker/node_modules/rsa-compat > node lib/telemetry.js event:install npm WARN winston-daily-rotate-file@1.7.2 requires a peer of winston@2.x but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) + iobroker.js-controller@1.5.7 added 19 packages from 39 contributors, removed 202 packages, updated 2 packages, moved 75 packages and audited 6331 packages in 96.711s found 75 vulnerabilities (54 low, 2 moderate, 19 high) run `npm audit fix` to fix them, or `npm audit` for details
und beim starten kommt dann:
root@iobroker:/opt/iobroker# iobroker start Starting iobroker controller daemon... /opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136 throw new Error(msg.error); ^ Error: TypeError: Cannot set property DailyRotateFile of #<Object> which has only a getter at Object.<anonymous> (/opt/iobroker/node_modules/winston-daily-rotate-file/index.js:184:36) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/logger.js:7:25) at Module._compile (module.js:653:30) at ChildProcess.<anonymous> (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136:19) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at emit (internal/child_process.js:762:12) at _combinedTickCallback (internal/process/next_tick.js:142:11) at process._tickCallback (internal/process/next_tick.js:181:9) root@iobroker:/opt/iobroker#
hat jemand eine Idee?