NEWS
SOLVED [Gelöst]Mercedesme Adapter rot
-
Hi, mein mercedesme Adapter macht neuerdings Probleme. Im Moment ist der im Status rot, Fehlerlog gibt nach restart folgendes aus:
host.ioBroker-RasPi 2020-04-07 15:51:30.362 error instance system.adapter.mercedesme.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker-RasPi 2020-04-07 15:51:30.362 error Caught by controller[0]: at Function.Module._load (module.js:497:3) host.ioBroker-RasPi 2020-04-07 15:51:30.362 error Caught by controller[0]: at tryModuleLoad (module.js:505:12) host.ioBroker-RasPi 2020-04-07 15:51:30.362 error Caught by controller[0]: at Module.load (module.js:565:32) host.ioBroker-RasPi 2020-04-07 15:51:30.361 error Caught by controller[0]: at Object.Module._extensions..js (module.js:663:10) host.ioBroker-RasPi 2020-04-07 15:51:30.361 error Caught by controller[0]: at Module._compile (module.js:652:30) host.ioBroker-RasPi 2020-04-07 15:51:30.361 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18) host.ioBroker-RasPi 2020-04-07 15:51:30.361 error Caught by controller[0]: at require (internal/module.js:11:18) host.ioBroker-RasPi 2020-04-07 15:51:30.360 error Caught by controller[0]: at Module.require (module.js:596:17) host.ioBroker-RasPi 2020-04-07 15:51:30.360 error Caught by controller[0]: at Function.Module._load (module.js:474:25) host.ioBroker-RasPi 2020-04-07 15:51:30.360 error Caught by controller[0]: at Function.Module._resolveFilename (module.js:547:15) host.ioBroker-RasPi 2020-04-07 15:51:30.360 error Caught by controller[0]: Error: Cannot find module '../build/Release/canvas.node' host.ioBroker-RasPi 2020-04-07 15:51:30.359 error Caught by controller[0]: ^ host.ioBroker-RasPi 2020-04-07 15:51:30.359 error Caught by controller[0]: throw err; host.ioBroker-RasPi 2020-04-07 15:51:30.358 error Caught by controller[0]: module.js:549
Hat hier jemand eine Idee woran das liegen könnte? Adapter habe ich komplett gelöscht uind neu installiert, keine Besserung. Ich nutze einen Raspberry 3b, Node.js: v8.11.4, NPM: 6.5.0
VG
Andreas -
@amg_666 sagte in Mercedesme Adapter rot:
Error: Cannot find module '../build/Release/canvas.node'
schau mal hier :
-
Ich würde auch ein update auf node 10 empfehlen
https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten -
Hallo, das hat leider nix gebracht. Ich bekomme folgendes im Log:
host.ioBroker-RasPi 2020-04-08 20:53:26.709 error instance system.adapter.mercedesme.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker-RasPi 2020-04-08 20:53:26.687 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) host.ioBroker-RasPi 2020-04-08 20:53:26.687 error Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) host.ioBroker-RasPi 2020-04-08 20:53:26.687 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) host.ioBroker-RasPi 2020-04-08 20:53:26.686 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) host.ioBroker-RasPi 2020-04-08 20:53:26.686 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) host.ioBroker-RasPi 2020-04-08 20:53:26.686 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18) host.ioBroker-RasPi 2020-04-08 20:53:26.685 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) host.ioBroker-RasPi 2020-04-08 20:53:26.685 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) host.ioBroker-RasPi 2020-04-08 20:53:26.685 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:562:25) host.ioBroker-RasPi 2020-04-08 20:53:26.684 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) host.ioBroker-RasPi 2020-04-08 20:53:26.684 error Caught by controller[0]: Error: Cannot find module '../build/Release/canvas.node' host.ioBroker-RasPi 2020-04-08 20:53:26.684 error Caught by controller[0]: ^ host.ioBroker-RasPi 2020-04-08 20:53:26.683 error Caught by controller[0]: throw err; host.ioBroker-RasPi 2020-04-08 20:53:26.682 error Caught by controller[0]: internal/modules/cjs/loader.js:638 host.ioBroker-RasPi 2020-04-08 20:53:24.702 info instance system.adapter.mercedesme.0 started with pid 29174
ich habe upgedatet auf
Node.js: v10.19.0 und NPM: 6.13.4 und danach den Mercedes Adapter neu installiert.
Im Log meckert er ja an "Cannot find module '../build/Release/canvas.node'" was mir nichts sagt. vielleicht hat hier noch jemand eine Idee? -
-
Was meinst du mit "damit..."? Der eine Link zeigt wie man node.js upgradet (erledigt), der zweite Link bezieht sich auf ein m.E. anderes Problem und sagt, man soll den js-controller auch updaten. Der war bei mir auf 2.2.7 hab ich jetzt mal aktualisiert auf 2.2.9. bei gleichem Fehlerbild "Cannot find module '../build/Release/canvas.node'"
-
hast du den den " canvas "nachinstalliert , wie im Link beschrieben !
-
@Glasfaser Jetzt hab ichs kapiert
Canvas nachinstalliert und es läuft wieder.Danke für die Hilfe und schöne Osterfeiertage.