Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Amazon Dash Buton

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Amazon Dash Buton

    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      igabbert last edited by

      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>
      
      1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active last edited by

        @igabbert:

        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 ??

        1 Reply Last reply Reply Quote 0
        • I
          igabbert last edited by

          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

          1 Reply Last reply Reply Quote 0
          • I
            igabbert last edited by

            Hab´s selber hinbekommen. Habe per SSH installiert, dann ging´s.

            1 Reply Last reply Reply Quote 0
            • V
              V_Stefan last edited by

              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

              1 Reply Last reply Reply Quote 0
              • V
                V_Stefan last edited by

                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

                1 Reply Last reply Reply Quote 0
                • M
                  Malaus last edited by

                  @V_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.

                  1 Reply Last reply Reply Quote 0
                  • B
                    baeckerman83 last edited by

                    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….

                    1 Reply Last reply Reply Quote 0
                    • M
                      Malaus last edited by

                      Hat leider nichts bewirkt.

                      1 Reply Last reply Reply Quote 0
                      • Thisoft
                        Thisoft last edited by

                        @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 😉

                        1 Reply Last reply Reply Quote 0
                        • M
                          Malaus last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • Thisoft
                            Thisoft last edited by

                            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...

                            1 Reply Last reply Reply Quote 0
                            • M
                              Malaus last edited by

                              Dann wirds wohl Zeit für eine Umstellung 😄

                              Danke dir für die Hilfe!

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              376
                              Online

                              31.8k
                              Users

                              79.9k
                              Topics

                              1.3m
                              Posts

                              6
                              13
                              1199
                              Loading More Posts
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes
                              Reply
                              • Reply as topic
                              Log in to reply
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                              The ioBroker Community 2014-2023
                              logo