NEWS
[gelöst] Amazon Dash Button Installation [Fehler Code 13]
-
Hallo,
ich habe heute meinen ersten Dash Button bekommen und wollte ihn gleich mit meinem ioBroker "verheiraten", um etwas damit zu spielen.
Nur leider habe ich das Problem, den Adapter, mit der Versions-Nummer 0.2.7, zu installieren.
Ich bekomme den Fehler Code 13.
Laut Forum soll das irgendwas mit Node/Node-JS zu tun haben.
Alles ist bei mir auf dem neusten Stand.
Kann mir da bitte jemand behilflich sein?
-
kopier mal dein log mit dem betreffenden Fehleroutput hier rein.
Infos zum System wären noch gut: rpi? linux? windows?
-
Das Problem hat sich inzwischen erledigt.
Musste vorher noch:
apt-get install libpcap-dev
ausführen und somit konnte ich den Adapter installieren.
-
Hallo Zusammen, habe das gleiche Problem,
der Adapter lässt sich nicht installieren und beendet mit Fehler Code 13
apt-get install libpcap-dev
hat leider auch nicht geholfen, da es bereist installiert ist…
ist schon die neuester Version (1:2.25-1)
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert
iobroker 2018-03-31 18:10:27.331 error host.raspberrypi Cannot install amazon-dash iobroker 2018-03-31 18:10:27.329 info host.raspberrypi install adapter amazon-dash iobroker 2018-03-31 18:10:27.181 info npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.14.1 iobroker 2018-03-31 18:10:16.830 info WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.am iobroker 2018-03-31 18:09:26.938 info npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call) iobroker 2018-03-31 18:09:26.523 info host.raspberrypi install adapter amazon-dash iobroker 2018-03-31 18:09:26.350 info ERR! Linux 4.14.30-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker" iobroker 2018-03-31 18:09:15.742 info WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.am iobroker 2018-03-31 18:08:26.869 info npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call) iobroker 2018-03-31 18:08:26.554 info host.raspberrypi install adapter amazon-dash iobroker 2018-03-31 18:08:26.329 info ERR! Linux 4.14.30-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker" iobroker 2018-03-31 18:08:15.962 info WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.am iobroker 2018-03-31 18:07:27.058 info npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call) iobroker 2018-03-31 18:07:25.065 info add amazon-dash
hat jemand ne Idee?
Ich bekomme den Adapter nicht installiert.
Danke
Gruß Jens
-
hat sich erledigt,
nach vielen hin und her was node, nodejs und npm betrifft, update downgrade,
läuft die instance jetzt
-
-
Was bitte ist
AingTii hat geschrieben: ↑07.04.2018, 15:46
update downgrade
? `
Update ist installieren einer neueren Version
downgrade ist das installieren einer älteren Version
Sollte eigentlich durchaus sinn ergeben im zusammen hang mit "hin und her" :?:
fehlt allerdings ein Komma zwischen update und downgrade.
Gruß Jens
-
kannst du mal bitte sagen, welche Versionen du Installiert hast?
so sieht es bei mir aus.
ich bekomme auch die Instanz, diese startet aber nicht.
$ ./iobroker add amazon-dash npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call) npm WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9 host.ioBroker-Pi install adapter amazon-dash npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.amazon-dash" npm WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/iobroker.amazon-dash ../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::value>Nan::MakeCallback(v8::Local<v8::object>, v8::Local<v8::function>, int, v8::Local<v8::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:929:46: note: declared here NAN_DEPRECATED inline v8::Local <v8::value>MakeCallback( ^~~~~~~~~~~~ ../pcap_session.cc: In static member function ‘static void PcapSession::PacketReady(u_char*, const pcap_pkthdr*, const u_char*)’:../pcap_session.cc:85:102: warning: ‘v8::Local <v8::value>Nan::MakeCallback(v8::Local<v8::object>, v8::Local<v8::function>, int, v8::Local<v8::value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(session->packet_ready_cb), 0, NULL); ^ In file included from ../pcap_session.h:4:0, from ../pcap_session.cc:7: ../../nan/nan.h:929:46: note: declared here NAN_DEPRECATED inline v8::Local <v8::value>MakeCallback( ^~~~~~~~~~~~ got /opt/iobroker/node_modules/iobroker.amazon-dash/admin upload [2] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/words.js words.js application/javascript upload [1] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/index.html index.html text/html upload [0] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/amazon-dash.png amazon-dash.png image/png host.ioBroker-Pi object system.adapter.amazon-dash created host.ioBroker-Pi create instance amazon-dash host.ioBroker-Pi object system.adapter.amazon-dash.0.outputCount created host.ioBroker-Pi object system.adapter.amazon-dash.0.inputCount created host.ioBroker-Pi object system.adapter.amazon-dash.0.uptime created host.ioBroker-Pi object system.adapter.amazon-dash.0.memRss created host.ioBroker-Pi object system.adapter.amazon-dash.0.memHeapTotal created host.ioBroker-Pi object system.adapter.amazon-dash.0.memHeapUsed created host.ioBroker-Pi object system.adapter.amazon-dash.0.connected created host.ioBroker-Pi object system.adapter.amazon-dash.0.alive created host.ioBroker-Pi object system.adapter.amazon-dash.0 created process exited with code 0</v8::value></v8::value></v8::function></v8::object></v8::value></v8::value></v8::value></v8::function></v8::object></v8::value>
-
Hallo,
so wie ich das sehe, 0.2.9
bei mir steht bei den Adapter amazondash 0.2.7 0.2.9 [1/1]
ich meine zumindest, die letzte nummer ist die installierte
Oder meintest Du node, nodejs und npm?
Gruß jens
-
> Oder meintest Du node, nodejs und npm?
Ja genau, die 3 Versionen!
-
npm -v
5.8.0
nodejs -v
V8.11.1
node -v
V8.9.0
-
Dann hast du zwei verschiedene node(js) Versionen zeitgleich installiert
Gruß
Rainer
-
> Dann hast du zwei verschiedene node(js) Versionen zeitgleich installiert
Ich jetzt?
also der DashButton Adapter wird auch installiert, nur beim starten bekomme ich ein paar Errors und der Apdapter wird neu gestartet!
Stephan
-
-
das mag natürlich sein und klingt ja auch logisch wenn 2 Versionen da sind.
So ganz habe ich das mit dem Node und node.js nicht verstanden, zum einen wird gesagt
das eine wird mit dem anderen installiert. Ich meine mit node wird node.js mit installiert
(Bitte berichtigen wenn es falsch ist)
aber nach der installation der einen ist das andere nicht da oder wird nicht als Version angezeigt.
Also doch beides installieren?
Nur halt die gleiche Version?
Danke
Gruß jens
-
Guten Abend,
kann jemand hier den Fehler identifizieren?
Bekomme den Adapter nicht installiert.
-
Ich klinke mich hier mal ein.
Ich habe den Adapter installiert, aber er gibt kein Lebenszeichen von sich.
Folgende Versionen habe ich installiert:
Adapter
0.2.9
nodejs -v
v8.11.3
npm -v
4.6.1
node -v
v8.11.3
host.raspberrypi 2018-07-29 14:01:08.292 error instance system.adapter.amazon-dash.0 terminated with code 0 (OK) host.raspberrypi 2018-07-29 14:01:08.292 error Caught by controller[0]: at Module.load (module.js:565:32) host.raspberrypi 2018-07-29 14:01:08.292 error Caught by controller[0]: at Object.Module._extensions..js (module.js:663:10) host.raspberrypi 2018-07-29 14:01:08.292 error Caught by controller[0]: at Module._compile (module.js:652:30) host.raspberrypi 2018-07-29 14:01:08.292 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21) host.raspberrypi 2018-07-29 14:01:08.292 error Caught by controller[0]: at require (internal/module.js:11:18) host.raspberrypi 2018-07-29 14:01:08.292 error Caught by controller[0]: at Module.require (module.js:596:17) host.raspberrypi 2018-07-29 14:01:08.292 error Caught by controller[0]: at Function.Module._load (module.js:497:3) host.raspberrypi 2018-07-29 14:01:08.292 error Caught by controller[0]: at tryModuleLoad (module.js:505:12) host.raspberrypi 2018-07-29 14:01:08.292 error Caught by controller[0]: at Module.load (module.js:565:32) host.raspberrypi 2018-07-29 14:01:08.292 error Caught by controller[0]: at Object.Module._extensions..node (module.js:681:18) host.raspberrypi 2018-07-29 14:01:08.291 error Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). host.raspberrypi 2018-07-29 14:01:08.291 error Caught by controller[0]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing host.raspberrypi 2018-07-29 14:01:08.291 error Caught by controller[0]: NODE_MODULE_VERSION 48\. This version of Node.js requires host.raspberrypi 2018-07-29 14:01:08.291 error Caught by controller[0]: was compiled against a different Node.js version using host.raspberrypi 2018-07-29 14:01:08.291 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/build/Release/pcap_binding.node'</anonymous>