NEWS
Amazon Dash Adapter wieder mal - bitte um Hilfe (gelöst)
-
Hallo zusammen,
nach stundenlangen Versuchen… Ich bekomme den Adapter nicht zum laufen.
Würde mich sehr freuen, wenn mir jemand helfen kann.
Ich bekomme folgende Fehler:
host.rock64 2019-01-15 22:57:48.269 error instance system.adapter.amazon-dash.0 terminated with code 0 (OK) host.rock64 2019-01-15 22:57:48.269 error Caught by controller[0]: at Function.Module._load (module.js:498:3) code: 'MODULE_NOT_FOUND' } host.rock64 2019-01-15 22:57:48.268 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.rock64 2019-01-15 22:57:48.268 error Caught by controller[0]: at Module.load (module.js:566:32) host.rock64 2019-01-15 22:57:48.268 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.rock64 2019-01-15 22:57:48.268 error Caught by controller[0]: at Module._compile (module.js:653:30) host.rock64 2019-01-15 22:57:48.268 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/pcap/pcap.js:4:21) host.rock64 2019-01-15 22:57:48.268 error Caught by controller[0]: at require (internal/module.js:11:18) host.rock64 2019-01-15 22:57:48.267 error Caught by controller[0]: at Module.require (module.js:597:17) host.rock64 2019-01-15 22:57:48.267 error Caught by controller[0]: at Function.Module._load (module.js:475:25) host.rock64 2019-01-15 22:57:48.267 error Caught by controller[0]: at Function.Module._resolveFilename (module.js:548:15) host.rock64 2019-01-15 22:57:48.266 error Caught by controller[0]: { Error: Cannot find module 'socketwatcher'</anonymous>
npm rebuild habe ich bereits versucht. Außerdem habe ich mit npm Version 6.2 und 6.4.1 getestet.
Aktuell bin ich sogar auf npm 6.5. Node ist v8.15.0
Es handelt sich um einen neu installierten Rock64 mit Armbian. Habe einen Restore gemacht.
Der Adapter lässt sich installieren, aber beim Starten erscheinen im Log die obigen Fehlermeldungen und er bleibt rot.
Socketwatcher ist vorhanden und wurde schon mehrfach nachinstalliert.
Wo könnte der Fehler noch liegen bzw. was kann ich noch testen?
Vielen Dank im Voraus
Frank
-
das zusätzliche prg aus der doku ist installiert ?
-
Installiert bitte Adapter neu bzw checke die sd Karte. Da ist Einimpfung nicht installiert.
Gesendet vom Handy …
-
Ich habe den Adapter schon zig mal neu installiert. Pcrap ist installiert, oder was meinst Du mit prg? Es handelt sich um eine emmc Platte, keine sd…
Alles andere läuft bis auf den Dash Adapter.
-
ich sehe im Fehler nur:
Cannot find module 'socketwatcher'
das hat mit pcap erstmal nichts zu tun.
-
Ich habe jetzt mal nodejs komplett deinstalliert und wieder neu installiert wie in der aktuellen Anleitung beschrieben.
Nun bin ich auf npm 6.4.1 und node v8.15.0
Habe dann den Dash-Adapter deinstalliert und pcrap, socketwatcher und den dash-adapter neu installiert.
Der Fehler mit dem Socketwatcher ist jetzt weg, aber er läuft trotzdem nicht.
Bekomme noch folgende Meldungen im Log:
host.rock64 2019-01-16 09:20:47.584 error instance system.adapter.amazon-dash.0 terminated with code 0 (OK) host.rock64 2019-01-16 09:20:47.584 error Caught by controller[0]: at Socket.that.getForeignObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:869:25) host.rock64 2019-01-16 09:20:47.583 error Caught by controller[0]: at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:830:13) host.rock64 2019-01-16 09:20:47.583 error Caught by controller[0]: at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:869:54) host.rock64 2019-01-16 09:20:47.583 error Caught by controller[0]: at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5290:18) host.rock64 2019-01-16 09:20:47.583 error Caught by controller[0]: at Adapter.emit (events.js:208:7) host.rock64 2019-01-16 09:20:47.582 error Caught by controller[0]: at emitNone (events.js:106:13) host.rock64 2019-01-16 09:20:47.582 error Caught by controller[0]: at Adapter. <anonymous>(/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:43:5) host.rock64 2019-01-16 09:20:47.582 error Caught by controller[0]: at main (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:78:29) host.rock64 2019-01-16 09:20:47.581 error Caught by controller[0]: at Object.exports.createSession (/opt/iobroker/node_modules/pcap/pcap.js:123:12) host.rock64 2019-01-16 09:20:47.581 error Caught by controller[0]: at new PcapSession (/opt/iobroker/node_modules/pcap/pcap.js:49:39) host.rock64 2019-01-16 09:20:47.580 error Caught by controller[0]: Error: socket: Operation not permitted</anonymous>
Irgendwelche Berechtigungsprobleme so wie das aussieht, oder?
-
-
Genau das wars! Vielen Dank! Verstehe zwar nicht, warum bzw. wie das passieren kann…
Aber mit nur einem Befehl sudo getcap $(readlink -f $(which node))
wars erledigt...
Grüße