NEWS
UNSOLVED Shelly Adapter Installation - Integritätsfehler
-
Hallo,
Shelly läßt sich leider nicht von 2.1.6 auf 2.2 updaten. Ich habe daher ein reinstall des iobrokers gemacht aber trotzdem kommt bei Installation folgende Fehlermeldung sowohl im Web als auch in der Shell. Ist das ein gängiges Problem oder wie sollte ich jetzt verfahren. npm cache clean -force hatte ich auch bereits versucht.
pi@raspberrypi:~ $ sudo su root@raspberrypi:/home/pi# iobroker add shelly NPM version: 6.4.1 npm install iobroker.shelly@2.2.0 --production --save --prefix "/opt/iobroker" (System call) npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation. npm ERR! code EINTEGRITY npm ERR! errno EINTEGRITY npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/debug: Integrity verification failed for sha512-3B1veGTUmiSgBiCNl81P1UAuDTCfSpoHj/G2xpS0Uo7c6vKeGyTsRxr1EMavWobMR+rwlLH+BbKUVdzehG5l4w== (/home/iobroker/.npm/_cacache/content-v2/sha512/dc/1d/6f7864d49a24a006208d97cd4fd5402e0d309f4a9a078ff1b6c694b4528edceaf29e1b24ec471af510c6af5a86cc47eaf094b1fe05b29455dcde846e65e3) npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-05-30T16_21_57_915Z-debug.log host.raspberrypi install adapter shelly NPM version: 6.4.1 npm install iobroker.shelly@2.2.0 --production --save --prefix "/opt/iobroker" (System call) npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation. npm ERR! code EINTEGRITY npm ERR! errno EINTEGRITY npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/debug: Integrity verification failed for sha512-3B1veGTUmiSgBiCNl81P1UAuDTCfSpoHj/G2xpS0Uo7c6vKeGyTsRxr1EMavWobMR+rwlLH+BbKUVdzehG5l4w== (/home/iobroker/.npm/_cacache/content-v2/sha512/dc/1d/6f7864d49a24a006208d97cd4fd5402e0d309f4a9a078ff1b6c694b4528edceaf29e1b24ec471af510c6af5a86cc47eaf094b1fe05b29455dcde846e65e3) npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-05-30T16_22_39_801Z-debug.log host.raspberrypi install adapter shelly NPM version: 6.4.1 npm install iobroker.shelly@2.2.0 --production --save --prefix "/opt/iobroker" (System call) npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation. npm ERR! code EINTEGRITY npm ERR! errno EINTEGRITY npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/debug: Integrity verification failed for sha512-3B1veGTUmiSgBiCNl81P1UAuDTCfSpoHj/G2xpS0Uo7c6vKeGyTsRxr1EMavWobMR+rwlLH+BbKUVdzehG5l4w== (/home/iobroker/.npm/_cacache/content-v2/sha512/dc/1d/6f7864d49a24a006208d97cd4fd5402e0d309f4a9a078ff1b6c694b4528edceaf29e1b24ec471af510c6af5a86cc47eaf094b1fe05b29455dcde846e65e3) npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-05-30T16_23_19_026Z-debug.log host.raspberrypi install adapter shelly host.raspberrypi Cannot install shelly
-
@PeterKoch , jetzt erst gesehen. Hast Du eine Lösung gefunden?
-
Leider nein, npjms status hatte so eine Fehlermeldung bzgl. Integrität gezeigt aber die sollte jetzt gelöst sein. Funktioniert leider unverändert nicht
-
@PeterKoch , kannst Du den Adapter jetzt installieren?
-
Hallo,
nein ich habe jetzt mal entsprechend der Anleitung aus dem heutigen Newsletter node.js reinstalliert (v.8.16.0). Leider weiterhin der Fehler bei Installation von 3.3.0 (wird ja jetzt in der GUI angeboten)
$ ./iobroker add shelly --host raspberrypi NPM version: 6.9.0 npm install iobroker.shelly@3.0.3 --production --save --prefix "/opt/iobroker" (System call) npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was emptynpm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation. npm ERR! code EINTEGRITYnpm ERR! errno EINTEGRITY npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/ws: Integrity verification failed for sha512-H5DqrJCTno5DCJEp27JM/xMMq13JdYfh+xrdYN89wy/+tvhhSv8G8GZlYnRUdfdsl2n3m/DS2jU/Wt/5MrmdDQ== (/home/iobroker/.npm/_cacache/content-v2/sha512/1f/90/eaac90939e8e43089129dbb24cff130cab5dc97587e1fb1add60df3dc32ffeb6f8614aff06f0666562745475f76c9769f79bf0d2da353f5adff932b99d0d) npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2019-06-11T18_24_00_195Z-debug.log host.raspberrypi install adapter shelly NPM version: 6.9.0 npm install iobroker.shelly@3.0.3 --production --save --prefix "/opt/iobroker" (System call) npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation. npm ERR! code EINTEGRITYnpm ERR! errno EINTEGRITY npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/ws: Integrity verification failed for sha512-H5DqrJCTno5DCJEp27JM/xMMq13JdYfh+xrdYN89wy/+tvhhSv8G8GZlYnRUdfdsl2n3m/DS2jU/Wt/5MrmdDQ== (/home/iobroker/.npm/_cacache/content-v2/sha512/1f/90/eaac90939e8e43089129dbb24cff130cab5dc97587e1fb1add60df3dc32ffeb6f8614aff06f0666562745475f76c9769f79bf0d2da353f5adff932b99d0d) npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-06-11T18_24_35_498Z-debug.log host.raspberrypi install adapter shelly NPM version: 6.9.0 npm install iobroker.shelly@3.0.3 --production --save --prefix "/opt/iobroker" (System call) npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation. npm ERR! code EINTEGRITYnpm ERR! errno EINTEGRITY npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/ws: Integrity verification failed for sha512-H5DqrJCTno5DCJEp27JM/xMMq13JdYfh+xrdYN89wy/+tvhhSv8G8GZlYnRUdfdsl2n3m/DS2jU/Wt/5MrmdDQ== (/home/iobroker/.npm/_cacache/content-v2/sha512/1f/90/eaac90939e8e43089129dbb24cff130cab5dc97587e1fb1add60df3dc32ffeb6f8614aff06f0666562745475f76c9769f79bf0d2da353f5adff932b99d0d) npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-06-11T18_25_10_798Z-debug.log host.raspberrypi install adapter shelly ERROR: host.raspberrypi Cannot install shelly ERROR: process exited with code 13
-
@PeterKoch , ich hatte einmal ein ähnliches Problem mit einigen Adaptern. Bei mir hat folgendes geholfen:
npm cache clean -f
ich bin mir nicht sicher ob ich das im Verzeichnis /opt/iobroker/node_modules/iobroker.shelly oder im Verzeichnis opt/iobroker/ ausgeführt hatte. Bitte vorher eine Datensicherung vom ioBroker durchführen.
Anschließend Shelly Adapter nochmals installieren.
Hilft das weiter? -
Hat der Befehl geholfen bzw. wie wurde es gelöst? Bei mir nicht... Ich habe ähnliche Fehler bei der Installation von Pushover erhalten.