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. ModBus Adapter Installation

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    541

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.4k

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

ModBus Adapter Installation

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
4 Beiträge 2 Kommentatoren 1.2k Aufrufe
  • Ä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.
  • M Offline
    M Offline
    megatron
    schrieb am zuletzt editiert von
    #1

    Hallo zusammen,

    ich bin neue im Forum und bin zufällig auf ioBroker gestoßen. Und habe direkt mal eine Frage zu der Installation von dem ModBus Adapter.

    Und zwar:

    ioBroker läuft bei mir auf RPi 3 und ich verwende das Image Raspbian light für Raspberry Pi 2/3 von 14.05.2017.

    Hab laut Anleitung alle Adapter im ioBroker.admin aktualisiert und wollte im Anschluss den ModBus Adapter installieren.

    Kriege aber im Kommando-Ausführung's Fenster folgenden Installationsmeldungen.

    Werde irgendwie nicht schlau draus, vllt. ist es auch schon zu spät und Zeit für's Bett :)

    
    $ ./iobroker add modbus
    npm install iobroker.modbus --production --prefix "/opt/iobroker" (System call)
    node-pre-gyp
     ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v48-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.10.3 (node-v48 ABI) (falling back to source compile with node-gyp) 
    
    gyp
    
    WARN
     EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.3"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/serialport/.node-gyp"
    
    make: *** No rule to make target '../.node-gyp/6.10.3/include/node/common.gypi', needed by 'Makefile'.  Schluss.
    gyp
    
    ERR! build error 
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/build.js:285: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.9.24-v7+
    gyp 
    ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"gyp ERR! cwd /opt/iobroker/node_modules/serialport
    gyp ERR! node -v v6.10.3
    gyp ERR! node-gyp -v v3.6.0
    gyp ERR! not ok 
    
    node-pre-gyp ERR! build error 
    node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
    
    node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
    node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:886:16)
    node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    node-pre-gyp
     ERR! System Linux 4.9.24-v7+node-pre-gyp ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
    node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
    node-pre-gyp ERR! node -v v6.10.3
    node-pre-gyp ERR! node-pre-gyp -v v0.6.32
    node-pre-gyp ERR! not ok 
    
    npm
    
    ERR! Linux 4.9.24-v7+
    npm
    
    ERR! 
    argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.modbus" "--production" "--prefix" "/opt/iobroker"npm 
    ERR! 
    node v6.10.3npm
     ERR! npm  v3.10.10npm ERR! code ELIFECYCLE
    
    npm ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the serialport@4.0.7 install script 'node-pre-gyp install --fallback-to-build'.
    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 serialport package,
    npm 
    ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:
    npm 
    ERR!     node-pre-gyp install --fallback-to-buildnpm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs serialport
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls serialport
    npm ERR! There is likely additional logging output above.
    
    npm ERR! Please include the following file with any support request:npm ERR!     /opt/npm-debug.log
    npm ERR! code 1
    
    host.ioBroker-RasPi install adapter modbus
    npm install iobroker.modbus --production --prefix "/opt/iobroker" (System call)
    node-pre-gyp
     ERR!
     Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v48-linux-arm.tar.gz 
    node-pre-gyp
     ERR!
     Pre-built binaries not found for serialport@4.0.7 and node@6.10.3 (node-v48 ABI) (falling back to source compile with node-gyp)
    
    gyp
    
    WARN
     EACCES
     user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.3"
    gyp
     WARN
    
    EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/serialport/.node-gyp"
    make: *** No rule to make target '../.node-gyp/6.10.3/include/node/common.gypi', needed by 'Makefile'.  Schluss.
    gyp
     ERR! build error 
    gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/build.js:285: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.9.24-v7+
    gyp ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
    gyp ERR! 
    cwd /opt/iobroker/node_modules/serialportgyp ERR! node -v v6.10.3
    gyp ERR! node-gyp -v v3.6.0
    
    gyp ERR! not ok 
    node-pre-gyp ERR! build error 
    node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
    
    node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
    node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:886:16)
    node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    node-pre-gyp ERR! System Linux 4.9.24-v7+
    node-pre-gyp ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
    node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
    node-pre-gyp ERR! node -v v6.10.3
    node-pre-gyp ERR! node-pre-gyp -v v0.6.32
    node-pre-gyp ERR! not ok 
    
    npm ERR! Linux 4.9.24-v7+
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.modbus" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.10.3
    npm ERR! npm  v3.10.10
    npm ERR! code ELIFECYCLE
    
    npm ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the serialport@4.0.7 install script 'node-pre-gyp install --fallback-to-build'.
    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 serialport package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     node-pre-gyp install --fallback-to-build
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs serialport
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls serialport
    npm ERR! There is likely additional logging output above.
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     /opt/npm-debug.log
    
    npm ERR! code 1
    host.ioBroker-RasPi install adapter modbus
    npm install iobroker.modbus --production --prefix "/opt/iobroker" (System call)
    node-pre-gyp
    
    ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v48-linux-arm.tar.gz
     node-pre-gyp
     ERR!
     Pre-built binaries not found for serialport@4.0.7 and node@6.10.3 (node-v48 ABI) (falling back to source compile with node-gyp) 
    gyp
    
    WARN EACCES
     user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.3"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/serialport/.node-gyp"
    
    make: *** No rule to make target '../.node-gyp/6.10.3/include/node/common.gypi', needed by 'Makefile'.  Schluss.
    gyp
    
    ERR! 
    build error 
    gyp
     ERR!
     stack Error: `make` failed with exit code: 2
    gyp
     ERR! stack
         at ChildProcess.onExit (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/build.js:285: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.9.24-v7+
    gyp 
    ERR! 
    command "/usr/bin/nodejs" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
    gyp ERR!
     cwd /opt/iobroker/node_modules/serialport
    gyp
     ERR!
     node -v v6.10.3
    gyp ERR! node-gyp -v v3.6.0gyp 
    ERR! not ok 
    node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)
    node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
    node-pre-gyp 
    ERR! stack     at emitTwo (events.js:106:13)node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
    node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:886:16)
    node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    node-pre-gyp
     ERR! System Linux 4.9.24-v7+node-pre-gyp ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
    
    node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialportnode-pre-gyp ERR! 
    node -v v6.10.3
    node-pre-gyp ERR! node-pre-gyp -v v0.6.32node-pre-gyp ERR! not ok 
    
    npm
     ERR!
     Linux 4.9.24-v7+
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.modbus" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.10.3
    
    npm ERR! npm  v3.10.10npm ERR! code ELIFECYCLE
    
    npm
     ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the serialport@4.0.7 install script 'node-pre-gyp install --fallback-to-build'.
    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 serialport package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     node-pre-gyp install --fallback-to-build
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs serialport
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls serialport
    npm
     ERR! There is likely additional logging output above.
    
    npm ERR! Please include the following file with any support request:npm ERR!
         /opt/npm-debug.lognpm ERR! code 1
    
    host.ioBroker-RasPi install adapter modbus
    ERROR: host.ioBroker-RasPi Cannot install modbus
    ERROR: process exited with code 13</anonymous></anonymous></anonymous> 
    
    1 Antwort Letzte Antwort
    0
    • apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #2

      Mach mal vor den aufruf ein "sudo".

      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
      • M Offline
        M Offline
        megatron
        schrieb am zuletzt editiert von
        #3

        hab ich gemacht, kommt die gleiche Rückmeldung.

        1 Antwort Letzte Antwort
        0
        • M Offline
          M Offline
          megatron
          schrieb am zuletzt editiert von
          #4

          Hab grad noch mal im iobroker.admin unter Instanzen nach geschaut und plötzlich war die modbus Instanz da.

          Werde mir ein neues Image für das Pi ersten und mal alles von neue machen und schauen was ich gemacht hab :D

          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

          270

          Online

          32.7k

          Benutzer

          82.5k

          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