Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Dash button Adapter lässt sich nicht installiert.

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Dash button Adapter lässt sich nicht installiert.

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

      Hallo zusammen,

      habe vor ein paar Tagen mir ein paar Dash Buttons für je 2€ gekauft und wollte jetzt den entsprechenden Adapter installieren.

      Doch leider schlägt das fehl. Vielleicht wir einer aus den Warnungen schlau.

      Ich leider überhaupt nicht.

      ! $ ./iobroker add amazon-dash
      ! npm install iobroker.amazon-dash –production --prefix "/opt/iobroker" (System call)
      ! npm
      ! WARN lifecycle iobroker.amazon-dash@0.2.5~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.5 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::FunctionCallbackInfov8::value&)':../socket_watcher.cpp:104:49: warning: 'v8::Local v8::objectv8::Function::NewInstance() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
      ! info.GetReturnValue().Set(cons->NewInstance());
      ! ^
      ! In file included from /root/.node-gyp/6.11.4/include/node/v8.h:25:0, from /root/.node-gyp/6.11.4/include/node/node.h:42,
      ! from ../../nan/nan.h:49,
      ! from ../socket_watcher.hpp:8,
      ! from ../socket_watcher.cpp:5:
      ! /root/.node-gyp/6.11.4/include/node/v8.h:3276:52: note: declared here
      ! V8_DEPRECATED("Use maybe version", Local <object>NewInstance() const);
      ! ^
      ! /root/.node-gyp/6.11.4/include/node/v8config.h:333:3: note: in definition of macro 'V8_DEPRECATED'
      ! declarator attribute((deprecated(message)))
      ! ^~~~~~~~~~
      ! ../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] Fehler 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.41-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.11.4
      ! gyp ERR! node-gyp -v v3.4.0
      ! gyp ERR! not ok
      ! npm
      ! ERR! Linux 4.9.41-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "–production" "--prefix" "/opt/iobroker"
      ! npm ERR! node v6.11.4
      ! npm ERR! npm v3.10.10
      ! npm ERR! code ELIFECYCLE
      ! npm
      ! ERR! pcap@2.0.0 install: node-gyp rebuildnpm 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.PI_ioBroker install adapter amazon-dash
      ! npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
      ! npm
      ! WARN lifecycle iobroker.amazon-dash@0.2.5~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.5 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::FunctionCallbackInfov8::value&)':../socket_watcher.cpp:104:49: warning: 'v8::Local v8::objectv8::Function::NewInstance() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
      ! info.GetReturnValue().Set(cons->NewInstance());
      ! ^
      ! In file included from /root/.node-gyp/6.11.4/include/node/v8.h:25:0, from /root/.node-gyp/6.11.4/include/node/node.h:42,
      ! from ../../nan/nan.h:49,
      ! from ../socket_watcher.hpp:8,
      ! from ../socket_watcher.cpp:5:
      ! /root/.node-gyp/6.11.4/include/node/v8.h:3276:52: note: declared here
      ! V8_DEPRECATED("Use maybe version", Local <object>NewInstance() const);
      ! ^
      ! /root/.node-gyp/6.11.4/include/node/v8config.h:333:3: note: in definition of macro 'V8_DEPRECATED'
      ! declarator attribute((deprecated(message)))
      ! ^~~~~~~~~~
      ! ../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] Fehler 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.41-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.11.4
      ! gyp ERR!
      ! node-gyp -v v3.4.0gyp ERR! not ok
      ! npm
      ! ERR! Linux 4.9.41-v7+
      ! npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "–production" "--prefix" "/opt/iobroker"npm ERR! node v6.11.4
      ! npm ERR! npm v3.10.10
      ! npm ERR!
      ! code ELIFECYCLE
      ! npm
      ! ERR! pcap@2.0.0 install: node-gyp rebuildnpm 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 pcapnpm 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.PI_ioBroker install adapter amazon-dash
      ! npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
      ! npm
      ! WARN lifecycle iobroker.amazon-dash@0.2.5~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.5 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::FunctionCallbackInfov8::value&)':../socket_watcher.cpp:104:49: warning: 'v8::Local v8::objectv8::Function::NewInstance() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
      ! info.GetReturnValue().Set(cons->NewInstance());
      ! ^
      ! In file included from /root/.node-gyp/6.11.4/include/node/v8.h:25:0,
      ! from /root/.node-gyp/6.11.4/include/node/node.h:42,
      ! from ../../nan/nan.h:49,
      ! from ../socket_watcher.hpp:8,
      ! from ../socket_watcher.cpp:5:
      ! /root/.node-gyp/6.11.4/include/node/v8.h:3276:52: note: declared here
      ! V8_DEPRECATED("Use maybe version", Local <object>NewInstance() const);
      ! ^
      ! /root/.node-gyp/6.11.4/include/node/v8config.h:333:3: note: in definition of macro 'V8_DEPRECATED'
      ! declarator attribute((deprecated(message)))
      ! ^~~~~~~~~~
      ! ../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] Fehler 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.41-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.11.4
      ! gyp ERR! node-gyp -v v3.4.0
      ! gyp ERR! not ok
      ! npm
      ! ERR! Linux 4.9.41-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "–production" "--prefix" "/opt/iobroker"
      ! npm ERR! node v6.11.4
      ! npm ERR! npm v3.10.10
      ! npm ERR! code ELIFECYCLE
      ! npm
      ! ERR! pcap@2.0.0 install: node-gyp rebuildnpm 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.PI_ioBroker install adapter amazon-dash
      ! ERROR: host.PI_ioBroker Cannot install amazon-dash
      ! ERROR: process exited with code 13</pcap></object></v8::object></v8::value></pcap></object></v8::object></v8::value></pcap></object></v8::object></v8::value>

      1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active last edited by

        hast du die libs installiert

        apt-get install libpcap-dev

        1 Reply Last reply Reply Quote 0
        • M
          Mr.X last edited by

          Hmm, weiß ich nicht.

          Werde ich abends ausprobieren.

          Vielen Dank l

          1 Reply Last reply Reply Quote 0
          • M
            Mr.X last edited by

            Oje, zu doof, um zu lesen, dabei war ich auf der GitHub Seite.

            Danke für die Hilfe.

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

              Hat jetzt schon jemand den Dash Button zum laufen gebracht?

              Ich komme den ersten am Samstag und würde den gerne einsetzen.

              Wenn ich das hin bekomme, sollen noch welche folgen.

              Gruß,

              Mathias

              Gesendet von meinem SM-N915FY mit Tapatalk

              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

              822
              Online

              32.0k
              Users

              80.5k
              Topics

              1.3m
              Posts

              3
              5
              871
              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