NEWS
Untersuchung: code 25 fehlerlösung
-
Bei Docker bin ich eh raus. Keinen Bock auf den Kram.
-
@thomas-braun na dann....
-
Lösch die Verzeichnisse.
-
@thomas-braun tjo das kann ich nicht, da ich mich damit nicht auskenne. Leider.
Hilft es was wenn ich NodeRed lösche? in der IOB Oberfläche. -
-
@thomas-braun sagte in Untersuchung: code 25 fehlerlösung:
npm ls body-parser
root@iobroker:/opt/iobroker# npm ls body-parser sudo: Hostname iobroker kann nicht aufgelöst werden: Zu diesem Hostnamen gehört keine Adresse iobroker.inst@2.0.3 /opt/iobroker ├─┬ iobroker.admin@6.2.22 │ ├── body-parser@1.20.0 │ └─┬ express@4.18.1 │ └── body-parser@1.20.0 deduped ├─┬ iobroker.node-red@4.0.0 invalid: "3.3.1" from the root project │ └─┬ node-red@3.0.2 │ ├─┬ @node-red/editor-api@3.0.2 │ │ └── body-parser@1.20.0 deduped │ └─┬ @node-red/nodes@3.0.2 │ └── body-parser@1.20.0 deduped └─┬ iobroker.web@4.3.0 └── body-parser@1.20.0 deduped
-
npm ls destroy
-
@thomas-braun sagte in Untersuchung: code 25 fehlerlösung:
npm ls destroy
root@iobroker:/opt/iobroker# npm ls destroy sudo: Hostname iobroker kann nicht aufgelöst werden: Zu diesem Hostnamen gehört keine Adresse iobroker.inst@2.0.3 /opt/iobroker └─┬ iobroker.admin@6.2.22 ├─┬ body-parser@1.20.0 │ └── destroy@1.2.0 └─┬ express@4.18.1 └─┬ send@0.18.0 └── destroy@1.2.0 deduped
-
-
npm ERR! code ELSPROBLEMS npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2 npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2022-10-03T19_56_02_335Z-debug-0.log
-
-
@thomas-braun Also ich bin der Meinung das ich alles gemacht habe. Aber es kommt noch immer der Fehler Code 25.
npm ERR! code ELSPROBLEMS npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2 npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2022-10-03T20_10_50_302Z-debug-0.log
-
@nwh
Was kommt auf die beiden Befehle denn zurück? -
root@iobroker:/opt/iobroker# npm prune sudo: Hostname iobroker kann nicht aufgelöst werden: Zu diesem Hostnamen gehört keine Adresse npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/accepts npm ERR! dest /opt/iobroker/node_modules/.accepts-rBwU1CL7 npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/accepts' -> '/opt/iobroker/node_modules/ .accepts-rBwU1CL7' npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2022-10-03T20_13_04_854Z-debug-0.log
und bei Iobroker update
Adapter "netatmo" : 2.0.5 , installed 1.7.1 [Updatable] Adapter "node-red" : 4.0.0 , installed 4.0.0 Adapter "pushover" : 3.0.3 , installed 3.0.2 [Updatable] Adapter "pvforecast" : 2.3.0 , installed 2.3.0 Adapter "shelly" : 6.0.0 , installed 6.0.0 Adapter "simple-api" : 2.7.0 , installed 2.7.0 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "tuya" : 3.6.15 , installed 3.6.15 Adapter "unifi" : 0.5.10 , installed 0.5.10 Adapter "virtualpowermeter": 1.4.6, installed 1.4.6 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-hqwidgets": 1.3.0 , installed 1.2.0 [Updatable] Adapter "vis-icontwo" : 0.89.0 , installed 0.89.0 Adapter "vis-inventwo" : 3.3.1 , installed 3.3.1 Adapter "vis-jqui-mfd" : 1.0.12 , instal```
-
Ich kanns immer wieder betonen - haut halt den alten Mist raus und macht das neu, wenn ihr keine Lust habt ewig zu suchen. Macht vorher eine Imagesicherung - dann kommt ihr wieder dahin zurück oder nennt das node_modules Verzeichnis um - und macht es neu:
https://forum.iobroker.net/post/831638
Diese Diskussionen sind doch unsinnig . Jemand der NodeRed nutzen will, wird das tun - egal ob das binär im node_modules Verzeichnis rumliegt. Das Hauptproblem ist npm mit seinen geänderten Formaten.
-
-
@mickym sagte in Untersuchung: code 25 fehlerlösung:
Diese Diskussionen sind doch unsinnig .
Was für Diskussionen? Wir versuchen den Grund für das Verhalten zu finden.
-
root@iobroker:/opt/iobroker# iobroker update Used repository: Stable (default) Adapter "admin" : 6.2.22 , installed 6.2.22 Adapter "backitup" : 2.4.12 , installed 2.4.10 [Updatable] Adapter "bwt" : 0.0.4 , installed 0.0.4 Adapter "cloud" : 4.2.2 , installed 4.2.2 Adapter "coronavirus-statistics": 0.8.7, installed 0.8.7 Adapter "daswetter" : 3.1.3 , installed 3.1.3 Adapter "deconz" : 1.3.21 , installed 2.0.5 Adapter "denon" : 1.13.4 , installed 1.13.4 Adapter "discovery" : 3.0.5 , installed 3.0.5 Adapter "echarts" : 1.0.12 , installed 1.0.12 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "fullybrowser" : 2.1.2 , installed 2.1.2 Adapter "harmony" : 1.2.2 , installed 1.2.2 Adapter "heos" : 1.10.0 , installed 1.10.0 Adapter "history" : 2.2.0 , installed 2.2.0 Adapter "hm-rega" : 3.0.40 , installed 3.0.40 Adapter "hm-rpc" : 1.15.12 , installed 1.15.12 Adapter "hue" : 3.7.1 , installed 3.7.1 Adapter "hue-extended" : 2.0.0 , installed 2.0.0 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-png": 1.1.0 , installed 1.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "influxdb" : 3.1.8 , installed 3.1.8 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.9 , installed 1.11.9 Adapter "javascript" : 6.0.3 , installed 6.0.3 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "lgtv" : 1.1.10 , installed 1.1.10 Adapter "mbus" : 2.4.0 , installed 2.4.0 Adapter "mihome-vacuum": 3.4.2 , installed 3.4.2 Adapter "modbus" : 5.0.5 , installed 5.0.5 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "netatmo" : 2.0.5 , installed 1.7.1 [Updatable] Adapter "node-red" : 4.0.0 , installed 4.0.0 Adapter "pushover" : 3.0.3 , installed 3.0.2 [Updatable] Adapter "pvforecast" : 2.3.0 , installed 2.3.0 Adapter "shelly" : 6.0.0 , installed 6.0.0 Adapter "simple-api" : 2.7.0 , installed 2.7.0 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "tuya" : 3.6.15 , installed 3.6.15 Adapter "unifi" : 0.5.10 , installed 0.5.10 Adapter "virtualpowermeter": 1.4.6, installed 1.4.6 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-hqwidgets": 1.3.0 , installed 1.2.0 [Updatable] Adapter "vis-icontwo" : 0.89.0 , installed 0.89.0 Adapter "vis-inventwo" : 3.3.1 , installed 3.3.1 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-players" : 0.1.6 , installed 0.1.6 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "vis-weather" : 2.5.5 , installed 2.5.5 Adapter "weatherunderground": 3.4.2, installed 3.4.2 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "zigbee" : 1.7.5 , installed 1.7.5
-
cat package.json
-
@thomas-braun sagte in Untersuchung: code 25 fehlerlösung:
cat package.json
root@iobroker:/opt/iobroker# cat package.json { "name": "iobroker.inst", "version": "2.0.3", "private": true, "description": "Automation platform in node.js", "scripts": { "install": "node lib/checkVersions.js", "postinstall": "node lib/install.js", "test": "node node_modules/mocha/bin/mocha --exit" }, "dependencies": { "colors": "^1.3.3", "fs-extra": "^7.0.1", "iobroker": "^2.0.3", "iobroker.admin": "6.2.22", "iobroker.backitup": "2.4.10", "iobroker.bwt": "0.0.4", "iobroker.cloud": "4.2.2", "iobroker.coronavirus-statistics": "^0.8.7", "iobroker.daswetter": "3.1.3", "iobroker.deconz": "^2.0.5", "iobroker.denon": "1.13.4", "iobroker.discovery": "3.0.5", "iobroker.echarts": "1.0.12", "iobroker.enigma2": "github:Matten-Matten/ioBroker.enigma2#17f9d0c2d8a337e46a5e16cbabb9b305d32fd233", "iobroker.flot": "1.11.0", "iobroker.fullybrowser": "2.1.2", "iobroker.harmony": "^1.2.2", "iobroker.heos": "1.10.0", "iobroker.history": "2.2.0", "iobroker.hm-rega": "3.0.40", "iobroker.hm-rpc": "1.15.12", "iobroker.hoover":"github:TA2k/ioBroker.hoover#d8483c0a1d07a4747f35439baceaa9be981bd83c", "iobroker.hue": "3.7.1", "iobroker.hue-extended": "^2.0.0", "iobroker.icons-material-png": "^0.1.0", "iobroker.icons-mfd-png": "1.1.0", "iobroker.icons-mfd-svg": "1.1.0", "iobroker.influxdb": "3.1.8", "iobroker.info": "1.9.19", "iobroker.iot": "1.11.9", "iobroker.javascript": "6.0.3", "iobroker.js-controller": "4.0.23", "iobroker.lgtv": "^1.1.10", "iobroker.mbus": "2.4.0", "iobroker.mihome-vacuum": "3.4.2", "iobroker.modbus": "5.0.5", "iobroker.mqtt": "4.0.7", "iobroker.netatmo": "1.7.1", "iobroker.node-red": "3.3.1", "iobroker.pushover": "3.0.2", "iobroker.pvforecast": "2.3.0", "iobroker.rtspStream": "https://github.com/dbweb-ch/ioBroker.rtspStream/tarball/3891a8545b5566946b89b6f4dbfeac1e "iobroker.seko": "github:TA2k/ioBroker.seko#b3c7090c4907fa76d1b2c63d5250b80889445f53", "iobroker.shelly": "6.0.0", "iobroker.simple-api": "2.7.0", "iobroker.smartmeter": "3.3.4", "iobroker.socketio": "4.2.0", "iobroker.sourceanalytix": "0.4.12", "iobroker.tuya": "3.6.15", "iobroker.unifi": "^0.5.10", "iobroker.virtualpowermeter": "1.4.6", "iobroker.vis": "1.4.15", "iobroker.vis-colorpicker": "^1.2.0", "iobroker.vis-hqwidgets": "1.2.0", "iobroker.vis-icontwo": "0.89.0", "iobroker.vis-inventwo": "3.3.1", "iobroker.vis-jqui-mfd": "^1.0.12", "iobroker.vis-material": "^0.1.3", "iobroker.vis-material-webfont": "0.0.3", "iobroker.vis-materialdesign": "^0.4.2", "iobroker.vis-players": "^0.1.6", "iobroker.vis-timeandweather": "1.2.2", "iobroker.vis-weather": "^2.5.5", "iobroker.weatherunderground": "3.4.2", "iobroker.web": "4.3.0", "iobroker.zigbee": "1.7.5", "semver": "^5.6.0", "yargs": "^7.0.2" } }