Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Fehler bei Installation MQTT Adapter

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

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

    • Wir empfehlen: Node.js 22.x

    [gelöst] Fehler bei Installation MQTT Adapter

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

      > Naja … qmtt ?!?! mqtt ...

      Stimmt, jetz noch mal mit mqtt.

      ` > pi@raspberrypi:/opt/iobroker $ sudo npm install mqtt

      npm ERR! tar.unpack error reading /root/.npm/through2/2.0.3/package.tgz

      npm ERR! tar.unpack error reading /root/.npm/through2/2.0.3/package.tgz

      npm ERR! tar.unpack error reading /root/.npm/through2/2.0.3/package.tgz

      npm ERR! Linux 4.4.38-v7+

      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "mqtt"

      npm ERR! node v4.7.3

      npm ERR! npm v2.15.11

      npm ERR! file /root/.npm/typedarray/0.0.6/package/package.json

      npm ERR! code EJSONPARSE

      npm ERR! Failed to parse json

      npm ERR! No data, empty input at 1:1

      npm ERR!

      npm ERR! ^

      npm ERR! File: /root/.npm/typedarray/0.0.6/package/package.json

      npm ERR! Failed to parse package.json data.

      npm ERR! package.json must be actual JSON, not just JavaScript.

      npm ERR!

      npm ERR! This is not a bug in npm.

      npm ERR! Tell the package author to fix their package.json file. JSON.parse

      npm ERR! Please include the following file with any support request:

      npm ERR! /opt/iobroker/npm-debug.log

      pi@raspberrypi:/opt/iobroker $ ^C

      pi@raspberrypi:/opt/iobroker $ `

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

        Wenn Du mal so versuchst auf /root/.npm/through2/2.0.3/package.tgz zuzugreifen?! Ist das File da? Kannst Du es lesen?

        Noch genug Platz da?

        1 Reply Last reply Reply Quote 0
        • H
          heinzie last edited by

          > Wenn Du mal so versuchst auf /root/.npm/through2/2.0.3/package.tgz zuzugreifen?! Ist das File da? Kannst Du es lesen?

          Das Verzeichnis /root/ ist bei mir komplett leer.

          > Noch genug Platz da?

          Nach Aussage des Dateimanagers noch 9,4Gb frei

          Ich muss aber dazu sagen, dass ich kein Linux Experte bin. Virelleicht mache ich auch generell etwas falsch.

          Wenn ich "npm list" aufrufe wird mir die Version sogar angezeigt, siehe Anhang.
          383_ok.txt

          1 Reply Last reply Reply Quote 0
          • H
            heinzie last edited by

            Habs hinbekommen. Thema kann geschlossen werden

            1 Reply Last reply Reply Quote 0
            • Jey Cee
              Jey Cee Developer last edited by

              @heinzie:

              Habs hinbekommen `

              Was war das Problem oder wie hast du es gelöst?

              1 Reply Last reply Reply Quote 0
              • H
                heinzie last edited by

                @Jey Cee:

                @heinzie:

                Habs hinbekommen `

                Was war das Problem oder wie hast du es gelöst? `

                Ich habe direkt auf dem raspberry den Befehl: node iobroker.js add mqtt eingegeben.

                Danch lief es.

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

                  liegt das PAket noch nicht bei npm??

                  Gruß

                  Rainer

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

                    Hallo!

                    Ich bin ein absoluter Neuling und mit selbigem Problem, wie es hier beschrieben wurde, hängen geblieben.

                    Ich baue gerade erst meine Heim Automation von Grund auf neu auf und habe meine SonOff Module geflasht und will sie nun im ioBroker einfügen. Mir fehlt mqtt und bekomme, wie schon erwähnt, die selben Fehler.

                    Raspberry Pi3 B+ mit 16 GB SD, frish aufgesetzt, alles rennt so weit, nur ist es mir eben noch nicht gelungen, auch nur ein SonOff Modul anzusprechen.

                    Cach geleert, einmal ging die Installation offenbar durch….es lief ein Balken....seither kein weiterer Erfolg.

                    Mit der Bitte um Hilfe,

                    Grüße,

                    Peter

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

                      Hallo!

                      Was mir auffällt: npm warn checkPermissions Missing write access to /home/pi/node_modules

                      Ich bin absolut kein Linux Versteher, daher bitte ich um Nachsicht….

                      Grüße,

                      Peter

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

                        Hallo!

                        Nach mehreren Versuchen ist es mir nun gelungen, MQTT zu installieren. Meine SonOff Module habe ich fast alle geflasht, jetzt geht es daran, diese für MQTT zu konfigurieren. Noch tappe ich etwas im Dunklen, zur Zeit habe ich noch Probleme mit der Anmeldung des ioBroker am Tasmota Modul. User bzw. Passwort falsch….nur welches?

                        Gibt's da eine Anleitung für die Konfig?

                        Grüße,

                        Peter

                        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

                        865
                        Online

                        32.0k
                        Users

                        80.6k
                        Topics

                        1.3m
                        Posts

                        5
                        14
                        1818
                        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