NEWS
Fehlermeldungen Java Skript
-
Hallo!
Ich habe mir Javaskript installiert, erhalte vom Adapter aber nur Fehlermeldungen. Woran kann das liegen?
host.raspberrypi 2018-11-23 10:05:32.330 info Restart adapter system.adapter.javascript.0 because enabled host.raspberrypi 2018-11-23 10:05:32.330 error instance system.adapter.javascript.0 terminated with code 1 () host.raspberrypi 2018-11-23 10:05:32.330 error Caught by controller[0]: at tryModuleLoad (module.js:505:12) host.raspberrypi 2018-11-23 10:05:32.330 error Caught by controller[0]: at Module.load (module.js:565:32) host.raspberrypi 2018-11-23 10:05:32.330 error Caught by controller[0]: at Object.Module._extensions..js (module.js:663:10) host.raspberrypi 2018-11-23 10:05:32.330 error Caught by controller[0]: at Module._compile (module.js:652:30) host.raspberrypi 2018-11-23 10:05:32.329 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.javascript/javascript.js:3427:3) host.raspberrypi 2018-11-23 10:05:32.329 error Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.javascript/javascript.js:22:28 host.raspberrypi 2018-11-23 10:05:32.329 error Caught by controller[0]: at require (internal/module.js:11:18) host.raspberrypi 2018-11-23 10:05:32.329 error Caught by controller[0]: at Module.require (module.js:596:17) host.raspberrypi 2018-11-23 10:05:32.329 error Caught by controller[0]: at Function.Module._load (module.js:474:25) host.raspberrypi 2018-11-23 10:05:32.329 error Caught by controller[0]: at Function.Module._resolveFilename (module.js:547:15) host.raspberrypi 2018-11-23 10:05:32.329 error Caught by controller[0]: Error: Cannot find module 'coffee-compiler' host.raspberrypi 2018-11-23 10:05:32.329 error Caught by controller[0]: ^ host.raspberrypi 2018-11-23 10:05:32.329 error Caught by controller[0]: throw err; host.raspberrypi 2018-11-23 10:05:32.328 error Caught by controller[0]: module.js:549 host.raspberrypi 2018-11-23 10:05:30.175 info instance system.adapter.javascript.0 started with pid 2476 host.raspberrypi 2018-11-23 10:05:00.143 info Restart adapter system.adapter.javascript.0 because enabled host.raspberrypi 2018-11-23 10:05:00.142 error instance system.adapter.javascript.0 terminated with code 1 () Caught 2018-11-23 10:05:00.142 error by controller[0]: at tryModuleLoad (module.js:505:12) Caught 2018-11-23 10:05:00.142 error by controller[0]: at Module.load (module.js:565:32) Caught 2018-11-23 10:05:00.142 error by controller[0]: at Object.Module._extensions..js (module.js:663:10) Caught 2018-11-23 10:05:00.142 error by controller[0]: at Module._compile (module.js:652:30) Caught 2018-11-23 10:05:00.142 error by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.javascript/javascript.js:3427:3) Caught 2018-11-23 10:05:00.142 error by controller[0]: at /opt/iobroker/node_modules/iobroker.javascript/javascript.js:22:28 Caught 2018-11-23 10:05:00.142 error by controller[0]: at require (internal/module.js:11:18) Caught 2018-11-23 10:05:00.142 error by controller[0]: at Module.require (module.js:596:17) Caught 2018-11-23 10:05:00.141 error by controller[0]: at Function.Module._load (module.js:474:25) Caught 2018-11-23 10:05:00.141 error by controller[0]: at Function.Module._resolveFilename (module.js:547:15) Caught 2018-11-23 10:05:00.141 error by controller[0]: Error: Cannot find module 'coffee-compiler' Caught 2018-11-23 10:05:00.141 error by controller[0]: ^ Caught 2018-11-23 10:05:00.141 error by controller[0]: throw err; Caught 2018-11-23 10:05:00.140 error by controller[0]: module.js:549 host.raspberrypi 2018-11-23 10:04:57.939 info instance system.adapter.javascript.0 started with pid 2470 host.raspberrypi 2018-11-23 10:04:57.906 info object change system.adapter.javascript.0</anonymous></anonymous>
In der IO Broker Übersicht steht:
raspberrypi
Plattform: linux
RAM: 927.1 MB
Node.js: v8.11.1
NPM: 1.4.21
-
Installiere bitte mal eine neuere npm-Version.
1.4.21 ist ja schon ein bissel sehr alt :lol:
Gruß
dna909
-
Habe alles gestern erst aufgesetzt. Per SSH auf den Raspberry schalten. Und wie sind da die Befehle?
-
Habe alles gestern erst aufgesetzt. Per SSH auf den Raspberry schalten. Und wie sind da die Befehle? `
npm i -g npm
möglicherweise muss <u>sudo</u> davor.
-
Jetzt funktioniert es. Habe nun Version 6.4.1
Habe genau nach Tutorial gearbeitet. Keine Ahnung was da passiert ist.
Danke!