NEWS
UNSOLVED js-controller 3.1.4 -> 3.1.5: javascript Adapter stürzt ab!
-
Javascript controller ist nicht mehr lauffähig nach js-controller Upgrade auf 3.1.5.
Wer kann dringend helfen?
Danke.2020-06-08 15:51:45.344 - error: host.homie Caught by controller[0]: internal/modules/cjs/loader.js:638 2020-06-08 15:51:45.345 - error: host.homie Caught by controller[0]: throw err; 2020-06-08 15:51:45.347 - error: host.homie Caught by controller[0]: ^ 2020-06-08 15:51:45.348 - error: host.homie Caught by controller[0]: Error: Cannot find module 'typescript' 2020-06-08 15:51:45.351 - error: host.homie Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) 2020-06-08 15:51:45.352 - error: host.homie Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:562:25) 2020-06-08 15:51:45.354 - error: host.homie Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) 2020-06-08 15:51:45.355 - error: host.homie Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) 2020-06-08 15:51:45.356 - error: host.homie Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/compiler.js:3:10) 2020-06-08 15:51:45.357 - error: host.homie Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) 2020-06-08 15:51:45.358 - error: host.homie Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2020-06-08 15:51:45.360 - error: host.homie Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) 2020-06-08 15:51:45.362 - error: host.homie Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2020-06-08 15:51:45.363 - error: host.homie Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2020-06-08 15:51:45.365 - error: host.homie Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) 2020-06-08 15:51:45.366 - error: host.homie Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) 2020-06-08 15:51:45.367 - error: host.homie Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:3:18) 2020-06-08 15:51:45.368 - error: host.homie Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) 2020-06-08 15:51:45.369 - error: host.homie Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2020-06-08 15:51:45.371 - error: host.homie Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) 2020-06-08 15:51:45.372 - error: host.homie Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2020-06-08 15:51:45.374 - error: host.homie Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2020-06-08 15:51:45.375 - error: host.homie Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) 2020-06-08 15:51:45.376 - error: host.homie Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) 2020-06-08 15:51:45.377 - error: host.homie Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24) 2020-06-08 15:51:45.379 - error: host.homie Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) 2020-06-08 15:51:45.381 - error: host.homie Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2020-06-08 15:51:45.383 - error: host.homie Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) 2020-06-08 15:51:45.384 - error: host.homie Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2020-06-08 15:51:45.385 - error: host.homie Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2020-06-08 15:51:45.387 - error: host.homie Caught by controller[0]: at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) 2020-06-08 15:51:45.388 - error: host.homie Caught by controller[0]: at startup (internal/bootstrap/node.js:283:19) 2020-06-08 15:51:45.389 - error: host.homie Caught by controller[0]: at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
-
cd /opt/iobroker/node_modules/iobroker.javascript npm install --production
Bei einem normalen Update dürften aber nicht einfach so Module verschwinden. Da muss irgendwas schwer schiefgelaufen sein.
-
Scheint so, aber was?!
-
Danke jedenfalls für den Tipp. Jetzt läuft es wieder.
-
Das gleiche Problem hatte ich auch. Dein Tip hat geholfen
Gruss
Adrian -
@all: Das Problem hat ne andere Ursache. npm verschiebt ein Modul, welches nicht verschoben werden dürfte. Der JavaScript-Adapter der nächsten Version wird hier dafür sorgen, dass dieses Modul trotzdem arbeiten kann.