NEWS
NPM Problem
-
@thomas-braun
ich kann leider nicht die gesamte Ausgabe ansehen, da das Konsolenfenster nicht so weit zurĂŒck reicht.hier der Abschnitt ĂŒber den tr-064
ââ⏠iobroker.tr-064@4.2.12 â âââ @iobroker/adapter-core@2.4.0 deduped â âââ mdns-discovery@0.2.6 deduped â ââ⏠tr-O64@0.2.4 â â âââ async@2.6.3 deduped â â âââ eyes@0.1.8 â â âââ request@2.88.2 deduped â â âââ xml2js@0.4.23 deduped â âââ xml2js@0.4.23 dedupedfalls du "alles" sehen möchtest kann ich das auch kopieren...
-
@rich90 sagte in NPM Problem:
Egal was ich versuche zu installieren (neuer Adapter, update eines alten Adapters, downgrade des JS-controllers) alles fĂŒhrt zu den oben genannten Fehlern.
Ich denke mal du installierst dir willkĂŒrliches in ioBroker alles rein!?
Js-Controller 3.3.8
ist Beta und Aktuell ist 3.3.14 .
Bist du Beta Tester !?@rich90 sagte in NPM Problem:

Was zu machen ist steht im Log .Die Datei liegt ausserhalb und kann nicht gelöscht werden .
Lösche sie manuell .Zeige mal :
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs iobroker update -i iobroker list instances iobroker list adapters iobroker versionaber bitte in </> Code-Tags , keine Screenshots
@glasfaser said in NPM Problem:
Was zu machen ist steht im Log .Die Datei liegt ausserhalb und kann nicht gelöscht werden .
Lösche sie manuellok, ich habe sie ausserhalb des Containers gefunden. dort ist sowohl die node-gyp als auch die node-pre-gyp
-
@thomas-braun
ich kann leider nicht die gesamte Ausgabe ansehen, da das Konsolenfenster nicht so weit zurĂŒck reicht.hier der Abschnitt ĂŒber den tr-064
ââ⏠iobroker.tr-064@4.2.12 â âââ @iobroker/adapter-core@2.4.0 deduped â âââ mdns-discovery@0.2.6 deduped â ââ⏠tr-O64@0.2.4 â â âââ async@2.6.3 deduped â â âââ eyes@0.1.8 â â âââ request@2.88.2 deduped â â âââ xml2js@0.4.23 deduped â âââ xml2js@0.4.23 dedupedfalls du "alles" sehen möchtest kann ich das auch kopieren...
@rich90 sagte in NPM Problem:
tr-O64@0.2.4
Versuch mal:
cd /opt/iobroker/node_modules/iobroker.tr-064 npm uninstall tr-O64 -
@rich90 sagte in NPM Problem:
tr-O64@0.2.4
Versuch mal:
cd /opt/iobroker/node_modules/iobroker.tr-064 npm uninstall tr-O64@thomas-braun said in NPM Problem:
npm uninstall tr-O64
npm uninstall tr-O64 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/glob-watcher/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) added 541 packages from 765 contributors and audited 544 packages in 11.703s 35 packages are looking for funding run `npm fund` for details found 35 vulnerabilities (33 low, 2 moderate) run `npm audit fix` to fix them, or `npm audit` for details -
@thomas-braun said in NPM Problem:
npm uninstall tr-O64
npm uninstall tr-O64 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/glob-watcher/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) added 541 packages from 765 contributors and audited 544 packages in 11.703s 35 packages are looking for funding run `npm fund` for details found 35 vulnerabilities (33 low, 2 moderate) run `npm audit fix` to fix them, or `npm audit` for details -
@thomas-braun said in NPM Problem:
iobroker upgrade
iobroker upgrade Circular dependency detected between adapters "iot" This upgrade of "vis" will introduce the following changes: ========================================================================== -> 1.3.10: Fixed the support of admin5 ========================================================================== Would you like to upgrade vis from @1.3.9 to @1.3.10 now? [(y)es, (n)o]: y Update vis from @1.3.9 to @1.3.10 NPM version: 6.14.13 npm install iobroker.vis@1.3.10 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes. npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2021-07-04T20_38_57_402Z-debug.log upload [3] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/words.js words.js application/javascript Adapter "system.adapter.vis.0" restarted. upload [2] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/vis.png vis.png image/png upload [1] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/index_m.html index_m.html text/html upload [0] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/index.html index.html text/html upload [300] vis /opt/iobroker/node_modules/iobroker.vis/www/widgets/jqui/img/ct.png widgets/jqui/img/ct.png image/png upload [250] vis /opt/iobroker/node_modules/iobroker.vis/www/widgets/basic/img/Prev_ValueBool.png widgets/basic/img/Prev_ValueBool.png image/png upload [200] vis /opt/iobroker/node_modules/iobroker.vis/www/lib/js/jquery.ba-resize.min.js lib/js/jquery.ba-resize.min.js application/javascript upload [150] vis /opt/iobroker/node_modules/iobroker.vis/www/js/visEditInspect.js js/visEditInspect.js application/javascript upload [100] vis /opt/iobroker/node_modules/iobroker.vis/www/js/fm/icon/actions/delete.png js/fm/icon/actions/delete.png image/png upload [90] vis /opt/iobroker/node_modules/iobroker.vis/www/index.html index.html text/html upload [80] vis /opt/iobroker/node_modules/iobroker.vis/www/img/faviconEdit.png img/faviconEdit.png image/png upload [70] vis /opt/iobroker/node_modules/iobroker.vis/www/img/bulbOn.png img/bulbOn.png image/png upload [60] vis /opt/iobroker/node_modules/iobroker.vis/www/img/back/oblique-line-bk.png img/back/oblique-line-bk.png image/png upload [50] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/timestamp.png icon/timestamp.png image/png upload [40] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/ok.png icon/ok.png image/png upload [30] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/distribute-vertical-equal.png icon/distribute-vertical-equal.png image/png upload [20] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-width.png icon/align-width.png image/png upload [19] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-vertical-top-2.png icon/align-vertical-top-2.png image/png upload [18] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-vertical-center-2.png icon/align-vertical-center-2.png image/png upload [17] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-vertical-bottom-2.png icon/align-vertical-bottom-2.png image/png upload [16] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-horizontal-right-2.png icon/align-horizontal-right-2.png image/png upload [15] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-horizontal-left.png icon/align-horizontal-left.png image/png upload [14] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-horizontal-center-2.png icon/align-horizontal-center-2.png image/png upload [13] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-height.png icon/align-height.png image/png upload [12] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/add.png icon/add.png image/png upload [11] vis /opt/iobroker/node_modules/iobroker.vis/www/edit.src.html edit.src.html text/html upload [10] vis /opt/iobroker/node_modules/iobroker.vis/www/edit.html edit.html text/html upload [9] vis /opt/iobroker/node_modules/iobroker.vis/www/css/vis.css css/vis.css text/css upload [8] vis /opt/iobroker/node_modules/iobroker.vis/www/css/vis-editor.css css/vis-editor.css text/css upload [7] vis /opt/iobroker/node_modules/iobroker.vis/www/css/styles.css css/styles.css text/css upload [6] vis /opt/iobroker/node_modules/iobroker.vis/www/css/montserrat-regular-webfont.woff css/montserrat-regular-webfont.woff font/woff upload [5] vis /opt/iobroker/node_modules/iobroker.vis/www/css/doc.css css/doc.css text/css upload [4] vis /opt/iobroker/node_modules/iobroker.vis/www/css/backgrounds.css css/backgrounds.css text/css upload [3] vis /opt/iobroker/node_modules/iobroker.vis/www/css/app.css css/app.css text/css upload [2] vis /opt/iobroker/node_modules/iobroker.vis/www/css/add_kian.css css/add_kian.css text/css upload [1] vis /opt/iobroker/node_modules/iobroker.vis/www/cordova.js cordova.js application/javascript upload [0] vis /opt/iobroker/node_modules/iobroker.vis/www/cache.manifest cache.manifest text/cache-manifest Adapter "vis" updatedund das fĂŒr alle die als updatable in der Liste stehen (Liste ist ja oben schon)
-
@thomas-braun said in NPM Problem:
iobroker upgrade
iobroker upgrade Circular dependency detected between adapters "iot" This upgrade of "vis" will introduce the following changes: ========================================================================== -> 1.3.10: Fixed the support of admin5 ========================================================================== Would you like to upgrade vis from @1.3.9 to @1.3.10 now? [(y)es, (n)o]: y Update vis from @1.3.9 to @1.3.10 NPM version: 6.14.13 npm install iobroker.vis@1.3.10 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes. npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2021-07-04T20_38_57_402Z-debug.log upload [3] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/words.js words.js application/javascript Adapter "system.adapter.vis.0" restarted. upload [2] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/vis.png vis.png image/png upload [1] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/index_m.html index_m.html text/html upload [0] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/index.html index.html text/html upload [300] vis /opt/iobroker/node_modules/iobroker.vis/www/widgets/jqui/img/ct.png widgets/jqui/img/ct.png image/png upload [250] vis /opt/iobroker/node_modules/iobroker.vis/www/widgets/basic/img/Prev_ValueBool.png widgets/basic/img/Prev_ValueBool.png image/png upload [200] vis /opt/iobroker/node_modules/iobroker.vis/www/lib/js/jquery.ba-resize.min.js lib/js/jquery.ba-resize.min.js application/javascript upload [150] vis /opt/iobroker/node_modules/iobroker.vis/www/js/visEditInspect.js js/visEditInspect.js application/javascript upload [100] vis /opt/iobroker/node_modules/iobroker.vis/www/js/fm/icon/actions/delete.png js/fm/icon/actions/delete.png image/png upload [90] vis /opt/iobroker/node_modules/iobroker.vis/www/index.html index.html text/html upload [80] vis /opt/iobroker/node_modules/iobroker.vis/www/img/faviconEdit.png img/faviconEdit.png image/png upload [70] vis /opt/iobroker/node_modules/iobroker.vis/www/img/bulbOn.png img/bulbOn.png image/png upload [60] vis /opt/iobroker/node_modules/iobroker.vis/www/img/back/oblique-line-bk.png img/back/oblique-line-bk.png image/png upload [50] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/timestamp.png icon/timestamp.png image/png upload [40] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/ok.png icon/ok.png image/png upload [30] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/distribute-vertical-equal.png icon/distribute-vertical-equal.png image/png upload [20] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-width.png icon/align-width.png image/png upload [19] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-vertical-top-2.png icon/align-vertical-top-2.png image/png upload [18] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-vertical-center-2.png icon/align-vertical-center-2.png image/png upload [17] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-vertical-bottom-2.png icon/align-vertical-bottom-2.png image/png upload [16] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-horizontal-right-2.png icon/align-horizontal-right-2.png image/png upload [15] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-horizontal-left.png icon/align-horizontal-left.png image/png upload [14] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-horizontal-center-2.png icon/align-horizontal-center-2.png image/png upload [13] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-height.png icon/align-height.png image/png upload [12] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/add.png icon/add.png image/png upload [11] vis /opt/iobroker/node_modules/iobroker.vis/www/edit.src.html edit.src.html text/html upload [10] vis /opt/iobroker/node_modules/iobroker.vis/www/edit.html edit.html text/html upload [9] vis /opt/iobroker/node_modules/iobroker.vis/www/css/vis.css css/vis.css text/css upload [8] vis /opt/iobroker/node_modules/iobroker.vis/www/css/vis-editor.css css/vis-editor.css text/css upload [7] vis /opt/iobroker/node_modules/iobroker.vis/www/css/styles.css css/styles.css text/css upload [6] vis /opt/iobroker/node_modules/iobroker.vis/www/css/montserrat-regular-webfont.woff css/montserrat-regular-webfont.woff font/woff upload [5] vis /opt/iobroker/node_modules/iobroker.vis/www/css/doc.css css/doc.css text/css upload [4] vis /opt/iobroker/node_modules/iobroker.vis/www/css/backgrounds.css css/backgrounds.css text/css upload [3] vis /opt/iobroker/node_modules/iobroker.vis/www/css/app.css css/app.css text/css upload [2] vis /opt/iobroker/node_modules/iobroker.vis/www/css/add_kian.css css/add_kian.css text/css upload [1] vis /opt/iobroker/node_modules/iobroker.vis/www/cordova.js cordova.js application/javascript upload [0] vis /opt/iobroker/node_modules/iobroker.vis/www/cache.manifest cache.manifest text/cache-manifest Adapter "vis" updatedund das fĂŒr alle die als updatable in der Liste stehen (Liste ist ja oben schon)
@rich90 sagte in NPM Problem:
Circular dependency detected between adapters "iot"
Da hast du noch einen SchuĂ...
-
@rich90 sagte in NPM Problem:
Circular dependency detected between adapters "iot"
Da hast du noch einen SchuĂ...
@thomas-braun @crunchip @Glasfaser
Danke erstmal fĂŒr eure Zeit und Hilfe bis hier her.
Da ich keine Ahnung habe: wie wĂŒrdet ihr das einschĂ€tzen, ist das reparabel oder kann ich mich mental schon auf eine neue Installation vorbereiten? -
@thomas-braun @crunchip @Glasfaser
Danke erstmal fĂŒr eure Zeit und Hilfe bis hier her.
Da ich keine Ahnung habe: wie wĂŒrdet ihr das einschĂ€tzen, ist das reparabel oder kann ich mich mental schon auf eine neue Installation vorbereiten?@rich90 Ich wĂŒrde mir ein Backup von einem Zeitpunkt schnappen bevor du das so verfummelt hast.
-
@rich90 Ich wĂŒrde mir ein Backup von einem Zeitpunkt schnappen bevor du das so verfummelt hast.
@thomas-braun
đ daran habe ich gar nicht gedacht. Danke fĂŒr den Hinweis! -
Hallo Zusammen,
hm. auch ich habe das o.g. Problem neuerdings. Ich habe auch lediglich iobroker ĂŒber die Konsole bisher geupgraded. Seit einigen Tagen kann ich keine Adapter mehr updaten.
Meine Fehlermeldung beim Versuch irgendein Adapter zu updaten oder eben den veralteten tr-=64 Adapter ĂŒbder die Konsle zu deaktivieren:
npm uninstall tr-O64 npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes.Would you like to upgrade vw-connect from @0.0.39 to @0.0.40 now? [(y)es, (n)o]: y Update vw-connect from @0.0.39 to @0.0.40 NPM version: 6.14.14 npm install iobroker.vw-connect@0.0.40 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-08-31T16_46_07_551Z-debug.log upload [4] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/words.js words.js application/javascript upload [3] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/vw-connect.png vw-connect.png image/pngupload [2] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/style.css style.css text/css upload [1] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/index_m.html index_m.html text/html upload [0] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/admin.d.ts admin.d.ts video/mp2t Adapter "vw-connect" updatedwhich nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v14.17.5 /usr/local/bin/node v14.17.5 /usr/local/bin/npm 6.14.14 nodejs: Installiert: 14.17.5-1nodesource1 Installationskandidat: 14.17.6-deb-1nodesource1 Versionstabelle: 14.17.6-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages *** 14.17.5-1nodesource1 100 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packagesiobroker update -i
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker update -i Used repository: latest hash unchanged, use cached sources update done Adapter "admin" : 5.1.25 , installed 5.1.25 Adapter "daswetter" : 3.0.7 , installed 3.0.7 Adapter "devices" : 1.0.9 , installed 1.0.9 Adapter "discovery" : 2.7.0 , installed 2.7.0 Adapter "fritzdect" : 2.1.15 , installed 2.1.15 Adapter "history" : 1.9.13 , installed 1.9.13 Adapter "hue" : 3.5.23 , installed 3.5.22 [Updateable] Adapter "icons-mfd-png" : 1.0.2 , installed 1.0.2 Adapter "icons-mfd-svg" : 1.0.2 , installed 1.0.2 Adapter "influxdb" : 2.2.0 , installed 2.1.1 [Updateable] Adapter "info" : 1.9.8 , installed 1.9.8 Adapter "innogy-smarthome": 0.3.7 , installed 0.3.7 Adapter "jarvis" : 2.2.3 , installed 2.2.3 Adapter "javascript" : 5.2.8 , installed 5.2.8 Controller "js-controller" : 3.3.15 , installed 3.3.15 Adapter "meross" : 1.6.3 , installed 1.6.3 Adapter "netatmo" : 1.4.4 , installed 1.4.4 Adapter "pi-hole" : 1.3.2 , installed 1.3.2 Adapter "pollenflug" : 1.0.6 , installed 1.0.6 Adapter "simple-api" : 2.6.1 , installed 2.6.1 Adapter "socketio" : 3.1.4 , installed 3.1.4 Adapter "terminal" : 0.1.2 , installed 0.1.2 Adapter "tr-064" : 4.2.14 , installed 4.2.14 Adapter "vis" : 1.4.3 , installed 1.4.3 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-canvas-gauges": 0.1.5 , installed 0.1.5 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-google-fonts": 0.1.0 , installed 0.1.0 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-hqwidgets" : 1.1.7 , installed 1.1.7 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 , installed 1.0.2 Adapter "vis-map" : 1.0.4 , installed 1.0.4 Adapter "vis-materialdesign": 0.5.9 , installed 0.5.9 Adapter "vis-metro" : 1.1.2 , installed 1.1.2 Adapter "vis-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-timeandweather": 1.1.7 , installed 1.1.7 Adapter "vw-connect" : 0.0.40 , installed 0.0.39 [Updateable] Adapter "weatherunderground": 3.3.1 , installed 3.3.1 Adapter "web" : 3.4.9 , installed 3.4.9 Adapter "yahka" : 0.13.1 , installed 0.13.1 Adapter "yeelight-2" : 1.1.2 , installed 1.1.2iobroker list instances
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker list instances + system.adapter.admin.0 : admin : ioBroker-RasPi4 - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup : ioBroker-RasPi4 - disabled system.adapter.daswetter.0 : daswetter : ioBroker-RasPi4 - enabled + system.adapter.discovery.0 : discovery : ioBroker-RasPi4 - enabled + system.adapter.fritzdect.0 : fritzdect : ioBroker-RasPi4 - enabled + system.adapter.hue.0 : hue : ioBroker-RasPi4 - enabled, port: 443 system.adapter.icons-mfd-png.0 : icons-mfd-png : ioBroker-RasPi4 - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : ioBroker-RasPi4 - enabled + system.adapter.influxdb.0 : influxdb : ioBroker-RasPi4 - enabled, port: 8086 + system.adapter.innogy-smarthome.0 : innogy-smarthome : ioBroker-RasPi4 - enabled + system.adapter.jarvis.0 : jarvis : ioBroker-RasPi4 - enabled + system.adapter.javascript.0 : javascript : ioBroker-RasPi4 - enabled + system.adapter.netatmo.0 : netatmo : ioBroker-RasPi4 - enabled + system.adapter.pi-hole.0 : pi-hole : ioBroker-RasPi4 - enabled + system.adapter.pollenflug.0 : pollenflug : ioBroker-RasPi4 - enabled system.adapter.vis-bars.0 : vis-bars : ioBroker-RasPi4 - enabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : ioBroker-RasPi4 - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : ioBroker-RasPi4 - enabled system.adapter.vis-google-fonts.0 : vis-google-fonts : ioBroker-RasPi4 - enabled system.adapter.vis-history.0 : vis-history : ioBroker-RasPi4 - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : ioBroker-RasPi4 - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : ioBroker-RasPi4 - enabled system.adapter.vis-justgage.0 : vis-justgage : ioBroker-RasPi4 - enabled system.adapter.vis-materialdesign.0 : vis-materialdesign : ioBroker-RasPi4 - enabled system.adapter.vis-metro.0 : vis-metro : ioBroker-RasPi4 - enabled system.adapter.vis-plumb.0 : vis-plumb : ioBroker-RasPi4 - enabled system.adapter.vis.0 : vis : ioBroker-RasPi4 - enabled system.adapter.weatherunderground.0 : weatherunderground : ioBroker-RasPi4 - enabled + system.adapter.web.0 : web : ioBroker-RasPi4 - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.yahka.1 : yahka : ioBroker-RasPi4 - enabled + instance is aliveiobroker list adapters
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker list adapters system.adapter.admin : admin - v5.1.25 system.adapter.backitup : backitup - v1.5.6 system.adapter.daswetter : daswetter - v3.0.7 system.adapter.discovery : discovery - v2.7.0 system.adapter.fritzdect : fritzdect - v2.1.15 system.adapter.hue : hue - v3.5.22 system.adapter.icons-mfd-png : icons-mfd-png - v1.0.2 system.adapter.icons-mfd-svg : icons-mfd-svg - v1.0.2 system.adapter.influxdb : influxdb - v2.1.1 system.adapter.info : info - v1.9.8 system.adapter.innogy-smarthome : innogy-smarthome - v0.3.7 system.adapter.jarvis : jarvis - v2.2.3 system.adapter.javascript : javascript - v5.2.8 system.adapter.netatmo : netatmo - v1.4.4 system.adapter.pi-hole : pi-hole - v1.3.2 system.adapter.pollenflug : pollenflug - v1.0.6 system.adapter.simple-api : simple-api - v2.6.1 system.adapter.socketio : socketio - v3.1.4 system.adapter.terminal : terminal - v0.1.2 system.adapter.vis : vis - v1.4.3 system.adapter.vis-bars : vis-bars - v0.1.4 system.adapter.vis-canvas-gauges : vis-canvas-gauges - v0.1.5 system.adapter.vis-fancyswitch : vis-fancyswitch - v1.1.0 system.adapter.vis-google-fonts : vis-google-fonts - v0.1.0 system.adapter.vis-history : vis-history - v1.0.0 system.adapter.vis-hqwidgets : vis-hqwidgets - v1.1.7 system.adapter.vis-jqui-mfd : vis-jqui-mfd - v1.0.12 system.adapter.vis-justgage : vis-justgage - v1.0.2 system.adapter.vis-materialdesign : vis-materialdesign - v0.5.9 system.adapter.vis-metro : vis-metro - v1.1.2 system.adapter.vis-plumb : vis-plumb - v1.0.2 system.adapter.vw-connect : vw-connect - v0.0.39 system.adapter.weatherunderground : weatherunderground - v3.3.1 system.adapter.web : web - v3.4.9 system.adapter.yahka : yahka - v0.13.1iobroker version
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker version 3.3.15Ich schneine einen sehr Àhnliches Problem zu haben wie Rich90. Wie könnte ich den meine iobroker-Installation noch retten?
VG vsa -
Hallo Zusammen,
hm. auch ich habe das o.g. Problem neuerdings. Ich habe auch lediglich iobroker ĂŒber die Konsole bisher geupgraded. Seit einigen Tagen kann ich keine Adapter mehr updaten.
Meine Fehlermeldung beim Versuch irgendein Adapter zu updaten oder eben den veralteten tr-=64 Adapter ĂŒbder die Konsle zu deaktivieren:
npm uninstall tr-O64 npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes.Would you like to upgrade vw-connect from @0.0.39 to @0.0.40 now? [(y)es, (n)o]: y Update vw-connect from @0.0.39 to @0.0.40 NPM version: 6.14.14 npm install iobroker.vw-connect@0.0.40 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-08-31T16_46_07_551Z-debug.log upload [4] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/words.js words.js application/javascript upload [3] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/vw-connect.png vw-connect.png image/pngupload [2] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/style.css style.css text/css upload [1] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/index_m.html index_m.html text/html upload [0] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/admin.d.ts admin.d.ts video/mp2t Adapter "vw-connect" updatedwhich nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v14.17.5 /usr/local/bin/node v14.17.5 /usr/local/bin/npm 6.14.14 nodejs: Installiert: 14.17.5-1nodesource1 Installationskandidat: 14.17.6-deb-1nodesource1 Versionstabelle: 14.17.6-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages *** 14.17.5-1nodesource1 100 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packagesiobroker update -i
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker update -i Used repository: latest hash unchanged, use cached sources update done Adapter "admin" : 5.1.25 , installed 5.1.25 Adapter "daswetter" : 3.0.7 , installed 3.0.7 Adapter "devices" : 1.0.9 , installed 1.0.9 Adapter "discovery" : 2.7.0 , installed 2.7.0 Adapter "fritzdect" : 2.1.15 , installed 2.1.15 Adapter "history" : 1.9.13 , installed 1.9.13 Adapter "hue" : 3.5.23 , installed 3.5.22 [Updateable] Adapter "icons-mfd-png" : 1.0.2 , installed 1.0.2 Adapter "icons-mfd-svg" : 1.0.2 , installed 1.0.2 Adapter "influxdb" : 2.2.0 , installed 2.1.1 [Updateable] Adapter "info" : 1.9.8 , installed 1.9.8 Adapter "innogy-smarthome": 0.3.7 , installed 0.3.7 Adapter "jarvis" : 2.2.3 , installed 2.2.3 Adapter "javascript" : 5.2.8 , installed 5.2.8 Controller "js-controller" : 3.3.15 , installed 3.3.15 Adapter "meross" : 1.6.3 , installed 1.6.3 Adapter "netatmo" : 1.4.4 , installed 1.4.4 Adapter "pi-hole" : 1.3.2 , installed 1.3.2 Adapter "pollenflug" : 1.0.6 , installed 1.0.6 Adapter "simple-api" : 2.6.1 , installed 2.6.1 Adapter "socketio" : 3.1.4 , installed 3.1.4 Adapter "terminal" : 0.1.2 , installed 0.1.2 Adapter "tr-064" : 4.2.14 , installed 4.2.14 Adapter "vis" : 1.4.3 , installed 1.4.3 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-canvas-gauges": 0.1.5 , installed 0.1.5 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-google-fonts": 0.1.0 , installed 0.1.0 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-hqwidgets" : 1.1.7 , installed 1.1.7 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 , installed 1.0.2 Adapter "vis-map" : 1.0.4 , installed 1.0.4 Adapter "vis-materialdesign": 0.5.9 , installed 0.5.9 Adapter "vis-metro" : 1.1.2 , installed 1.1.2 Adapter "vis-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-timeandweather": 1.1.7 , installed 1.1.7 Adapter "vw-connect" : 0.0.40 , installed 0.0.39 [Updateable] Adapter "weatherunderground": 3.3.1 , installed 3.3.1 Adapter "web" : 3.4.9 , installed 3.4.9 Adapter "yahka" : 0.13.1 , installed 0.13.1 Adapter "yeelight-2" : 1.1.2 , installed 1.1.2iobroker list instances
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker list instances + system.adapter.admin.0 : admin : ioBroker-RasPi4 - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup : ioBroker-RasPi4 - disabled system.adapter.daswetter.0 : daswetter : ioBroker-RasPi4 - enabled + system.adapter.discovery.0 : discovery : ioBroker-RasPi4 - enabled + system.adapter.fritzdect.0 : fritzdect : ioBroker-RasPi4 - enabled + system.adapter.hue.0 : hue : ioBroker-RasPi4 - enabled, port: 443 system.adapter.icons-mfd-png.0 : icons-mfd-png : ioBroker-RasPi4 - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : ioBroker-RasPi4 - enabled + system.adapter.influxdb.0 : influxdb : ioBroker-RasPi4 - enabled, port: 8086 + system.adapter.innogy-smarthome.0 : innogy-smarthome : ioBroker-RasPi4 - enabled + system.adapter.jarvis.0 : jarvis : ioBroker-RasPi4 - enabled + system.adapter.javascript.0 : javascript : ioBroker-RasPi4 - enabled + system.adapter.netatmo.0 : netatmo : ioBroker-RasPi4 - enabled + system.adapter.pi-hole.0 : pi-hole : ioBroker-RasPi4 - enabled + system.adapter.pollenflug.0 : pollenflug : ioBroker-RasPi4 - enabled system.adapter.vis-bars.0 : vis-bars : ioBroker-RasPi4 - enabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : ioBroker-RasPi4 - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : ioBroker-RasPi4 - enabled system.adapter.vis-google-fonts.0 : vis-google-fonts : ioBroker-RasPi4 - enabled system.adapter.vis-history.0 : vis-history : ioBroker-RasPi4 - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : ioBroker-RasPi4 - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : ioBroker-RasPi4 - enabled system.adapter.vis-justgage.0 : vis-justgage : ioBroker-RasPi4 - enabled system.adapter.vis-materialdesign.0 : vis-materialdesign : ioBroker-RasPi4 - enabled system.adapter.vis-metro.0 : vis-metro : ioBroker-RasPi4 - enabled system.adapter.vis-plumb.0 : vis-plumb : ioBroker-RasPi4 - enabled system.adapter.vis.0 : vis : ioBroker-RasPi4 - enabled system.adapter.weatherunderground.0 : weatherunderground : ioBroker-RasPi4 - enabled + system.adapter.web.0 : web : ioBroker-RasPi4 - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.yahka.1 : yahka : ioBroker-RasPi4 - enabled + instance is aliveiobroker list adapters
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker list adapters system.adapter.admin : admin - v5.1.25 system.adapter.backitup : backitup - v1.5.6 system.adapter.daswetter : daswetter - v3.0.7 system.adapter.discovery : discovery - v2.7.0 system.adapter.fritzdect : fritzdect - v2.1.15 system.adapter.hue : hue - v3.5.22 system.adapter.icons-mfd-png : icons-mfd-png - v1.0.2 system.adapter.icons-mfd-svg : icons-mfd-svg - v1.0.2 system.adapter.influxdb : influxdb - v2.1.1 system.adapter.info : info - v1.9.8 system.adapter.innogy-smarthome : innogy-smarthome - v0.3.7 system.adapter.jarvis : jarvis - v2.2.3 system.adapter.javascript : javascript - v5.2.8 system.adapter.netatmo : netatmo - v1.4.4 system.adapter.pi-hole : pi-hole - v1.3.2 system.adapter.pollenflug : pollenflug - v1.0.6 system.adapter.simple-api : simple-api - v2.6.1 system.adapter.socketio : socketio - v3.1.4 system.adapter.terminal : terminal - v0.1.2 system.adapter.vis : vis - v1.4.3 system.adapter.vis-bars : vis-bars - v0.1.4 system.adapter.vis-canvas-gauges : vis-canvas-gauges - v0.1.5 system.adapter.vis-fancyswitch : vis-fancyswitch - v1.1.0 system.adapter.vis-google-fonts : vis-google-fonts - v0.1.0 system.adapter.vis-history : vis-history - v1.0.0 system.adapter.vis-hqwidgets : vis-hqwidgets - v1.1.7 system.adapter.vis-jqui-mfd : vis-jqui-mfd - v1.0.12 system.adapter.vis-justgage : vis-justgage - v1.0.2 system.adapter.vis-materialdesign : vis-materialdesign - v0.5.9 system.adapter.vis-metro : vis-metro - v1.1.2 system.adapter.vis-plumb : vis-plumb - v1.0.2 system.adapter.vw-connect : vw-connect - v0.0.39 system.adapter.weatherunderground : weatherunderground - v3.3.1 system.adapter.web : web - v3.4.9 system.adapter.yahka : yahka - v0.13.1iobroker version
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker version 3.3.15Ich schneine einen sehr Àhnliches Problem zu haben wie Rich90. Wie könnte ich den meine iobroker-Installation noch retten?
VG vsanodeJS ist schon mal falsch installiert. Schau in meiner Signatur, da wirds erklÀrt.
Und der Adapter heiĂt tr-064, nicht tr-O64
-
nodeJS ist schon mal falsch installiert. Schau in meiner Signatur, da wirds erklÀrt.
Und der Adapter heiĂt tr-064, nicht tr-O64
Dank schonmal.
Ja, das hatte ich gelesen,
trotz Deiner Anleitung wird in/usr/bin/nodejs v14.17.5 /usr/local/bin/node v14.17.5 /usr/local/bin/npm6.14.14
installiert. Und nicht in /usr/bin
Wie kann ich das forcieren?
VG vsa -
Dank schonmal.
Ja, das hatte ich gelesen,
trotz Deiner Anleitung wird in/usr/bin/nodejs v14.17.5 /usr/local/bin/node v14.17.5 /usr/local/bin/npm6.14.14
installiert. Und nicht in /usr/bin
Wie kann ich das forcieren?
VG vsa@vsa sagte in NPM Problem:
trotz Deiner Anleitung wird in /usr/local/bin/ installiert
Das kann nicht sein.
-
@vsa sagte in NPM Problem:
trotz Deiner Anleitung wird in /usr/local/bin/ installiert
Das kann nicht sein.
@thomas-braun
Hallo nochmals.Gerne hier mein Mitschnitt:
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker stop pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ sudo nano /etc/apt/sources.list.d/nodesource.list pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ sudo apt upgrade Paketlisten werden gelesen... Fertig AbhĂ€ngigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig Die folgenden Pakete werden aktualisiert (Upgrade): bluez nodejs 2 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es mĂŒssen 23,6 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 135 kB Plattenplatz zusĂ€tzlich benutzt. Möchten Sie fortfahren? [J/n] Holen:1 http://archive.raspberrypi.org/debian buster/main armhf bluez armhf 5.50-1.2~deb10u2+rpt1 [770 kB] Holen:2 https://deb.nodesource.com/node_14.x buster/main armhf nodejs armhf 14.17.6-deb-1nodesource1 [22,8 MB] Es wurden 23,6 MB in 2 s geholt (10,1 MB/s). Changelogs werden gelesen... Fertig (Lese Datenbank ... 61329 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../bluez_5.50-1.2~deb10u2+rpt1_armhf.deb ... Entpacken von bluez (5.50-1.2~deb10u2+rpt1) ĂŒber (5.50-1.2~deb10u2) ... Vorbereitung zum Entpacken von .../nodejs_14.17.6-deb-1nodesource1_armhf.deb ... Entpacken von nodejs (14.17.6-deb-1nodesource1) ĂŒber (14.17.5-1nodesource1) ... nodejs (14.17.6-deb-1nodesource1) wird eingerichtet ... bluez (5.50-1.2~deb10u2+rpt1) wird eingerichtet ... Trigger fĂŒr systemd (241-7~deb10u8+rpi1) werden verarbeitet ... Trigger fĂŒr man-db (2.8.5-2) werden verarbeitet ... Trigger fĂŒr dbus (1.12.20-0+deb10u1) werden verarbeitet ... pi@ioBroker-RasPi4:/opt/iobroker/node_modules $soweit so gut...
nun weiter.pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ apt policy nodejs nodejs: Installiert: 14.17.6-deb-1nodesource1 Installationskandidat: 14.17.6-deb-1nodesource1 Versionstabelle: *** 14.17.6-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@ioBroker-RasPi4:/opt/iobroker/node_modules $und jetzt die 14er Version installieren: (mit der 12er passiert das gleiche)
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ sudo apt reinstall nodejs=14.17.6-deb-1nodesource1 Paketlisten werden gelesen... Fertig AbhĂ€ngigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig 0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert. Es mĂŒssen 22,8 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 0 B Plattenplatz zusĂ€tzlich benutzt. Holen:1 https://deb.nodesource.com/node_14.x buster/main armhf nodejs armhf 14.17.6-deb-1nodesource1 [22,8 MB] Es wurden 22,8 MB in 2 s geholt (10.000 kB/s). (Lese Datenbank ... 61339 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../nodejs_14.17.6-deb-1nodesource1_armhf.deb ... Entpacken von nodejs (14.17.6-deb-1nodesource1) ĂŒber (14.17.6-deb-1nodesource1) ... nodejs (14.17.6-deb-1nodesource1) wird eingerichtet ... Trigger fĂŒr man-db (2.8.5-2) werden verarbeitet ... pi@ioBroker-RasPi4:/opt/iobroker/node_modules $Ergebnis ansehen:
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs /usr/bin/nodejs /usr/local/bin/node /usr/local/bin/npm v14.17.6 v14.17.5 6.14.14 Holen:1 https://deb.nodesource.com/node_12.x buster InRelease [4.584 B] OK:2 https://deb.nodesource.com/node_14.x buster InRelease Holen:3 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB] OK:4 https://packages.grafana.com/enterprise/deb stable InRelease OK:5 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:6 https://repos.influxdata.com/debian buster InRelease Holen:7 https://deb.nodesource.com/node_12.x buster/main armhf Packages [780 B] Holen:8 http://archive.raspberrypi.org/debian buster/main armhf Packages [378 kB] Es wurden 416 kB in 2 s geholt (185 kB/s). Paketlisten werden gelesen... Fertig AbhĂ€ngigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. OK:1 http://archive.raspberrypi.org/debian buster InRelease OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:3 https://packages.grafana.com/enterprise/deb stable InRelease OK:4 https://deb.nodesource.com/node_12.x buster InRelease OK:5 https://repos.influxdata.com/debian buster InRelease OK:6 https://deb.nodesource.com/node_14.x buster InRelease Paketlisten werden gelesen... Fertig AbhĂ€ngigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. nodejs: Installiert: 14.17.6-deb-1nodesource1 Installationskandidat: 14.17.6-deb-1nodesource1 Versionstabelle: *** 14.17.6-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 12.22.6-deb-1nodesource1 500 500 https://deb.nodesource.com/node_12.x buster/main armhf Packages 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf PackagesGibt es etwas das ich ĂŒbersehen haben könnte?
VG vsa -
@thomas-braun
Hallo nochmals.Gerne hier mein Mitschnitt:
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker stop pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ sudo nano /etc/apt/sources.list.d/nodesource.list pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ sudo apt upgrade Paketlisten werden gelesen... Fertig AbhĂ€ngigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig Die folgenden Pakete werden aktualisiert (Upgrade): bluez nodejs 2 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es mĂŒssen 23,6 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 135 kB Plattenplatz zusĂ€tzlich benutzt. Möchten Sie fortfahren? [J/n] Holen:1 http://archive.raspberrypi.org/debian buster/main armhf bluez armhf 5.50-1.2~deb10u2+rpt1 [770 kB] Holen:2 https://deb.nodesource.com/node_14.x buster/main armhf nodejs armhf 14.17.6-deb-1nodesource1 [22,8 MB] Es wurden 23,6 MB in 2 s geholt (10,1 MB/s). Changelogs werden gelesen... Fertig (Lese Datenbank ... 61329 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../bluez_5.50-1.2~deb10u2+rpt1_armhf.deb ... Entpacken von bluez (5.50-1.2~deb10u2+rpt1) ĂŒber (5.50-1.2~deb10u2) ... Vorbereitung zum Entpacken von .../nodejs_14.17.6-deb-1nodesource1_armhf.deb ... Entpacken von nodejs (14.17.6-deb-1nodesource1) ĂŒber (14.17.5-1nodesource1) ... nodejs (14.17.6-deb-1nodesource1) wird eingerichtet ... bluez (5.50-1.2~deb10u2+rpt1) wird eingerichtet ... Trigger fĂŒr systemd (241-7~deb10u8+rpi1) werden verarbeitet ... Trigger fĂŒr man-db (2.8.5-2) werden verarbeitet ... Trigger fĂŒr dbus (1.12.20-0+deb10u1) werden verarbeitet ... pi@ioBroker-RasPi4:/opt/iobroker/node_modules $soweit so gut...
nun weiter.pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ apt policy nodejs nodejs: Installiert: 14.17.6-deb-1nodesource1 Installationskandidat: 14.17.6-deb-1nodesource1 Versionstabelle: *** 14.17.6-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@ioBroker-RasPi4:/opt/iobroker/node_modules $und jetzt die 14er Version installieren: (mit der 12er passiert das gleiche)
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ sudo apt reinstall nodejs=14.17.6-deb-1nodesource1 Paketlisten werden gelesen... Fertig AbhĂ€ngigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig 0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert. Es mĂŒssen 22,8 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 0 B Plattenplatz zusĂ€tzlich benutzt. Holen:1 https://deb.nodesource.com/node_14.x buster/main armhf nodejs armhf 14.17.6-deb-1nodesource1 [22,8 MB] Es wurden 22,8 MB in 2 s geholt (10.000 kB/s). (Lese Datenbank ... 61339 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../nodejs_14.17.6-deb-1nodesource1_armhf.deb ... Entpacken von nodejs (14.17.6-deb-1nodesource1) ĂŒber (14.17.6-deb-1nodesource1) ... nodejs (14.17.6-deb-1nodesource1) wird eingerichtet ... Trigger fĂŒr man-db (2.8.5-2) werden verarbeitet ... pi@ioBroker-RasPi4:/opt/iobroker/node_modules $Ergebnis ansehen:
pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs /usr/bin/nodejs /usr/local/bin/node /usr/local/bin/npm v14.17.6 v14.17.5 6.14.14 Holen:1 https://deb.nodesource.com/node_12.x buster InRelease [4.584 B] OK:2 https://deb.nodesource.com/node_14.x buster InRelease Holen:3 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB] OK:4 https://packages.grafana.com/enterprise/deb stable InRelease OK:5 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:6 https://repos.influxdata.com/debian buster InRelease Holen:7 https://deb.nodesource.com/node_12.x buster/main armhf Packages [780 B] Holen:8 http://archive.raspberrypi.org/debian buster/main armhf Packages [378 kB] Es wurden 416 kB in 2 s geholt (185 kB/s). Paketlisten werden gelesen... Fertig AbhĂ€ngigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. OK:1 http://archive.raspberrypi.org/debian buster InRelease OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:3 https://packages.grafana.com/enterprise/deb stable InRelease OK:4 https://deb.nodesource.com/node_12.x buster InRelease OK:5 https://repos.influxdata.com/debian buster InRelease OK:6 https://deb.nodesource.com/node_14.x buster InRelease Paketlisten werden gelesen... Fertig AbhĂ€ngigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. nodejs: Installiert: 14.17.6-deb-1nodesource1 Installationskandidat: 14.17.6-deb-1nodesource1 Versionstabelle: *** 14.17.6-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 12.22.6-deb-1nodesource1 500 500 https://deb.nodesource.com/node_12.x buster/main armhf Packages 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf PackagesGibt es etwas das ich ĂŒbersehen haben könnte?
VG vsaJa, du löschst den Kram nicht aus dem falschen Verzeichnis raus.
/usr/local/bin liegt frĂŒher im $PATH, deswegen wird eine dort liegende Version immer zuerst gefunden.
Muss also weg von dort.Die v14.17.5 hast du mal irgendwie selber ins System geprĂŒgelt, die Version ĂŒber apt wird schon richtig installiert. War sie schon immer. HĂ€ttest du gar nicht reinstallieren brauchen.
-
Ja, du löschst den Kram nicht aus dem falschen Verzeichnis raus.
/usr/local/bin liegt frĂŒher im $PATH, deswegen wird eine dort liegende Version immer zuerst gefunden.
Muss also weg von dort.Die v14.17.5 hast du mal irgendwie selber ins System geprĂŒgelt, die Version ĂŒber apt wird schon richtig installiert. War sie schon immer. HĂ€ttest du gar nicht reinstallieren brauchen.
@thomas-braun
Danke fĂŒr die AufklĂ€rung. Das hat geholfen. Ich habe nodejs deinstalliert und die Verzeichnisse aus /usr/local/bin herausgelöscht.
Danach bin ich frisch mit Deiner Anleitung rangegangen. Jetzt liegt alles in /usr/bin/.Dennoch, beim versuch iobroker zu updaten:
pi@ioBroker-RasPi4:/opt/iobroker $ iobroker upgrade This upgrade of "vw-connect" will introduce the following changes: ========================================================================== -> 0.0.40: add climate v3 for newer cars. Add Powerpass and Seat Elli ========================================================================== Would you like to upgrade vw-connect from @0.0.39 to @0.0.40 now? [(y)es, (n)o]: y Update vw-connect from @0.0.39 to @0.0.40 NPM version: 6.14.15 npm install iobroker.vw-connect@0.0.40 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-08-31T21_18_53_993Z-debug.log upload [4] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/words.js words.js application/javascript upload [3] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/vw-connect.png vw-connect.png image/png upload [2] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/style.css style.css text/css upload [1] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/index_m.html index_m.html text/html upload [0] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/admin.d.ts admin.d.ts video/mp2t Adapter "vw-connect" updatedDen Adapter tr-064 hatte ich ja schon rausgeschmissen.... :-/
VG vsa
-
@thomas-braun
Danke fĂŒr die AufklĂ€rung. Das hat geholfen. Ich habe nodejs deinstalliert und die Verzeichnisse aus /usr/local/bin herausgelöscht.
Danach bin ich frisch mit Deiner Anleitung rangegangen. Jetzt liegt alles in /usr/bin/.Dennoch, beim versuch iobroker zu updaten:
pi@ioBroker-RasPi4:/opt/iobroker $ iobroker upgrade This upgrade of "vw-connect" will introduce the following changes: ========================================================================== -> 0.0.40: add climate v3 for newer cars. Add Powerpass and Seat Elli ========================================================================== Would you like to upgrade vw-connect from @0.0.39 to @0.0.40 now? [(y)es, (n)o]: y Update vw-connect from @0.0.39 to @0.0.40 NPM version: 6.14.15 npm install iobroker.vw-connect@0.0.40 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-08-31T21_18_53_993Z-debug.log upload [4] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/words.js words.js application/javascript upload [3] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/vw-connect.png vw-connect.png image/png upload [2] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/style.css style.css text/css upload [1] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/index_m.html index_m.html text/html upload [0] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/admin.d.ts admin.d.ts video/mp2t Adapter "vw-connect" updatedDen Adapter tr-064 hatte ich ja schon rausgeschmissen.... :-/
VG vsa
@vsa Schau in der package.json nach dem Eintrag. Vorher Kopie anfertigen und ioBroker stoppen.
Ich vermute, man kann den Eintrag dann löschen.
Kannst aber auch mal nach der Meldung suchen, die hatten wir schonmal hier im Forum.
-
@thomas-braun
Vielen herzlichen Dank! Wieder einiges dazugelernt.
Ich habe den entsprechenden Eintrag entfernt, danach kamen noch gyp ERR! Auch einen Tipp von Dir folgend habe ich den Terminal Adapter deinstalliert. Jetzt kann ich wieder updaten!
Jetzt kann ich wieder ruhig schlafen ;-)
VG vsa
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