NEWS
ERROR: Process exited with code 25
-
Hallo,
kann mir jemand helfen? Ich kenn mich nicht so gut aus mit den Versionen und Kompatibilitäten.
Hab folgende Versionen drauf:
|Node-Version:| 16.5.5 |
|Nodejs-Version:| 12.22.12 |
|NPM-Version:| 8.5.5 |Egal welches Update oder Adapter ich installieren will, es kommt immer der "ERROR: Process exited with code 25".
Habe ich eine falscher Version? Muss ich etwas upgraden?
Vielen Dank im Voraus.Gruß
AlexSystemdata Bitte Ausfüllen Hardwaresystem: NUC/Pi4/etc. Arbeitsspeicher: 4GB Festplattenart: SD-Karte/SSD/HDD Betriebssystem: Windows & Linux Node-Version: 16.5.5 Nodejs-Version: 12.22.12 NPM-Version: 8.5.5 Installationsart: Skript/Manuell Image genutzt: Ja/Nein Ort/Name der Imagedatei: Link Systemdata Bitte Ausfüllen -- -- Hardwaresystem: NUC/Pi3/etc. Arbeitsspeicher: 1GB Festplattenart: SD-Karte/SSD/HDD Betriebssystem: Ubuntu/Windows/Mac Node-Version: 16.5.5 Nodejs-Version: 12.22.12 NPM-Version: 8.5.5 Installationsart: Skript/Manuell Image genutzt: Ja/Nein Ort/Name der Imagedatei: Link Systemdata Bitte Ausfüllen -- -- Hardwaresystem: NUC/Pi3/etc. Arbeitsspeicher: 1GB Festplattenart: SD-Karte/SSD/HDD Betriebssystem: Ubuntu/Windows/Mac Node-Version: 10.x.x Nodejs-Version: 10.x.x NPM-Version: 6.x.x Installationsart: Skript/Manuell Image genutzt: Ja/Nein Ort/Name der Imagedatei: Link -
|Node-Version:| 16.5.5 | |Nodejs-Version:| 12.22.12 | |NPM-Version:| 8.5.5 |
Krumm und schief installiert. In meiner Signatur steht wie es richtig geht.
Wie bekommt man das eigentlich immer hin?
-
@thomas-braun sagte in ERROR: Process exited with code 25:
Wie bekommt man das eigentlich immer hin
Das frage ich mich auch immer, eigendlich ist das doch fast unmöglich.
-
Hi Thomas, fange erst jetzt an mich mit dem iobroker zu beschäftigen, soweit hat alles geklappt. Es läuft seit ein paar Tagen auf einem PI. Seit heute kann ich keine Adapter mehr installieren. Bekomme immer die gleiche Fehlermeldung "ERROR: Process exited with code 25". Habe bereits "Der kleine Linux-Werkzeugkasten" genutzt und nach Anleitung ausgeführt, hat aber nicht gebracht. Aktuell schaut es so aus:
/usr/bin/nodejs
v18.7.0
/usr/bin/node
v18.7.0
/usr/bin/npm
8.15.0
nodejs:
Installed: 18.7.0-deb-1nodesource1
Candidate: 18.7.0-deb-1nodesource1
Version table:
*** 18.7.0-deb-1nodesource1 500
500 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages
100 /var/lib/dpkg/status
12.22.12~dfsg-1~deb11u1 500
500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
Woran kann das sonst liegen?
Für deine Hilfe vor ab vielen Dank.Grüße
Fossy
-
@fossy50 Das kann nicht sein und sieht nicht korrekt aus.
Korrekt sind:Node.js: v16.16.0 NPM: 8.11.0
Da wurde händisch etwas gemacht und ganz sicher nicht nach Thomas Anleitung. Siehe seine Links in der Signatur und installiere es korrekt/ korrigiere es.
-
@fossy50 sagte in ERROR: Process exited with code 25:
Seit heute kann ich keine Adapter mehr installieren.
Installier mal einen Adapter mit --debug-Option.
Und warum bleibst du nicht bei der empfohlenen nodejs v16?
-
@thomas-braun wie kann ich die debug Option auswählen, die Adapter installiere ich über die iobroker admin Seite
-
@thomas-braun hab den debug modus aktiviert
$ iobroker url iobroker.accuweather --host IObroker --debug
install iobroker.accuweather
NPM version: 8.15.0
Installing iobroker.accuweather... (System call)
npm ERR! code ENOTEMPTY
npm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/chalknpm ERR! dest /opt/iobroker/node_modules/.chalk-XiLYGIVJnpm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/chalk' -> '/opt/iobroker/node_modules/.chalk-XiLYGIVJ'npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-08-09T08_43_23_980Z-debug-0.log
host.IObroker Cannot install iobroker.accuweather: 217
ERROR: Process exited with code 25
-
Da gibt es glaube ich eine Option, die man setzen kann.
Ich installiere aber immer über die Kommandozeile.
--debug
anhängen, fertig. -
$ iobroker url iobroker.accuweather --host IObroker --debug
install iobroker.accuweather
NPM version: 8.15.0
Installing iobroker.accuweather... (System call)
npm ERR! code ENOTEMPTY
npm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/chalknpm ERR! dest /opt/iobroker/node_modules/.chalk-XiLYGIVJnpm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/chalk' -> '/opt/iobroker/node_modules/.chalk-XiLYGIVJ'npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-08-09T08_43_23_980Z-debug-0.log
host.IObroker Cannot install iobroker.accuweather: 217
ERROR: Process exited with code 25
-
-
@thomas-braun hat leider nicht genutzt bekomme immer den gleichen Fehler
$ iobroker url iobroker.accuweather --host IObroker --debug
install iobroker.accuweather
NPM version: 8.15.0
Installing iobroker.accuweather... (System call)
npm ERR! code ENOTEMPTY
npm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@babel/corenpm ERR! dest /opt/iobroker/node_modules/@babel/.core-7WwxRyUznpm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@babel/core' -> '/opt/iobroker/node_modules/@babel/.core-7WwxRyUz'
npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-08-09T08_53_21_132Z-debug-0.log
host.IObroker Cannot install iobroker.accuweather: 217
ERROR: Process exited with code 25
-
@fossy50 sagte in ERROR: Process exited with code 25:
'/opt/iobroker/node_modules/@babel/
Ähnlich. Aber anderes Verzeichnis.
cd /opt/iobroker/node_modules/@babel/
und dann nochmal die for-Schleife.
-
@thomas-braun Super Danke, hat jetzt geklappt
Vielen dank.