NEWS
(Gelöst)Fehlermeldung Update des Javasript Adapters 5.0.12
-
Nach dem Update des Javascript Adapters bekomme ich Fehlermeldungen im Log.
host.raspberrypi 2021-03-09 00:01:31.548 error instance system.adapter.javascript.1 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2021-03-09 00:01:31.547 error Caught by controller[0]: at internal/main/run_main_module.js:17:47 host.raspberrypi 2021-03-09 00:01:31.547 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) host.raspberrypi 2021-03-09 00:01:31.546 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.raspberrypi 2021-03-09 00:01:31.546 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.raspberrypi 2021-03-09 00:01:31.546 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.raspberrypi 2021-03-09 00:01:31.545 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.raspberrypi 2021-03-09 00:01:31.545 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24) host.raspberrypi 2021-03-09 00:01:31.545 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.raspberrypi 2021-03-09 00:01:31.544 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.raspberrypi 2021-03-09 00:01:31.544 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.raspberrypi 2021-03-09 00:01:31.543 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.raspberrypi 2021-03-09 00:01:31.542 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.raspberrypi 2021-03-09 00:01:31.542 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.raspberrypi 2021-03-09 00:01:31.541 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/virtual-tsc/build/index.js:8:16) host.raspberrypi 2021-03-09 00:01:31.540 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.raspberrypi 2021-03-09 00:01:31.539 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.raspberrypi 2021-03-09 00:01:31.539 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.raspberrypi 2021-03-09 00:01:31.538 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.raspberrypi 2021-03-09 00:01:31.537 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.raspberrypi 2021-03-09 00:01:31.537 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.raspberrypi 2021-03-09 00:01:31.536 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/virtual-tsc/build/server.js:4:10) host.raspberrypi 2021-03-09 00:01:31.536 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.raspberrypi 2021-03-09 00:01:31.535 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.raspberrypi 2021-03-09 00:01:31.535 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.raspberrypi 2021-03-09 00:01:31.534 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.raspberrypi 2021-03-09 00:01:31.534 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.raspberrypi 2021-03-09 00:01:31.533 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:963:27) host.raspberrypi 2021-03-09 00:01:31.533 error Caught by controller[0]: at wrapSafe (internal/modules/cjs/loader.js:915:16) host.raspberrypi 2021-03-09 00:01:31.532 error Caught by controller[0]: SyntaxError: Unexpected end of input host.raspberrypi 2021-03-09 00:01:31.531 error Caught by controller[0]: host.raspberrypi 2021-03-09 00:01:31.531 error Caught by controller[0]: getAllCodeActions: function (context) { return codefix.codeFi host.raspberrypi 2021-03-09 00:01:31.529 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:140401Auch habe ich ständig bei der Bearbeitung von Scripten die Fehlermeldung Instanz ist deaktiviert.

Ein Backup habe ich schon eingespielt. Keine Änderung.
Iobroker läuft... aber ständig hängt der Adapter deaktiviert. -
@nichname deine JavascriptInstanz.0 funktioniert?
-
@nichname Hast du irgendwo in deinen Scripten Code drin, der wie folgt aussieht?
getAllCodeActions: function (context) { return codefix. -
@crunchip Javascript.0 funktioniert genau so wie Javascript.1. Beide mit den selben Fehlern. Alle Scripte Laufen aber es kommen ständig die Fehler.
-
@unclesam Nein, so einen Code habe ich nicht im Script.
-
@nichname Lädst du irgendwelche weiteren Module?
-
Die betreffende Zeile kommt direkt aus dem typescript-Modul, welches unter der Haube genutzt wird. Für mich sieht das aus, als wären dessen Dateien kaputt.
SD-Karte am Arsch?
-
@nichname
Da du den Titel auf "gelöst" geändert hast:
Wie hast du das Problem denn gelöst? War der Grund wirklich eine defekte SD-Karte? -
@alexi sagte in (Gelöst)Fehlermeldung Update des Javasript Adapters 5.0.12:
@nichname
Da du den Titel auf "gelöst" geändert hast:
Wie hast du das Problem denn gelöst? War der Grund wirklich eine defekte SD-Karte?SEHR GUTE FRAGE!
-
Habe das Probelm jetzt durch eine Neuinstallation gelöst.
SD Karte war nicht defekt!