NEWS
[gelöst] Fehler bei Installation MQTT Adapter
-
Hallo,
versuche gerade den MQTT Adapter 1.3.2 zu installieren.
Bekomme dabei aber unten stehende Fehlermeldung.
Jemand einen Tipp woran das liegen könnte?
-
Versuch mal npm cache clean zu machen … irgendwie kann er das eine Paket nicht finden
-
> Versuch mal npm cache clean zu machen … irgendwie kann er das eine Paket nicht finden
geht leider auch nicht.
Wenn ich versuche das direkt auf linux zu installieren bekomme ich folgden Fehlermeldungen:
` > pi@raspberrypi:/ $ cd opt
pi@raspberrypi:/opt $ cd iobroker
pi@raspberrypi:/opt/iobroker $ npm cache clean
pi@raspberrypi:/opt/iobroker $ npm install iobroker.qmtt
npm ERR! Linux 4.4.38-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.qmtt"
npm ERR! node v4.7.3
npm ERR! npm v2.15.11
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/iobroker.qmtt
npm ERR! 404
npm ERR! 404 'iobroker.qmtt' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'iobroker.core'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! /opt/iobroker/npm-debug.log
pi@raspberrypi:/opt/iobroker $ `
383_0_info_it_worked_if_it_ends_with_ok.txt -
Naja … qmtt ?!?! mqtt ...
-
> 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 $ `
-
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?
-
> 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 -
Habs hinbekommen. Thema kann geschlossen werden
-
-
@Jey Cee: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.
-
liegt das PAket noch nicht bei npm??
Gruß
Rainer
-
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
-
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
-
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