NEWS
Adapter lassen sich nicht installieren + Problem Backitup
-
@soukai dann gehen mir leider die Ideen aus
-
@soukai
Stell mal das Repo auf Beta um.
Und danniobroker update -i
-
@soukai probier mal so, ob da mehr angezeigt wird
iobroker add ble --debug
-
iobroker@iobroker-pi:~ $ iobroker add ble --debug NPM version: 6.14.16 Installing iobroker.ble@0.12.0... (System call) npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for blink@5.0.1: wanted: {"node":">=0.10.28 < 0.12"} (current: {"node":"14.19.1","npm":"6.14.16"}) npm ERR! notsup Not compatible with your version of node/npm: blink@5.0.1 npm ERR! notsup Not compatible with your version of node/npm: blink@5.0.1 npm ERR! notsup Required: {"node":">=0.10.28 <0.12"} npm ERR! notsup Actual: {"npm":"6.14.16","node":"14.19.1"} npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-04-08T22_04_38_078Z-debug.log host.iobroker-pi Cannot install iobroker.ble@0.12.0: 1
uff... hab grad mal geschaut was blink ist. Vor einem Monaten habe ich rumprobiert per Homebridge adapter auf eine Blink kamera zuzugreifen und musste module hinzufügen. Seitdem hatte ich nichts mehr installiert. Das war wohl das falsche blink modul... Kann das mein Problem sein? Wie lösch das ? Npm uninstall <package> lässt er nicht zu...
npm uninstall blink@5.0.1 npm WARN saveError ENOENT: no such file or directory, open '/home/iobroker/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/iobroker/package.json' npm WARN iobroker No description npm WARN iobroker No repository field. npm WARN iobroker No README data npm WARN iobroker No license field.
-
Du stehst um falschen Verzeichnis.
cd /opt/iobroker npm uninstall blink
Oder hast du das im javaskript-Adapter drin?
-
@soukai sagte in Adapter lassen sich nicht installieren + Problem Backitup:
Kann das mein Problem sein
so wie es aussieht, ja
-
ohne
iobroker@iobroker-pi:~ $ cd /opt/iobroker
iobroker@iobroker-pi:~ $ npm uninstall blink npm WARN saveError ENOENT: no such file or directory, open '/home/iobroker/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/iobroker/package.json' npm WARN iobroker No description npm WARN iobroker No repository field. npm WARN iobroker No README data npm WARN iobroker No license field. audited 57 packages in 2.792s 1 package is looking for funding run `npm fund` for details found 0 vulnerabilities
mit kommt:
iobroker@iobroker-pi:~ $ cd /opt/iobroker iobroker@iobroker-pi:/opt/iobroker $ npm uninstall blink npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for blink@5.0.1: wanted: {"node":">=0.10.28 <0.12"} (current: {"node":"14.19.1","npm":"6.14.16"}) npm ERR! notsup Not compatible with your version of node/npm: blink@5.0.1 npm ERR! notsup Not compatible with your version of node/npm: blink@5.0.1 npm ERR! notsup Required: {"node":">=0.10.28 <0.12"} npm ERR! notsup Actual: {"npm":"6.14.16","node":"14.19.1"} npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-04-08T22_29_47_488Z-debug.log
-
@soukai den Adapter hast du gelöscht?
hast du da noch was davon drin?
-
npm ls blink
-
den Adapter "Homebridge Zubehör Manager" / HAM hab ich kurz darauf gelöscht, da ichs nich zum laufen bekommen hatte. Dort hatte ich die Module drin. Davor hatte ich die Module aus der Zeile entfernt.
iobroker@iobroker-pi:~ $ npm ls blink /home/iobroker └── (empty)
-
@crunchip
Javascript sieht so bei mir aus
-
iobroker@iobroker-pi:~ $ cd /opt/iobroker iobroker@iobroker-pi:/opt/iobroker $ npm ls blink iobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.ham@4.0.2 └── UNMET DEPENDENCY blink@^5.0.1 npm ERR! missing: blink@^5.0.1, required by iobroker.ham@4.0.2
Sorry für den spam
-
iobroker del ham
-
iobroker@iobroker-pi:~ $ iobroker delete ham Delete adapter "ham" host.iobroker-pi object ham deleted host.iobroker-pi object ham.admin deleted Error deleting adapter ham from disk: host.iobroker-pi: Cannot uninstall iobroker.ham: 1 You might have to delete it yourself!
-
cd /opt/iobroker npm uninstall iobroker.ham
-
@thomas-braun @crunchip
durch googlen habe es hiermit versucht:sudo rm -r /opt/iobroker/node_modules/iobroker.ham
und alles funzt und es lässt sich wieder was installieren.
ich denke ich werde zusätzlich noch deinen Befehl laufen lassen.ich dank Euch für die Mühe! Bleibt gesund!
-
-
@thomas-braun
sigh... mist... zumindest kein ham auffindbar.schicke es so, da zu lang:
-
cd /opt/iobroker npm ls --depth=0
-
@thomas-braun
Ich hab zum Glück ein Backup von der SD karte gemacht bevor ich an die Ganze sache rangegangen bin und habe mich entschieden das Backup zu restoren, um deinen Befehl zu nutzen statt meinem unsauberen. Sobald ich das gemacht habe schicke ich dir nochmal die ausgabe voncd /opt/iobroker npm ls --depth=0
falls man hier nochmal drüber schauen müsste.
Eine andere Frage, wie kritisch ist nun der user "iobroker"? Ist hier eine nachträgliche änderung möglich?