NEWS
Amazon Dash Buton
-
Hallo zusammen,
ich bekomme den Dash Adapter nicht installiert.
Hat jemand eine Idee? Hier der Installationscode:
Vorab herzlichen Dank und guten Rutsch.
$ ./iobroker add amazon-dash npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call) npm WARN lifecycle iobroker.amazon-dash@0.2.6~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.6 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9 ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfo<v8::value>&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local <v8::object>v8::Function::NewInstance() const’ is deprecated (declared at /root/.node-gyp/6.12.2/include/node/v8.h:3276): Use maybe version [-Wdeprecated-declarations] info.GetReturnValue().Set(cons->NewInstance()); ^ ../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:276:23)gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) gyp ERR! System Linux 4.9.35-v7+gyp 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 v6.12.2 gyp ERR! node-gyp -v v3.4.0gyp ERR! not ok npm ERR! Linux 4.9.35-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.12.2 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! pcap@2.0.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the pcap package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pcap npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls pcap npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /npm-debug.log host.iobroker install adapter amazon-dash npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call) npm WARN lifecycle iobroker.amazon-dash@0.2.6~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.6 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9 ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfo<v8::value>&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local <v8::object>v8::Function::NewInstance() const’ is deprecated (declared at /root/.node-gyp/6.12.2/include/node/v8.h:3276): Use maybe version [-Wdeprecated-declarations] info.GetReturnValue().Set(cons->NewInstance()); ^ ../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:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) gyp ERR! System Linux 4.9.35-v7+gyp 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/pcapgyp ERR! node -v v6.12.2 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm ERR! Linux 4.9.35-v7+ npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.12.2 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! pcap@2.0.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the pcap package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pcap npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls pcap npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log host.iobroker install adapter amazon-dash npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call) npm WARN lifecycle iobroker.amazon-dash@0.2.6~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.6 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9 ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfo<v8::value>&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local <v8::object>v8::Function::NewInstance() const’ is deprecated (declared at /root/.node-gyp/6.12.2/include/node/v8.h:3276): Use maybe version [-Wdeprecated-declarations] info.GetReturnValue().Set(cons->NewInstance()); ^ ../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:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) gyp ERR! System Linux 4.9.35-v7+gyp 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/pcapgyp ERR! node -v v6.12.2 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm ERR! Linux 4.9.35-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.12.2 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! pcap@2.0.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the pcap package, npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pcap npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls pcap npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log host.iobroker install adapter amazon-dash ERROR: host.iobroker Cannot install amazon-dash ERROR: process exited with code 13</pcap></v8::object></v8::value></pcap></v8::object></v8::value></pcap></v8::object></v8::value>
-
Hallo zusammen,
ich bekomme den Dash Adapter nicht installiert.
Hat jemand eine Idee? Hier der Installationscode:
Vorab herzlichen Dank und guten Rutsch. `
frohes neues
mal im ernst was sollen wir mit solchen Infos….
welches System ?? Admin Version ?? iobroker version ??
-
Hallo nachmal,
also installiert auf einem Raspberry Pi 3, Admin Version 2.0.9, iobroker Version 1.2.3 (bin mir nicht sicher)
Viele Grüße Ingo
-
Hab´s selber hinbekommen. Habe per SSH installiert, dann ging´s.
-
Hallo igabbert,
ich habe das gleiche Problem. Da ich aber Neueinsteiger bin kann ich mit "Habe per SSH installiert, dann ging´s" leider noch nichts anfangen.
Kannst Du das bitte näher beschreiben.
Gruß
Stefan
-
Mit Try&Error habe ich es jetzt auch hinbekommen
.
Putty öffnen und anmelden
sudo su
apt-get install libpcap-dev
npm install iobroker.amazon-dash
Bei mir musste ich dann noch im Admin den Adapter mit dem + installieren
Ich hoffe, dass es nicht all zuviel Quatsch ist, den ich geschrieben habe :lol: :lol:
Gruß
Stefan
-
Mit Try&Error habe ich es jetzt auch hinbekommen
.
Putty öffnen und anmelden
sudo su
apt-get install libpcap-dev
npm install iobroker.amazon-dash
Bei mir musste ich dann noch im Admin den Adapter mit dem + installieren
Ich hoffe, dass es nicht all zuviel Quatsch ist, den ich geschrieben habe :lol: :lol:
Gruß
Stefan `
Habe das selbe Problem und es funktioniert leider nicht mit deiner Lösung.
-
Ich glaube du musst vor dem npm install noch in des iobroker Verzeichniss. Auf dem Rapsian mit Debian unter /opt/iobroker
also cd /opt/iobroker und dann npm install….
-
Hat leider nichts bewirkt.
-
@lalalalala:Habe das selbe Problem und es funktioniert leider nicht mit deiner Lösung. `
Hallo lalalalala,
wenn dir jemand helfen soll wirst du uns schon mal ein wenig genauer mitteilen müssen <u>was</u> denn nicht funktioniert :!:
Sonst müsste ich nämlich die berühmte Frage stellen "Was hast du denn gemacht?" Und wenn dann die berühmte Antwort kommt "Na - Nichts" ist es wohl klar wo der Fehler liegt
-
Ja du hast recht!
Bei mir kommt so ziemlich die selbe Fehlermeldung. Also am Schluss steht das ebenfalls:
` > host.iobroker install adapter amazon-dash
ERROR: host.iobroker Cannot install amazon-dash
ERROR: process exited with code 13 `
Den Lösungsvorschlag von baeckerman83 hab ich ebenfalls schon probiert. Auch kein Erfolg.
Ich vermute aber, dass es an meiner Hardware liegt. Den ich habe ioBroker auf einem Android Device laufen.
Klar, ist dort die Ordnerstruktur anderst wie bei einem Raspberry aber ich habe den entsprechenden Ordner gefunden und es versucht per ssh zu installieren.
-
Ja, das ist natürlich die entscheidende Ansage - du willst auf Android installieren. Da wird's zumindest ohne "Handarbeit" nicht gehen. Speziell der Dashbutton-Adapter geht ja auch auf Windows nicht zu installieren. Ob's da bei Android einen Umweg gibt…?? Da bin ich raus - kenn ich mich zu wenig damit aus...
-
Dann wirds wohl Zeit für eine Umstellung
Danke dir für die Hilfe!