NEWS
Zigbee Adapter Installation - Unexpected end of JSON
-
Ich wollte gerade auf einem komplett neu aufgesetzten System den Zigbee Adapter installieren und bekomme:
$ iobroker add zigbee auto --host raspberrypi202 NPM version: 6.14.15 npm install iobroker.zigbee@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! Unexpected end of JSON input while parsing near '...man-0.13.19.tgz","fil' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-10-23T14_18_15_037Z-debug.log host.raspberrypi202 Cannot install iobroker.zigbee@1.5.6: 1 ERROR: Process exited with code 25in der Logdatei steht
pi@raspberrypi202:/home/iobroker/.npm/_logs $ more 2021-10-23T14_18_15_037Z-debug.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.zigbee@1.5.6', 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.15 3 info using node@v12.22.6 4 verbose npm-session 96b4af11a055cd35 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 http fetch GET 304 https://registry.npmjs.org/iobroker.zigbee 673ms (from cache) 8 silly pacote version manifest for iobroker.zigbee@1.5.6 fetched in 745ms 9 timing stage:loadCurrentTree Completed in 13910ms 10 silly install loadIdealTree 11 silly install cloneCurrentTreeToIdealTree 12 timing stage:loadIdealTree:cloneCurrentTree Completed in 134ms 13 silly install loadShrinkwrap 14 timing stage:loadIdealTree:loadShrinkwrap Completed in 7750ms 15 silly install loadAllDepsIntoIdealTree 16 silly resolveWithNewModule iobroker.zigbee@1.5.6 checking installable status 17 http fetch GET 304 https://registry.npmjs.org/zigbee-herdsman 382ms (from cache) 18 silly fetchPackageMetaData error for zigbee-herdsman@0.13.110 Unexpected end of JSON input while parsing near '...ma n-0.13.19.tgz","fil' 19 http fetch GET 304 https://registry.npmjs.org/zigbee-herdsman-converters 497ms (from cache) 20 silly pacote version manifest for zigbee-herdsman-converters@14.0.162 fetched in 681ms 21 silly resolveWithNewModule zigbee-herdsman-converters@14.0.162 checking installable status 22 timing stage:rollbackFailedOptional Completed in 3ms 23 timing stage:runTopLevelLifecycles Completed in 25668ms 24 silly saveTree iobroker.inst@3.0.0 24 silly saveTree ├─┬ iobroker.admin@5.1.25 [...] 25 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...man-0.13.19.tgz","fil' 25 verbose stack at JSON.parse (<anonymous>) 25 verbose stack at parseJson (/usr/lib/node_modules/npm/node_modules/json-parse-better-errors/index.js:7:17) 25 verbose stack at /usr/lib/node_modules/npm/node_modules/node-fetch-npm/src/body.js:96:50 25 verbose stack at processTicksAndRejections (internal/process/task_queues.js:97:5) 26 verbose cwd /opt/iobroker 27 verbose Linux 5.10.63-v7+ 28 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zigbee@1.5.6" "--loglevel" "error" "--prefix" "/opt/ iobroker" 29 verbose node v12.22.6 30 verbose npm v6.14.15 31 error Unexpected end of JSON input while parsing near '...man-0.13.19.tgz","fil' 32 verbose exit [ 1, true ] -
Ich wollte gerade auf einem komplett neu aufgesetzten System den Zigbee Adapter installieren und bekomme:
$ iobroker add zigbee auto --host raspberrypi202 NPM version: 6.14.15 npm install iobroker.zigbee@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! Unexpected end of JSON input while parsing near '...man-0.13.19.tgz","fil' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-10-23T14_18_15_037Z-debug.log host.raspberrypi202 Cannot install iobroker.zigbee@1.5.6: 1 ERROR: Process exited with code 25in der Logdatei steht
pi@raspberrypi202:/home/iobroker/.npm/_logs $ more 2021-10-23T14_18_15_037Z-debug.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.zigbee@1.5.6', 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.15 3 info using node@v12.22.6 4 verbose npm-session 96b4af11a055cd35 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 http fetch GET 304 https://registry.npmjs.org/iobroker.zigbee 673ms (from cache) 8 silly pacote version manifest for iobroker.zigbee@1.5.6 fetched in 745ms 9 timing stage:loadCurrentTree Completed in 13910ms 10 silly install loadIdealTree 11 silly install cloneCurrentTreeToIdealTree 12 timing stage:loadIdealTree:cloneCurrentTree Completed in 134ms 13 silly install loadShrinkwrap 14 timing stage:loadIdealTree:loadShrinkwrap Completed in 7750ms 15 silly install loadAllDepsIntoIdealTree 16 silly resolveWithNewModule iobroker.zigbee@1.5.6 checking installable status 17 http fetch GET 304 https://registry.npmjs.org/zigbee-herdsman 382ms (from cache) 18 silly fetchPackageMetaData error for zigbee-herdsman@0.13.110 Unexpected end of JSON input while parsing near '...ma n-0.13.19.tgz","fil' 19 http fetch GET 304 https://registry.npmjs.org/zigbee-herdsman-converters 497ms (from cache) 20 silly pacote version manifest for zigbee-herdsman-converters@14.0.162 fetched in 681ms 21 silly resolveWithNewModule zigbee-herdsman-converters@14.0.162 checking installable status 22 timing stage:rollbackFailedOptional Completed in 3ms 23 timing stage:runTopLevelLifecycles Completed in 25668ms 24 silly saveTree iobroker.inst@3.0.0 24 silly saveTree ├─┬ iobroker.admin@5.1.25 [...] 25 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...man-0.13.19.tgz","fil' 25 verbose stack at JSON.parse (<anonymous>) 25 verbose stack at parseJson (/usr/lib/node_modules/npm/node_modules/json-parse-better-errors/index.js:7:17) 25 verbose stack at /usr/lib/node_modules/npm/node_modules/node-fetch-npm/src/body.js:96:50 25 verbose stack at processTicksAndRejections (internal/process/task_queues.js:97:5) 26 verbose cwd /opt/iobroker 27 verbose Linux 5.10.63-v7+ 28 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zigbee@1.5.6" "--loglevel" "error" "--prefix" "/opt/ iobroker" 29 verbose node v12.22.6 30 verbose npm v6.14.15 31 error Unexpected end of JSON input while parsing near '...man-0.13.19.tgz","fil' 32 verbose exit [ 1, true ]cd /opt/iobroker npm cache clear --forceDanach nochmal probieren.
nodejs aktuell halten. -
cd /opt/iobroker npm cache clear --forceDanach nochmal probieren.
nodejs aktuell halten.Jetzt kommt:
$ iobroker add zigbee auto --host raspberrypi202 NPM version: 6.14.15 npm install iobroker.zigbee@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINTEGRITY npm ERR! sha512-QzC+VeoqagXQjP1akJVh1OBvOnpnnVbLf467hDcFMFDQSDQTfTfcI7TRlO+DJ3tqj0c8695tk8meX4wbIv51Fw== integrity checksum failed when using sha512: wanted sha512-QzC+VeoqagXQjP1akJVh1OBvOnpnnVbLf467hDcFMFDQSDQTfTfcI7TRlO+DJ3tqj0c8695tk8meX4wbIv51Fw== but got sha512-1pJBJij7uq/un3TKQG7AFAxwu1IsNX0J7hCVlf1M9lLPJTiCc9Dz60U2uaPGJGUP1OoOW6oyJrw/caWBPK4+JA==. (8305006 bytes) npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-10-23T18_18_46_763Z-debug.log host.raspberrypi202 Cannot install iobroker.zigbee@1.5.6: 1 ERROR: Process exited with code 25 -
Jetzt kommt:
$ iobroker add zigbee auto --host raspberrypi202 NPM version: 6.14.15 npm install iobroker.zigbee@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINTEGRITY npm ERR! sha512-QzC+VeoqagXQjP1akJVh1OBvOnpnnVbLf467hDcFMFDQSDQTfTfcI7TRlO+DJ3tqj0c8695tk8meX4wbIv51Fw== integrity checksum failed when using sha512: wanted sha512-QzC+VeoqagXQjP1akJVh1OBvOnpnnVbLf467hDcFMFDQSDQTfTfcI7TRlO+DJ3tqj0c8695tk8meX4wbIv51Fw== but got sha512-1pJBJij7uq/un3TKQG7AFAxwu1IsNX0J7hCVlf1M9lLPJTiCc9Dz60U2uaPGJGUP1OoOW6oyJrw/caWBPK4+JA==. (8305006 bytes) npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-10-23T18_18_46_763Z-debug.log host.raspberrypi202 Cannot install iobroker.zigbee@1.5.6: 1 ERROR: Process exited with code 25@wolfgangfb
Dann nochmal.
Da ist beim Download wohl ein bit umgekippt. -
@wolfgangfb
Dann nochmal.
Da ist beim Download wohl ein bit umgekippt.Ich habe nochmal
pi@raspberrypi202:/opt/iobroker $ npm cache clear --force npm WARN using --force I sure hope you know what you are doing.und dann versucht zu installieren, gleiches Ergebnis:
$ iobroker add zigbee auto --host raspberrypi202 NPM version: 6.14.15 npm install iobroker.zigbee@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINTEGRITY npm ERR! sha512-QzC+VeoqagXQjP1akJVh1OBvOnpnnVbLf467hDcFMFDQSDQTfTfcI7TRlO+DJ3tqj0c8695tk8meX4wbIv51Fw== integrity checksum failed when using sha512: wanted sha512-QzC+VeoqagXQjP1akJVh1OBvOnpnnVbLf467hDcFMFDQSDQTfTfcI7TRlO+DJ3tqj0c8695tk8meX4wbIv51Fw== but got sha512-jWCut7+lvh3NFCdTaC9jhM5aRyWnyy7hU18yMB8cLd2giThd8TdciGv20Q+UeHvcQmcCyICjiA6+hVvzYOg55w==. (2009453 bytes) npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-10-23T18_33_17_451Z-debug.log host.raspberrypi202 Cannot install iobroker.zigbee@1.5.6: 1 ERROR: Process exited with code 25 -
Ich habe nochmal
pi@raspberrypi202:/opt/iobroker $ npm cache clear --force npm WARN using --force I sure hope you know what you are doing.und dann versucht zu installieren, gleiches Ergebnis:
$ iobroker add zigbee auto --host raspberrypi202 NPM version: 6.14.15 npm install iobroker.zigbee@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINTEGRITY npm ERR! sha512-QzC+VeoqagXQjP1akJVh1OBvOnpnnVbLf467hDcFMFDQSDQTfTfcI7TRlO+DJ3tqj0c8695tk8meX4wbIv51Fw== integrity checksum failed when using sha512: wanted sha512-QzC+VeoqagXQjP1akJVh1OBvOnpnnVbLf467hDcFMFDQSDQTfTfcI7TRlO+DJ3tqj0c8695tk8meX4wbIv51Fw== but got sha512-jWCut7+lvh3NFCdTaC9jhM5aRyWnyy7hU18yMB8cLd2giThd8TdciGv20Q+UeHvcQmcCyICjiA6+hVvzYOg55w==. (2009453 bytes) npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-10-23T18_33_17_451Z-debug.log host.raspberrypi202 Cannot install iobroker.zigbee@1.5.6: 1 ERROR: Process exited with code 25Dann ist vielleicht die Version auf dem Server korrupt.
Stell mal zum Testen auf das Beta-Repository um und installier die Version von dort. Dann wieder auf stable zurück. -
@thomas-braun
Wenn ich von Default auf Latest umstelle, und bei "Adapter" aktualisiere, dann kommt:Langsame Verbindung erkannt!
Cannot GetRepositoryCompact: -
@thomas-braun
Wenn ich von Default auf Latest umstelle, und bei "Adapter" aktualisiere, dann kommt:Langsame Verbindung erkannt!
Cannot GetRepositoryCompact:Irgendwie scheint da bei dir im Netz was zu klemmen.
-
@thomas-braun
Wenn ich von Default auf Latest umstelle, und bei "Adapter" aktualisiere, dann kommt:Langsame Verbindung erkannt!
Cannot GetRepositoryCompact:@wolfgangfb
Da ist tatsächlich etwas faul, ich weiß nur noch nicht was. Über Wlan ist die Verbindung top, über LAN zäh. Die WLAN Zugänge hängen aber alle am gleichen Gigabit Router, genau wie der Raspberry, per LAN Kabel. -
@wolfgangfb
Da ist tatsächlich etwas faul, ich weiß nur noch nicht was. Über Wlan ist die Verbindung top, über LAN zäh. Die WLAN Zugänge hängen aber alle am gleichen Gigabit Router, genau wie der Raspberry, per LAN Kabel.@wolfgangfb
Die Kiste mal neugestartet? -
@wolfgangfb
Die Kiste mal neugestartet?Klar, ca.20 mal die letzten paar Stunden :-(
-
Klar, ca.20 mal die letzten paar Stunden :-(
@wolfgangfb Ich meinte den Router.
-
@wolfgangfb Ich meinte den Router.
@thomas-braun
Den Router habe ich auch neu gestartet.
Ich habe folgende Konstellation: Internet kommt über Kabel (Vodafone Router, so gut wie nichts konfigurierbar), das Vodafone Modem hat die IP 192.168.0.1. Der erste LAN Ausgang geht in eine Fritz!Box die DHCP, VoIP, NAS etc. macht, die hat 192.168.1.200 und von dort geht es in einen Gigabit Switch an dem z.B. dieser PC und die Raspberrys per Lan Kabel hängen (und die gerade eine grausame Internetgeschwindigkeit haben) und ein Fritz!Repeater über den per WLAN der volle Durchsatz (40MBit/sek) möglich sind. Verstehen tue ich das ganze im Moment nicht. -
@thomas-braun
Den Router habe ich auch neu gestartet.
Ich habe folgende Konstellation: Internet kommt über Kabel (Vodafone Router, so gut wie nichts konfigurierbar), das Vodafone Modem hat die IP 192.168.0.1. Der erste LAN Ausgang geht in eine Fritz!Box die DHCP, VoIP, NAS etc. macht, die hat 192.168.1.200 und von dort geht es in einen Gigabit Switch an dem z.B. dieser PC und die Raspberrys per Lan Kabel hängen (und die gerade eine grausame Internetgeschwindigkeit haben) und ein Fritz!Repeater über den per WLAN der volle Durchsatz (40MBit/sek) möglich sind. Verstehen tue ich das ganze im Moment nicht.@wolfgangfb
Da hast du in dem Konstrukt wohl einen Knoten drin.
DHCP-Server sollte es z.B nur einen geben. -
@wolfgangfb
Da hast du in dem Konstrukt wohl einen Knoten drin.
DHCP-Server sollte es z.B nur einen geben.@thomas-braun
Das sehe ich auch so, dass da ein Knoten ist (ich vermute mal, dass es irgendwas mit dem Nameserver zu tun hat, denn das ganze ist entstanden, weil ein Pi-Hole auf einem der Raspberrys nicht mehr wollte und ich den Nameserver wieder auf den 8.8.8.8 gestellt habe), aber warum geht es per Wlan und per Kabel nicht? Ich gehe jetzt erst mal in Bett und schaue mir das ganze morgen nochmal in Ruhe an.