NEWS
[gelöst]Adapter Update Probleme wegen NPM Error
-
Guten morgen,
ich hab seit kurzem Probleme beim Updaten von den Adaptern, da kommt immer folgende Fehlermeldung und der Adapter wird nicht geupdatet:
$ iobroker upgrade linux-control@1.1.3 Update linux-control from @1.1.2 to @1.1.3 NPM version: 6.14.15 npm install iobroker.linux-control@1.1.3 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for homebridge-hue@0.13.25: wanted: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"} (current: {"node":"12.22.6","npm":"6.14.15"}) npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25 npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25 npm ERR! notsup Required: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"} npm ERR! notsup Actual: {"npm":"6.14.15","node":"12.22.6"} npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-10-08T07_45_36_400Z-debug.log upload [20] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/words.js words.js application/javascript upload [19] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/style.css style.css text/css upload [18] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/linux-control.png linux-control.png image/png upload [17] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/updates.json lib/updates.json application/json upload [16] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/services.json lib/services.json application/json upload [15] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/needrestart.json lib/needrestart.json application/json upload [14] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/jquery.fancytree.dnd5.js lib/jquery.fancytree.dnd5.js application/javascript upload [13] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/info.json lib/info.json application/json upload [12] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/distribution.json lib/distribution.json application/json upload [11] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/control.json lib/control.json application/json upload [10] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/index_m.js index_m.js application/javascript upload [9] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/index_m.html index_m.html text/html upload [8] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/state.png img/state.png image/png upload [7] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/menu_right.svg img/menu_right.svg image/svg+xml upload [6] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/menu_down.svg img/menu_down.svg image/svg+xml upload [5] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/info-big.png img/info-big.png image/png upload [4] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/folder.png img/folder.png image/png upload [3] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/checkbox_marked.svg img/checkbox_marked.svg image/svg+xml upload [2] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/checkbox_intermediate.svg img/checkbox_intermediate.svg image/svg+xml upload [1] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/checkbox.svg img/checkbox.svg image/svg+xml upload [0] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/admin.d.ts admin.d.ts video/mp2t Adapter "linux-control" updated Process exited with code 0Ich frage mich jetzt gerade wo "homebridge-hue@0.13.25" her kommt, weil das ja angemeckert wird.
Hatte die Tage den "HAM" Adapter installiert, aber auch wieder entfernt. Desweiteren ist noch yahka und deconz installiert.
Ist dieses "homebridge-hue@0.13.25" mit im yahka Adapter? Ansonsten wüsste ich nicht wo es herkommt. Oder vom "HAM" Adapter wurde etwas nicht richtig deinstalliert. -
Guten morgen,
ich hab seit kurzem Probleme beim Updaten von den Adaptern, da kommt immer folgende Fehlermeldung und der Adapter wird nicht geupdatet:
$ iobroker upgrade linux-control@1.1.3 Update linux-control from @1.1.2 to @1.1.3 NPM version: 6.14.15 npm install iobroker.linux-control@1.1.3 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for homebridge-hue@0.13.25: wanted: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"} (current: {"node":"12.22.6","npm":"6.14.15"}) npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25 npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25 npm ERR! notsup Required: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"} npm ERR! notsup Actual: {"npm":"6.14.15","node":"12.22.6"} npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-10-08T07_45_36_400Z-debug.log upload [20] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/words.js words.js application/javascript upload [19] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/style.css style.css text/css upload [18] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/linux-control.png linux-control.png image/png upload [17] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/updates.json lib/updates.json application/json upload [16] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/services.json lib/services.json application/json upload [15] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/needrestart.json lib/needrestart.json application/json upload [14] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/jquery.fancytree.dnd5.js lib/jquery.fancytree.dnd5.js application/javascript upload [13] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/info.json lib/info.json application/json upload [12] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/distribution.json lib/distribution.json application/json upload [11] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/control.json lib/control.json application/json upload [10] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/index_m.js index_m.js application/javascript upload [9] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/index_m.html index_m.html text/html upload [8] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/state.png img/state.png image/png upload [7] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/menu_right.svg img/menu_right.svg image/svg+xml upload [6] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/menu_down.svg img/menu_down.svg image/svg+xml upload [5] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/info-big.png img/info-big.png image/png upload [4] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/folder.png img/folder.png image/png upload [3] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/checkbox_marked.svg img/checkbox_marked.svg image/svg+xml upload [2] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/checkbox_intermediate.svg img/checkbox_intermediate.svg image/svg+xml upload [1] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/checkbox.svg img/checkbox.svg image/svg+xml upload [0] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/admin.d.ts admin.d.ts video/mp2t Adapter "linux-control" updated Process exited with code 0Ich frage mich jetzt gerade wo "homebridge-hue@0.13.25" her kommt, weil das ja angemeckert wird.
Hatte die Tage den "HAM" Adapter installiert, aber auch wieder entfernt. Desweiteren ist noch yahka und deconz installiert.
Ist dieses "homebridge-hue@0.13.25" mit im yahka Adapter? Ansonsten wüsste ich nicht wo es herkommt. Oder vom "HAM" Adapter wurde etwas nicht richtig deinstalliert.@coyote sagte in Adapter Update Probleme wegen NPM Error:
"homebridge":"^1.3.4","node":"^14.18.0"
Der Adapter benötigt also node 14.
-
@coyote sagte in Adapter Update Probleme wegen NPM Error:
"homebridge":"^1.3.4","node":"^14.18.0"
Der Adapter benötigt also node 14.
@thomas-braun ja, das hab ich gesehen, aber welcher Adapter? Laut log ja "homebridge-hue@0.13.25" , hab ich aber nicht installiert, ich wüsste nicht wo
-
@thomas-braun ja, das hab ich gesehen, aber welcher Adapter? Laut log ja "homebridge-hue@0.13.25" , hab ich aber nicht installiert, ich wüsste nicht wo
@coyote sagte in Adapter Update Probleme wegen NPM Error:
homebridge-hue
cd /opt/iobroker npm list homebridge-hue -
@coyote sagte in Adapter Update Probleme wegen NPM Error:
homebridge-hue
cd /opt/iobroker npm list homebridge-hueiobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.ham@4.0.2 └── UNMET DEPENDENCY homebridge-hue@^0.13.23 npm ERR! missing: homebridge-hue@^0.13.23, required by iobroker.ham@4.0.2 -
iobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.ham@4.0.2 └── UNMET DEPENDENCY homebridge-hue@^0.13.23 npm ERR! missing: homebridge-hue@^0.13.23, required by iobroker.ham@4.0.2Da siehtst du wo es klemmt.
Installier halt node14, dann dürfte sich das erledigen. -
Da siehtst du wo es klemmt.
Installier halt node14, dann dürfte sich das erledigen.@thomas-braun
nee will ich nicht, habe gerade gesehen, dass er mir den Homebridge Adapter nicht deinstalliert hat, daher auch die Fehlermeldung. Wenn ich den deinstallieren will kommt:$ iobroker del ham Delete adapter "ham" host.ioBroker object ham deleted host.ioBroker object ham.admin deleted npm uninstall iobroker.ham --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for homebridge-hue@0.13.25: wanted: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"} (current: {"node":"12.22.6","npm":"6.14.15"})npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25npm ERR! notsup Required: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"}npm ERR! notsup Actual: {"npm":"6.14.15","node":"12.22.6"} npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-10-08T08_48_28_728Z-debug.log Error deleting adapter ham from disk: Error: host.ioBroker: Cannot uninstall iobroker.ham: 1 You might have to delete it yourself! Process exited with code 0Wie bekomme ich den manuell deinstalliert?
Und hast du Node 14 installiert?
-
@thomas-braun
nee will ich nicht, habe gerade gesehen, dass er mir den Homebridge Adapter nicht deinstalliert hat, daher auch die Fehlermeldung. Wenn ich den deinstallieren will kommt:$ iobroker del ham Delete adapter "ham" host.ioBroker object ham deleted host.ioBroker object ham.admin deleted npm uninstall iobroker.ham --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for homebridge-hue@0.13.25: wanted: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"} (current: {"node":"12.22.6","npm":"6.14.15"})npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25npm ERR! notsup Required: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"}npm ERR! notsup Actual: {"npm":"6.14.15","node":"12.22.6"} npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-10-08T08_48_28_728Z-debug.log Error deleting adapter ham from disk: Error: host.ioBroker: Cannot uninstall iobroker.ham: 1 You might have to delete it yourself! Process exited with code 0Wie bekomme ich den manuell deinstalliert?
Und hast du Node 14 installiert?
@coyote sagte in Adapter Update Probleme wegen NPM Error:
Und hast du Node 14 installiert?
node16. Aber das empfehle ich nicht!
node14 läuft aber, soweit ich das hier lese, unauffällig ohne Probleme. Kann man nehmen. -
@coyote sagte in Adapter Update Probleme wegen NPM Error:
Und hast du Node 14 installiert?
node16. Aber das empfehle ich nicht!
node14 läuft aber, soweit ich das hier lese, unauffällig ohne Probleme. Kann man nehmen. -
Habe das Verzeichnis jetzt gelöscht per "rm -r /opt/iobroker/node_modules/iobroker.ham" und den Fixer drüber laufen lassen. Läuft alles wieder.
-
Habe das Verzeichnis jetzt gelöscht per "rm -r /opt/iobroker/node_modules/iobroker.ham" und den Fixer drüber laufen lassen. Läuft alles wieder.
@coyote
Das hätte ich nicht gemacht. Das ist die Holzfällermethode. Das fliegt dir künftig wieder um die Ohren.
Was hält dich von einem simplen Upgrade auf Node14 ab? -
@coyote
Das hätte ich nicht gemacht. Das ist die Holzfällermethode. Das fliegt dir künftig wieder um die Ohren.
Was hält dich von einem simplen Upgrade auf Node14 ab?@thomas-braun ja das kann ich ja machen, aber ich will/wollte doch auch den ham Adapter weg haben und das ging anscheinend nicht anders
-
@thomas-braun ja das kann ich ja machen, aber ich will/wollte doch auch den ham Adapter weg haben und das ging anscheinend nicht anders
@coyote
Mit sauberem node14 wäre auch eine reguläre Deinstallation der Adapter wieder möglich gewesen -
@coyote
Mit sauberem node14 wäre auch eine reguläre Deinstallation der Adapter wieder möglich gewesen@thomas-braun gut ok, da gebe ich dir recht, das wäre eine Möglichkeit gewesen. Nun ja, jetzt hab ich es gelöscht, bisher ok. Soll ich jetzt trotzdem noch was machen?
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden