Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. HID Adapter lässt sich nicht installieren

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    15
    1
    571

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    625

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.9k

HID Adapter lässt sich nicht installieren

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
7 Beiträge 5 Kommentatoren 998 Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • L Offline
    L Offline
    LJ-Mic
    schrieb am zuletzt editiert von
    #1

    Ich hab das Problem das der HID Adapter sich nicht und nicht installieren lässt.

    Vielleicht kann mir hier wer weiter helfen.

    Bei der Installation bekomme ich nach der Fehlermeldung "Fertig mit Fehler: host.pi01 Cannot install hid" folgendes heraus:

    $ ./iobroker add hid 0 --host pi01
    NPM version: 3.10.10
    npm install iobroker.hid --production --save --prefix "/opt/iobroker" (System call)
    prebuild-install WARN install No prebuilt binaries found (target=6.14.3 runtime=node arch=arm platform=linux)
    ../hidapi/libusb/hid.c:47:20: fatal error: libusb.h: Datei oder Verzeichnis nicht gefunden #include <libusb.h>^
    
    compilation terminated.
    make: *** [Release/obj.target/hidapi/hidapi/libusb/hid.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.14.69-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/node-hid
    gyp ERR! node -v v6.14.3
    gyp ERR! node-gyp -v v3.4.0
    gyp ERR! not ok 
    
    npm
     WARN
     optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    npm 
    WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sqlite3/package.json'
    npm 
    ERR! Linux 4.14.69-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.hid" "--production" "--save" "--prefix" "/opt/iobroker"
    
    npm ERR! node v6.14.3npm ERR! npm  v3.10.10
    
    npm
     ERR! code ELIFECYCLE
    
    npm ERR! node-hid@0.5.7 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the node-hid@0.5.7 install script 'prebuild-install || 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 node-hid package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     prebuild-install || node-gyp rebuild
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs node-hid
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls node-hid
    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.pi01 install adapter hid
    NPM version: 3.10.10
    npm install iobroker.hid --production --save --prefix "/opt/iobroker" (System call)
    prebuild-install WARN install No prebuilt binaries found (target=6.14.3 runtime=node arch=arm platform=linux)
    ../hidapi/libusb/hid.c:47:20: fatal error: libusb.h: Datei oder Verzeichnis nicht gefunden #include <libusb.h>^
    compilation terminated.
    
    make: *** [Release/obj.target/hidapi/hidapi/libusb/hid.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.14.69-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/node-hid
    gyp ERR! node -v v6.14.3
    gyp ERR! node-gyp -v v3.4.0
    gyp ERR! not ok 
    
    npm
     WARN 
    optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):
    npm WARN
     notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    npm
     WARN
     enoent
     ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sqlite3/package.json'
    npm
     ERR! Linux 4.14.69-v7+
    npm
    
    ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.hid" "--production" "--save" "--prefix" "/opt/iobroker"npm ERR! node v6.14.3
    npm ERR! npm  v3.10.10
    npm ERR! code ELIFECYCLE
    
    npm ERR! node-hid@0.5.7 install: `prebuild-install || node-gyp rebuild`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the node-hid@0.5.7 install script 'prebuild-install || 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 node-hid package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     prebuild-install || node-gyp rebuild
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!
         npm bugs node-hid
    npm ERR! Or if that isn't available, you can get their info via:npm ERR!     npm owner ls node-hid
    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.pi01 install adapter hid
    NPM version: 3.10.10
    npm install iobroker.hid --production --save --prefix "/opt/iobroker" (System call)
    prebuild-install WARN install No prebuilt binaries found (target=6.14.3 runtime=node arch=arm platform=linux)
    ../hidapi/libusb/hid.c:47:20: fatal error: libusb.h: Datei oder Verzeichnis nicht gefunden #include <libusb.h>^
    
    compilation terminated.
    make: *** [Release/obj.target/hidapi/hidapi/libusb/hid.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.14.69-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/node-hid
    gyp ERR! node -v v6.14.3
    gyp ERR! node-gyp -v v3.4.0
    gyp ERR! not ok 
    
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sqlite3/package.json'
    
    npm ERR! Linux 4.14.69-v7+
    npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.hid" "--production" "--save" "--prefix" "/opt/iobroker"npm ERR! node v6.14.3
    npm ERR! npm  v3.10.10
    npm ERR! code ELIFECYCLE
    
    npm ERR! node-hid@0.5.7 install: `prebuild-install || node-gyp rebuild`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the node-hid@0.5.7 install script 'prebuild-install || 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 node-hid package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     prebuild-install || node-gyp rebuild
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs node-hid
    
    npm ERR! Or if that isn't available, you can get their info via:npm ERR!     npm owner ls node-hid
    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.pi01 install adapter hid
    ERROR: host.pi01 Cannot install hid
    ERROR: process exited with code 13</libusb.h></libusb.h></libusb.h> 
    
    1 Antwort Letzte Antwort
    0
    • apollon77A Online
      apollon77A Online
      apollon77
      schrieb am zuletzt editiert von
      #2

      Google Suchergebnis für dich

      https://stackoverflow.com/questions/485 … -in-ubuntu

      Schade das das nicht auf der readme vom Adapter steht :-(

      Gesendet vom Handy ...

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      1 Antwort Letzte Antwort
      0
      • N Offline
        N Offline
        noaboa
        schrieb am zuletzt editiert von
        #3

        @apollon77:

        Google Suchergebnis für dich

        https://stackoverflow.com/questions/485 … -in-ubuntu

        Schade das das nicht auf der readme vom Adapter steht :-(

        Gesendet vom Handy ... `

        Super dankeschön, hat für mich geklappt mit

        sudo apt-get install libusb-1.0-0-dev
        

        ioBroker auf einem Raspberry 3
        Adapters: Harmony, Hue, Javascript, MyStrom, Parser, Telegram, Spotify und Yhaka

        1 Antwort Letzte Antwort
        0
        • L Offline
          L Offline
          LJ-Mic
          schrieb am zuletzt editiert von
          #4

          Hab ein Haufen Fehlermeldungen bei der Installation bekommen, aber es Läuft jetzt endlich.

          Danke

          1 Antwort Letzte Antwort
          0
          • B Offline
            B Offline
            Bastelfinger
            schrieb am zuletzt editiert von
            #5

            Es ist zwar ein sehr alter Thread, aber ich versuche gerade den HID Adapter zu installieren - allerdings ohne Erfolg:

            $ iobroker add hid --host ioBroker
            NPM version: 6.14.16
            Installing iobroker.hid@0.1.17... (System call)
            node-hid@0.5.7 install /opt/iobroker/node_modules/node-hid> prebuild-install || node-gyp rebuild
            make: Verzeichnis „/opt/iobroker/node_modules/node-hid/build“ wird betreten
            CC(target) Release/obj.target/hidapi/hidapi/libusb/hid.o
            AR(target) Release/obj.target/hidapi.a
            COPY Release/hidapi.a
            CXX(target) Release/obj.target/HID/src/HID.o
            make: Verzeichnis „/opt/iobroker/node_modules/node-hid/build“ wird verlassen
            host.ioBroker Cannot install iobroker.hid@0.1.17: 1
            ERROR: Process exited with code 25

            Ich möchte einen RFID Leser, der per USB am Pi hängt im IOB auslesen.

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • B Bastelfinger

              Es ist zwar ein sehr alter Thread, aber ich versuche gerade den HID Adapter zu installieren - allerdings ohne Erfolg:

              $ iobroker add hid --host ioBroker
              NPM version: 6.14.16
              Installing iobroker.hid@0.1.17... (System call)
              node-hid@0.5.7 install /opt/iobroker/node_modules/node-hid> prebuild-install || node-gyp rebuild
              make: Verzeichnis „/opt/iobroker/node_modules/node-hid/build“ wird betreten
              CC(target) Release/obj.target/hidapi/hidapi/libusb/hid.o
              AR(target) Release/obj.target/hidapi.a
              COPY Release/hidapi.a
              CXX(target) Release/obj.target/HID/src/HID.o
              make: Verzeichnis „/opt/iobroker/node_modules/node-hid/build“ wird verlassen
              host.ioBroker Cannot install iobroker.hid@0.1.17: 1
              ERROR: Process exited with code 25

              Ich möchte einen RFID Leser, der per USB am Pi hängt im IOB auslesen.

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von Thomas Braun
              #6

              @bastelfinger

              sudo apt update
              sudo apt install build-essential libudev-dev libusb-1.0-0 libusb-1.0-0-dev
              

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              1 Antwort Letzte Antwort
              0
              • B Offline
                B Offline
                Bastelfinger
                schrieb am zuletzt editiert von
                #7

                @thomas-braun said in HID Adapter lässt sich nicht installieren:

                sudo apt install build-essential libudev-dev libusb-1.0-0 libusb-1.0-0-dev

                den habe ich schon:
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                build-essential ist schon die neueste Version (12.6).
                libudev-dev ist schon die neueste Version (241-7~deb10u8+rpi1).
                libusb-1.0-0 ist schon die neueste Version (2:1.0.22-2).
                libusb-1.0-0-dev ist schon die neueste Version (2:1.0.22-2).
                0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

                1 Antwort Letzte Antwort
                0
                Antworten
                • In einem neuen Thema antworten
                Anmelden zum Antworten
                • Älteste zuerst
                • Neuste zuerst
                • Meiste Stimmen


                Support us

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

                830

                Online

                32.6k

                Benutzer

                81.9k

                Themen

                1.3m

                Beiträge
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                ioBroker Community 2014-2025
                logo
                • Anmelden

                • Du hast noch kein Konto? Registrieren

                • Anmelden oder registrieren, um zu suchen
                • Erster Beitrag
                  Letzter Beitrag
                0
                • Home
                • Aktuell
                • Tags
                • Ungelesen 0
                • Kategorien
                • Unreplied
                • Beliebt
                • GitHub
                • Docu
                • Hilfe