NEWS
Kann Adapter nicht installieren
-
Hallo,
beim Versuch den "sainlogic" Adapter zu installieren kommt folgender Fehler.
(Hatte ich aber die Tage aber auch schon beim HS100)$ ./iobroker add sainlogic 0 --host ioBroker-Master NPM version: 6.14.14 npm install iobroker.sainlogic@0.7.2 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code ETARGET npm ERR! notarget No matching version found for iobroker.sainlogic@0.7.2.npm ERR! notarget In most cases you or one of your dependencies are requestingnpm ERR! notarget a package version that doesn't exist. npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-08-04T04_19_47_549Z-debug.log ERROR: host.ioBroker-Master Cannot install iobroker.sainlogic@0.7.2: 1 ERROR: process exited with code 25
log:
0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli '/usr/bin/node', 1 verbose cli '/usr/bin/npm', 1 verbose cli 'install', 1 verbose cli 'iobroker.sainlogic@0.7.2', 1 verbose cli '--loglevel', 1 verbose cli 'error', 1 verbose cli '--prefix', 1 verbose cli '/opt/iobroker' 1 verbose cli ] 2 info using npm@6.14.14 3 info using node@v12.22.4 4 verbose npm-session 9ca16e53a6913013 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 http fetch GET 304 https://registry.npmjs.org/iobroker.sainlogic 950ms (from cache) 8 silly registry:manifest no matching version for iobroker.sainlogic@0.7.2 in the cache. Forcing revalidation. 9 http fetch GET 200 https://registry.npmjs.org/iobroker.sainlogic 961ms 10 silly fetchPackageMetaData error for iobroker.sainlogic@0.7.2 No matching version found for iobroker.sainlogic@0.7.2. 11 timing stage:rollbackFailedOptional Completed in 1ms 12 timing stage:runTopLevelLifecycles Completed in 5356ms 13 verbose type version 14 verbose stack iobroker.sainlogic: No matching version found for iobroker.sainlogic@0.7.2. 14 verbose stack at pickManifest (/usr/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:122:13) 14 verbose stack at /usr/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/manifest.js:43:18 14 verbose stack at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23) 14 verbose stack at Promise._settlePromiseFromHandler (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:517:31) 14 verbose stack at Promise._settlePromise (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18) 14 verbose stack at Promise._settlePromise0 (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10) 14 verbose stack at Promise._settlePromises (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:699:18) 14 verbose stack at _drainQueueStep (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:138:12) 14 verbose stack at _drainQueue (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:131:9) 14 verbose stack at Async._drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:147:5) 14 verbose stack at Immediate.Async.drainQueues [as _onImmediate] (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14) 14 verbose stack at processImmediate (internal/timers.js:461:21) 15 verbose cwd /opt/iobroker 16 verbose Linux 4.19.0-17-amd64 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.sainlogic@0.7.2" "--loglevel" "error" "--prefix" "/opt/iobroker" 18 verbose node v12.22.4 19 verbose npm v6.14.14 20 error code ETARGET 21 error notarget No matching version found for iobroker.sainlogic@0.7.2. 22 error notarget In most cases you or one of your dependencies are requesting 22 error notarget a package version that doesn't exist. 23 verbose exit [ 1, true ]
Jemand ne Idee?
-
@stenmic sagte in Kann Adapter nicht installieren:
npm ERR! notarget No matching version found for iobroker.sainlogic@0.7.2.npm ERR! notarget In most cases you or one of your dependencies are requestingnpm ERR! notarget a package version that doesn't exist.
Jemand ne Idee?
Ja , im Thread schauen :
EDIT:
siehe auch GitHub , im Issues
-
@glasfaser Hab heute eine neue Version frei gegeben... Repo ist aktualisiert, irgendwie will es trotzdem nicht. Ich warte drauf dass mir jemand sagt was falsch ist...
-
@fogg sagte in Kann Adapter nicht installieren:
. Ich warte drauf dass mir jemand sagt was falsch ist...
was meinst du , ob Fehler vorhanden sind ?
2021-10-07 20:39:38.630 - error: sainlogic.0 (11685) DB closed 2021-10-07 20:39:38.632 - error: sainlogic.0 (11685) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2021-10-07 20:39:38.633 - error: sainlogic.0 (11685) unhandled promise rejection: DB closed 2021-10-07 20:39:38.633 - error: sainlogic.0 (11685) Error: DB closed
-
@glasfaser Nein, ich kriege diese Meldung in meinem ioB wenn ich ein update machen will:
npm install iobroker.sainlogic@0.7.3 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code ETARGET npm ERR! notarget No matching version found for iobroker.sainlogic@0.7.3. npm ERR! notarget In most cases you or one of your dependencies are requestingnpm ERR! notarget a package version that doesn't exist.
-
Bei mir taucht der auch (noch?) nicht im latest-Repo auf:
echad@chet:~ $ iobroker update Used repository: live-beta hash unchanged, use cached sources update done Adapter "sainlogic" : 0.6.1 , installed 0.7.2
[Edit:]
Oh...echad@chet:~ $ iobroker upgrade sainlogic@0.7.3 This upgrade of "sainlogic" will introduce the following changes: ========================================================================== -> 0.7.3: Security fixes in dependencies, Travis pipeline update ========================================================================== Would you like to upgrade sainlogic from @0.7.2 to @0.7.3 now? [(y)es, (n)o]: y Update sainlogic from @0.7.2 to @0.7.3 NPM version: 7.24.0 npm install iobroker.sainlogic@0.7.3 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code ETARGET npm ERR! notarget No matching version found for iobroker.sainlogic@0.7.3. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-10-07T21_02_35_619Z-debug.log upload [4] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/words.js words.js application/javascript Update "system.adapter.sainlogic.0" upload [3] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/style.css style.css text/css upload [2] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/sainlogic.png sainlogic.png image/png upload [1] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/index_m.html index_m.html text/html upload [0] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/admin.d.ts admin.d.ts video/mp2t Adapter "sainlogic" updated
-
@fogg sagte in Kann Adapter nicht installieren:
Nein, ich kriege diese Meldung in meinem ioB wenn ich ein update machen will:
Keine Ahnung , habe ihn ohne Probleme installiert ... , nur kommen dann andere Fehlermeldungen .
Siehe auch Screenshot oben .
Habe auch dir hier geantwortet :
https://forum.iobroker.net/topic/48293/adapter-version-wird-nicht-gefunden
-
@glasfaser
Regulär im Repo drin?iobroker update -i
zeigt mir noch die 0.6.1 als verfügbar an.
Edith: Ah, stable zeigt 0.7.3, latest 0.6.1.
Aber auch aus stable kann ich das nicht ziehen. No target, wie oben schon gepostet. -
@fogg also ich kann die Version 0.7.3 auch nicht installieren. Bekomme den selben Fehler.
Wenn ich aber über die Katze gehe dann kann ich Version 0.7.3 ohne Fehler installieren.
Es sieht so aus als ob die neue Version nicht am richtigen Platz liegt. -
@fa-bio Ja genau, darum gehts ja
Ich weiss nicht wo ich den sonst hinlegen soll.... -
iobroker update -i
zeigt mir noch die 0.6.1 als verfügbar an.
Edith: Ah, stable zeigt 0.7.3, latest 0.6.1.
Im Latest wird soweit ich das sehe keine Version angegeben. Wo er die 0.6.1 hernimmt weiss ich nicht
-
@fogg es tut mir leid ich würde dir ja sehr gerne helfen aber ich habe echt keine Ahnung. Ich hoffe jemand kann helfen.
-
Ich glaube ich weiss woran es liegt... ich habe das ganze noch nicht mit npm publish freigegeben. Da suche ich noch wie das geht...
-
Gefunden.... ein login hat gefehlt. Jetzt ist 0.7.3 komplett verfügbar. Puh.. was für eine Geburt
-
@glasfaser sagte in Kann Adapter nicht installieren:
@fogg sagte in Kann Adapter nicht installieren:
. Ich warte drauf dass mir jemand sagt was falsch ist...
was meinst du , ob Fehler vorhanden sind ?
2021-10-07 20:39:38.630 - error: sainlogic.0 (11685) DB closed 2021-10-07 20:39:38.632 - error: sainlogic.0 (11685) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2021-10-07 20:39:38.633 - error: sainlogic.0 (11685) unhandled promise rejection: DB closed 2021-10-07 20:39:38.633 - error: sainlogic.0 (11685) Error: DB closed
Und was ist mit dem Fehler !?
-
@glasfaser said in Kann Adapter nicht installieren:
@glasfaser sagte in Kann Adapter nicht installieren:
@fogg sagte in Kann Adapter nicht installieren:
. Ich warte drauf dass mir jemand sagt was falsch ist...
was meinst du , ob Fehler vorhanden sind ?
2021-10-07 20:39:38.630 - error: sainlogic.0 (11685) DB closed 2021-10-07 20:39:38.632 - error: sainlogic.0 (11685) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2021-10-07 20:39:38.633 - error: sainlogic.0 (11685) unhandled promise rejection: DB closed 2021-10-07 20:39:38.633 - error: sainlogic.0 (11685) Error: DB closed
Und was ist mit dem Fehler !?`
Die sehe ich bei mir nicht. Welche node.js und js.controller Version hast Du?
-
@fogg Super gut gemacht.
-
v14.17.6 v14.17.6 6.14.15 3.3.18
-
@glasfaser said in Kann Adapter nicht installieren:
v14.17.6 v14.17.6 6.14.15 3.3.18
Hm.. ich bin hier:
NODE.JS: V13.14.0
NPM: 6.14.5
JSControler: 3.3.18Könnte quasi das Node-js sein. Aber sicher bin ich mir da nicht.
-
@fogg sagte in Kann Adapter nicht installieren:
V13.14.0
Das ist aber eine ungerade Version
Node.js Versions-Anforderungen Die unterstützten Node.js Versionen bleiben in diesem Update gleich: 10.x, 12.x und auch 14.x werden offiziell unterstützt. Aufgrund der übergreifenden Adapter-Kompatibilität bleibt die empfohlene Node.js Version für ioBroker aktuell weiterhin auf 12.x. Falls jemand bereits mit Node.js 16.x arbeiten möchte, dann bitte im Moment AUSSCHLIESSLICH mit npm 6 !! (Bei npm 7 gibt es noch Probleme mit GitHub Installs bei einigen Adaptern)