Navigation

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

    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

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

      Hallo Zusammen,

      Ich hab gestern meinen dash bekommen und hab diesen aktiviert. Nun wollte ich den Adapter installieren und bekam eine Fehlermeldung,

      sowohl auf dem Raspi II mit node 6.7.0, wie auch auf dem Raspi III mit node 4.4.2

      Hier die Fehlermeldung:

      $ ./iobroker add amazon-dash

      npm install iobroker.amazon-dash –production --prefix "/opt/iobroker" (System call)

      ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #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:215:12)

      gyp ERR! System Linux 4.1.19-v7+

      gyp ERR! command "/usr/bin/nodejs" "/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.7.0

      gyp ERR! node-gyp -v v3.3.1

      gyp ERR! not ok

      npm

      WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/authenticate-pam/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/package.json'

      npm

      ERR! Linux 4.1.19-v7+

      npm

      ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash" "–production" "--prefix" "/opt/iobroker"npm

      ERR!

      node v6.7.0npm ERR!

      npm v3.10.3npm 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

      ERROR: host.RPi2 Cannot install iobroker.amazon-dash: 1

      ERROR: process exited with code 25

      Hat vieleicht schon jemand Erfahrung und eine Idee?</pcap>

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        Da gibt es schon einigesczu.

        Node 6 läuft nicht immer und npm 3 schon gar nicht.

        Empfohlen ist node 4.5 und npm 2.x

        Gruß

        Rainer

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

          Na das war fix,

          was ist~~@Homoran:~~

          Empfohlen ist node 4.5 und npm 2.x `
          npm ?

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            Steht beivdir im error log
            @DirkK:

            node v6.7.0npm ERR!

            npm v3.10.3npm ERR `

            Benutzt du zum installieren: " npm install iobroker…. "

            Node package manager, wird auch bei Debian mit node installiert.

            Gruß

            Rainer

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

              OK, Danke, jetzt muß ich "erst mal in mich gehen", kann man andere Versionen drüberbügeln? Mein Ahne hat gerade das selbe Problem, aber irgendwie kriegt der keine

              Vorgängerversion drauf.

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                Node steht auf der Website unter Jessie schnellstart.

                Npm hat Bluefox hier im forum schon öfter geschrieben.

                Gruß

                Rainer

                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

                389
                Online

                31.9k
                Users

                80.3k
                Topics

                1.3m
                Posts

                2
                6
                852
                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