NEWS
Fehler im Log / Amazon Dash Adapter funktioniert nicht mehr
-
Hallo.
Leider funktioniert mein Amazon Das Adapter nicht mehr.
Von einem anderen User habe ich bereits den Tip, dass es wohl nicht an der Installation der neuen Amazon Dash Adapter Version liegt.
Das ist die Fehlermeldung aus dem LOG:
host.raspberrypi 2019-01-19 13:31:25.577 error instance system.adapter.amazon-dash.0 terminated with code 0 (OK)
host.raspberrypi 2019-01-19 13:31:25.577 error Caught by controller[0]: at Object.Module._extensions..js (module.js:579:10)
host.raspberrypi 2019-01-19 13:31:25.576 error Caught by controller[0]: at Module._compile (module.js:570:32)
host.raspberrypi 2019-01-19 13:31:25.576 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21)
host.raspberrypi 2019-01-19 13:31:25.576 error Caught by controller[0]: at require (internal/module.js:20:19)
host.raspberrypi 2019-01-19 13:31:25.576 error Caught by controller[0]: at Module.require (module.js:497:17)
host.raspberrypi 2019-01-19 13:31:25.576 error Caught by controller[0]: at Function.Module._load (module.js:438:3)
host.raspberrypi 2019-01-19 13:31:25.576 error Caught by controller[0]: at tryModuleLoad (module.js:446:12)
host.raspberrypi 2019-01-19 13:31:25.575 error Caught by controller[0]: at Module.load (module.js:487:32)
host.raspberrypi 2019-01-19 13:31:25.575 error Caught by controller[0]: at Object.Module._extensions..node (module.js:597:18)
host.raspberrypi 2019-01-19 13:31:25.575 error Caught by controller[0]: at Error (native)
host.raspberrypi 2019-01-19 13:31:25.572 error Caught by controller[0]: Error: Module version mismatch. Expected 48, got 67.</anonymous>
-
Warum doppelt?? Du hast das in einem anderen Thread schon gepostet
Gesendet vom Handy …
-
Bekomme es gerade auch nicht mehr installert
$ ./iobroker add amazon-dash –host rock64
NPM version: 6.4.1
npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
../socket_watcher.cpp: In static member function ‘static void SocketWatcher::Callback(uv_poll_t*, int, int)’:../socket_watcher.cpp:77:60: warning: ‘v8::Local v8::valueNan::MakeCallback(v8::Localv8::object, v8::Localv8::function, int, v8::Localv8::value*)’ is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(watcher->handle(), callback, argc, argv);
^
In file included from ../socket_watcher.hpp:8:0,
from ../socket_watcher.cpp:5:
../../nan/nan.h:959:46: note: declared here
NAN_DEPRECATED inline v8::Local v8::valueMakeCallback(
^~~~~~~~~~~~
../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: No such file or directory #include <pcap pcap.h="">^
compilation terminated.
make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1
gyp
ERR! build error
gyp ERR!
stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)gyp
ERR! System Linux 4.4.167-rockchip64gyp ERR!
command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/pcap
gyp ERR! node -v
v8.15.0gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm
ERR! code ELIFECYCLEnpm
ERR! errno 1
npm ERR!
pcap@2.1.0 install:
node-gyp rebuild
npm ERR! Exit status 1npm ERR!
npm
ERR! Failed at the pcap@2.1.0 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2019-01-20T17_43_42_022Z-debug.log
host.rock64 install adapter amazon-dash
NPM version: 6.4.1
npm install iobroker.amazon-dash –production --save --prefix "/opt/iobroker" (System call)</pcap></v8::value></v8::value></v8::function></v8::object></v8::value>
-
Bitte readme zum Adapter lesen. Entweder das angegebene pcap Modul selbst mit apt-get installieren oder der Adapter muss als root installiert werden.
Gesendet vom Handy …