NEWS
npm Fehlermeldung
-
Hallo ,
leider kann ich den Adapter "EgiGeoZone2" nicht aktualisieren.
Siehe Fehlermeldung:iobroker fix , habe ich bereits laufen lassen. Hat aber nicht gebracht.
Ich hänge nochmal das Log mit an:
2024-10-29T20_22_48_970Z-debug-0.log -
Da kann serialport nicht gebaut werden.
Build Environment vorhanden?Grundsätzlich ist der Adapter nämlich installierbar:
$ iobroker add egigeozone2 auto --host chet --debug Installing iobroker.egigeozone2@1.0.7... (System call) (node:39336) ExperimentalWarning: CommonJS module /usr/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/lib/node_modules/npm/node_modules/supports-color/index.js using require(). Support for loading ES Module in require() is an experimental feature and might change at any time(Use `node --trace-warnings ...` to show where the warning was created) added 1 package in 25s 215 packages are looking for funding run `npm fund` for details host.chet install adapter egigeozone2 upload [13] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/egigeozone.png egigeozone.png image/png upload [12] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [11] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [10] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [9] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [7] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [6] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [5] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [4] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [3] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/i18n/uk/translations.json i18n/uk/translations.json application/json upload [2] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [1] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/jsonConfig.json jsonConfig.json application/json upload [0] egigeozone2.admin /opt/iobroker/node_modules/iobroker.egigeozone2/admin/words.js words.js application/javascript Updating objects from io-package.json for adapter "egigeozone2" with version "1.0.7" host.chet object system.adapter.egigeozone2.0.connected created host.chet object system.adapter.egigeozone2.0.compactMode created host.chet object system.adapter.egigeozone2.0.cpu created host.chet object system.adapter.egigeozone2.0.cputime created host.chet object system.adapter.egigeozone2.0.memHeapUsed created host.chet object system.adapter.egigeozone2.0.memHeapTotal created host.chet object system.adapter.egigeozone2.0.memRss created host.chet object system.adapter.egigeozone2.0.uptime created host.chet object system.adapter.egigeozone2.0.inputCount created host.chet object system.adapter.egigeozone2.0.outputCount created host.chet object system.adapter.egigeozone2.0.sigKill created host.chet object system.adapter.egigeozone2.0.logLevel created host.chet object egigeozone2.0.info created host.chet object egigeozone2.0.info.connection created host.chet object egigeozone2.0.atHome created host.chet object egigeozone2.0.atHomeCount created host.chet Set default value of egigeozone2.0.info.connection: false host.chet Set default value of egigeozone2.0.atHome: host.chet Set default value of egigeozone2.0.atHomeCount: 0 host.chet object system.adapter.egigeozone2.0 created Process exited with code 0
-
@thomas-braun sagte in npm Fehlermeldung:
Build Environment
Hi Sorry "Build Environment" sagt mir nichts gerade. Was kann ich wo prüfen ?
-
-
@thomas-braun na dann schaue ich mal. Ähh den "iob diag" kannte ich.
-
-
Sieht für mich nicht normal aus, da fehlt nämlich mindestens 90% der Ausgabe.
-
@thomas-braun Sorry jetzt aber...
-
-
Die ganzen
invalid: "https://github.com/
Einträge deuten auf eine verschobene npm-Struktur hin.
Installier mal einen der dort genannten Adapter ordentlich, d.h. nicht als GitHub-Installation. -
@thomas-braun ich habe jetzt mal alle mit Fehler neuinstalliert "nicht über Git". Nun sagt Diag das:
MOD-EDIT: Code in code-tags gesetzt!
-
@thomas-braun sagte in npm Fehlermeldung:
Die ganzen
invalid: "https://github.com/
Einträge deuten auf eine verschobene npm-Struktur hin.
Installier mal einen der dort genannten Adapter ordentlich, d.h. nicht als GitHub-Installation.Sach wie kann denn sowas passieren das sich die Struktur verschoben hat ? Habe eigentlich nichts grosses in letzter Zeit gemacht außer die Update. Selbst das deinstallieren von den Adapter geht nicht mehr. Auch manuell nicht.
Was kann man jetzt machen ? Neuinstallation ?michael@iobroker:/opt/iobroker$ iob del egigeozone Delete adapter "egigeozone" host.iobroker object egigeozone deleted host.iobroker object egigeozone.admin deleted host.iobroker Deleting 1 object(s). Error deleting adapter egigeozone from disk: Cannot find module 'iobroker.egigeozone/io-package.json' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/esm/lib/setup/setupInstall.js You might have to delete it yourself! michael@iobroker:/opt/iobroker$
-
@mymeyer sagte in npm Fehlermeldung:
Sach wie kann denn sowas passieren das sich die Struktur verschoben hat ?
Durch übermäßige Verwendung von GitHub-Installationen...
Wie schaut denn nun
cd /opt/iobroker && npm ls
aus?
-
michael@iobroker:/opt/iobroker$ cd /opt/iobroker && npm ls [sudo] Passwort f�r michael: iobroker.inst@1.1.2 /opt/iobroker +-- @iobroker-javascript.0/country-list-js@npm:country-list-js@3.1.8 +-- @iobroker-javascript.0/exec@npm:exec@0.2.1 +-- @iobroker-javascript.0/ffmpeg@npm:ffmpeg@0.0.4 +-- @iobroker-javascript.0/fs@npm:fs@0.0.1-security +-- @iobroker-javascript.0/node-hue-api@npm:node-hue-api@5.0.0-beta.16 +-- @iobroker-javascript.0/require@npm:require@2.4.20 +-- @iobroker-javascript.0/simple-ssh@npm:simple-ssh@1.1.1 +-- @iobroker-javascript.0/suncalc@npm:suncalc@1.9.0 +-- iobroker.adguard@0.0.8 +-- iobroker.admin@7.1.5 +-- iobroker.alarm@3.6.2 +-- iobroker.alexa2@3.26.5 +-- iobroker.alias-manager@1.2.6 +-- iobroker.apsystems-ecu@0.2.1 invalid: "github:npeter/ioBroker.apsystems-ecu#9d583384f1d72f0147fde2abcd67d4e9281b7347" from the root project +-- iobroker.backitup@3.0.25 +-- iobroker.binance@1.1.3 invalid: "github:Kartax/ioBroker.binance#54f362ef6e0775d7cd696a3dff701e2dd6de2404" from the root project +-- iobroker.blink4home@0.1.1 invalid: "https://github.com/Flashy-GER/ioBroker.blink4home/tarball/37aaf54baf0ac76931d00a71459bcb4e47d96b43" from the root project +-- iobroker.bosch-ebike@0.1.7 invalid: "github:TA2k/ioBroker.bosch-ebike" from the root project +-- iobroker.broadlink@0.1.5 invalid: "https://github.com/hieblmedia/ioBroker.broadlink/tarball/master" from the root project +-- iobroker.broadlink2@2.3.0 +-- iobroker.cloud@5.0.1 +-- iobroker.daswetter@3.1.16 +-- iobroker.egigeozone2@1.0.6 +-- iobroker.energiefluss@3.6.1 +-- iobroker.feiertage@1.2.0 +-- iobroker.flot@1.12.0 +-- iobroker.fritzbox@0.6.0 +-- iobroker.fully-tablet-control@0.3.3-beta.0 invalid: "https://github.com/xXBJXx/ioBroker.fully-tablet-control/tarball/e8c40673053e31ce4621d33e3ad38bcaae6b452d" from the root project +-- iobroker.fullybrowser@3.0.12 +-- iobroker.heatingcontrol@2.12.10 +-- iobroker.hm-rega@5.1.0 +-- iobroker.hm-rpc@2.0.2 +-- iobroker.hue@3.12.0 +-- iobroker.ical@1.15.0 +-- iobroker.icons-addictive-flavour-png@0.1.0 +-- iobroker.icons-fatcow-hosting@0.1.0 +-- iobroker.icons-icons8@0.0.1 +-- iobroker.icons-material-png@0.1.0 +-- iobroker.icons-material-svg@0.1.0 +-- iobroker.icons-mfd-png@1.2.1 +-- iobroker.icons-mfd-svg@1.2.0 +-- iobroker.icons-open-icon-library-png@0.1.2 +-- iobroker.icons-ultimate-png@1.0.1 +-- iobroker.influxdb@4.0.2 +-- iobroker.iot@3.3.0 +-- iobroker.javascript@8.8.3 +-- iobroker.js-controller@6.0.11 +-- iobroker.labcom@0.1.4 invalid: "github:100prznt/ioBroker.labcom#2cbc14b6c33d01fcc29003e3648fcb0c4d917f75" from the root project +-- iobroker.landroid@1.0.3 +-- iobroker.lgtv11@1.0.5 +-- iobroker.life360@0.2.22 invalid: "github:MiGoller/ioBroker.life360#23166aab1b2e36d917a9b7b480d9faa7f73ca2d1" from the root project +-- iobroker.linkeddevices@1.5.5 +-- iobroker.linux-control@1.1.5 +-- iobroker.logparser@2.2.2 +-- iobroker.mihome-vacuum@4.2.0 +-- iobroker.mihome@1.4.0 +-- iobroker.modbus@6.3.2 +-- iobroker.mqtt@6.1.2 +-- iobroker.nina@0.0.25 +-- iobroker.nuki-extended@2.7.0 +-- iobroker.nuki@2.0.0 +-- iobroker.nut@1.6.0 +-- iobroker.octoprint@5.1.0 +-- iobroker.opendtu@2.0.0 +-- iobroker.ph803w@1.2.0 +-- iobroker.primelab@1.0.2 invalid: "github:Apollon77/iobroker.primelab#95f1af76d05d464b08b8ee3cb40ceb2b20d778d3" from the root project +-- iobroker.pvforecast@3.0.0 +-- iobroker.repetierserver@0.0.3 invalid: "https://github.com/Baumert7269/ioBroker.repetierserver/tarball/256b927316a6394475c990026b7ce27c5d32abe8" from the root project +-- iobroker.ring@5.1.0 +-- iobroker.scenes@3.2.3 +-- iobroker.shelly@8.2.1 +-- iobroker.shuttercontrol@1.8.3 +-- iobroker.simple-api@2.8.0 +-- iobroker.smartcontrol@2.0.1 +-- iobroker.socketio@6.7.1 +-- iobroker.sonoff@3.1.2 +-- iobroker.sourceanalytix@0.4.15-alpha.1 invalid: "github:DrozmotiX/ioBroker.sourceanalytix#fd3b7f9f362a348741cbe18d70a130d2bfee6727" from the root project +-- iobroker.synology@3.1.0 +-- iobroker.telegram@3.9.0 +-- iobroker.terminal@1.0.0 +-- iobroker.tr-064@4.3.0 +-- iobroker.tuya@3.16.0 +-- iobroker.unifi@0.7.0 +-- iobroker.vis-bars@0.1.4 +-- iobroker.vis-colorpicker@2.0.3 +-- iobroker.vis-fancyswitch@1.1.0 +-- iobroker.vis-google-fonts@1.0.4 +-- iobroker.vis-hqwidgets@1.5.1 +-- iobroker.vis-jqui-mfd@1.1.1 +-- iobroker.vis-justgage@2.1.0 +-- iobroker.vis-map@1.1.2 +-- iobroker.vis-material@0.1.3 +-- iobroker.vis-materialdesign@0.5.94 invalid: "github:Scrounger/ioBroker.vis-materialdesign#8b7529d493f223dfc4f1d1f632553fcb35bbcc92" from the root project +-- iobroker.vis-metro@1.2.0 +-- iobroker.vis-players@0.1.6 +-- iobroker.vis-plumb@1.0.2 +-- iobroker.vis-rgraph@0.0.2 +-- iobroker.vis-timeandweather@1.2.2 +-- iobroker.vis@1.5.6 +-- iobroker.wallpanel@0.3.11 +-- iobroker.weatherunderground@3.7.0 +-- iobroker.web@6.2.5 +-- iobroker.wireguard@1.7.0 +-- iobroker.wled@0.7.2 +-- iobroker.worx@3.1.0 invalid: "github:iobroker-community-adapters/ioBroker.worx" from the root project +-- iobroker.ws@2.6.2 +-- iobroker.zigbee@1.10.10 invalid: "github:ioBroker/ioBroker.zigbee#fedc314a875044c84ff790a19dfd42d7373bb61e" from the root project `-- zigbee2mqtt@1.27.0 invalid: "github:Koenkk/zigbee2mqtt#a9b8808237554316c5c97e9d9c990048733779e8" from the root project npm error code ELSPROBLEMS npm error invalid: iobroker.apsystems-ecu@0.2.1 /opt/iobroker/node_modules/iobroker.apsystems-ecu npm error invalid: iobroker.binance@1.1.3 /opt/iobroker/node_modules/iobroker.binance npm error invalid: iobroker.blink4home@0.1.1 /opt/iobroker/node_modules/iobroker.blink4home npm error invalid: iobroker.bosch-ebike@0.1.7 /opt/iobroker/node_modules/iobroker.bosch-ebike npm error invalid: iobroker.broadlink@0.1.5 /opt/iobroker/node_modules/iobroker.broadlink npm error invalid: iobroker.fully-tablet-control@0.3.3-beta.0 /opt/iobroker/node_modules/iobroker.fully-tablet-control npm error invalid: iobroker.labcom@0.1.4 /opt/iobroker/node_modules/iobroker.labcom npm error invalid: iobroker.life360@0.2.22 /opt/iobroker/node_modules/iobroker.life360 npm error invalid: iobroker.primelab@1.0.2 /opt/iobroker/node_modules/iobroker.primelab npm error invalid: iobroker.repetierserver@0.0.3 /opt/iobroker/node_modules/iobroker.repetierserver npm error invalid: iobroker.sourceanalytix@0.4.15-alpha.1 /opt/iobroker/node_modules/iobroker.sourceanalytix npm error invalid: iobroker.vis-materialdesign@0.5.94 /opt/iobroker/node_modules/iobroker.vis-materialdesign npm error invalid: iobroker.worx@3.1.0 /opt/iobroker/node_modules/iobroker.worx npm error invalid: iobroker.zigbee@1.10.10 /opt/iobroker/node_modules/iobroker.zigbee npm error invalid: zigbee2mqtt@1.27.0 /opt/iobroker/node_modules/zigbee2mqtt npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-11-09T20_47_47_845Z-debug-0.log michael@iobroker:/opt/iobroker$
-
Joh...
Siehste selber, oder?
Installier alle Adapter bei denen das möglich ist eine Version aus einem Repo, NICHT aus GitHub.
Warum haste da eigentlich so viel Alpha-Versions-Zeuch drin? Hast du das alles vom Maintainer zum testen gegeben bekommen? Wenn nein, fahr da stabile Versionen. -
@thomas-braun
Kann ich dir gar nicht sagen. Habe vor 3 -4 Jahren angefangen mit iob. Da versucht man schon einiges Ich werde mir mal die Tage gedanken machen wie ich die Sache angehe.Vielleicht einfach mal bei NULL anfangen und das rüber holen was so geht.
Danke Dir erstmal und schönen Abend noch...
-
Sauber muss das so aussehen:
echad@chet:~ $ cd /opt/iobroker/ && npm ls (node:50931) ExperimentalWarning: CommonJS module /usr/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/lib/node_modules/npm/node_modules/supports-color/index.js using require(). Support for loading ES Module in require() is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) iobroker.inst@3.0.0 /opt/iobroker ├── iobroker.admin@7.2.6 ├── iobroker.alexa2@3.26.7 ├── iobroker.alias-manager@2.0.0 ├── iobroker.awtrix-light@1.3.0 ├── iobroker.backitup@3.0.26 ├── iobroker.cloud@5.0.1 ├── iobroker.devices@1.1.5 ├── iobroker.drops-weather@0.3.1 (git+ssh://git@github.com/inbux/ioBroker.drops-weather.git#608ed1fcbbde3f59b6a09f2f188b92823481ae90) ├── iobroker.echarts@1.9.2 ├── iobroker.firetv@2.1.0 ├── iobroker.followthesun@0.5.1 ├── iobroker.govee-app@0.0.6 (git+ssh://git@github.com/TA2k/ioBroker.govee-app.git#6a0f84cfb34eb3a0ca647c7a519b9d5a48ccfb85) ├── iobroker.govee-local@0.2.7 ├── iobroker.history@3.0.1 ├── iobroker.ical@1.16.1 ├── iobroker.iceroad@1.2.1 ├── iobroker.iot@3.4.3 ├── iobroker.javascript@8.8.3 ├── iobroker.js-controller@7.0.2 ├── iobroker.kisshome-research@1.1.1 ├── iobroker.midea@0.1.0 (git+ssh://git@github.com/TA2k/ioBroker.midea.git#0d037c0c9a025b193546f881f747c8f998bfc724) ├── iobroker.mihome-cloud@0.1.1 ├── iobroker.mihome-vacuum@4.2.0 ├── iobroker.mihome@1.4.0 ├── iobroker.mqtt@6.1.2 ├── iobroker.nina@0.0.26 ├── iobroker.notification-manager@1.3.0 ├── iobroker.nuki-extended@2.7.0 ├── iobroker.nuki@2.0.0 ├── iobroker.nut@1.6.0 ├── iobroker.opendtu@3.0.1 ├── iobroker.openweathermap@1.1.2 ├── iobroker.parcel@0.2.8 ├── iobroker.sainlogic@0.11.4 ├── iobroker.samsung_tizen@1.1.0 ├── iobroker.samsung@0.6.1 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.samsung.git#43d8a6ef3b5af0d6dfe276870f560353d52d0838) ├── iobroker.simple-api@2.8.0 ├── iobroker.switchbot-hub@0.1.2 (git+ssh://git@github.com/DrozmotiX/ioBroker.switchbot-hub.git#7a05fa59dfc5e3ce8d73018badc4e420996452f8) ├── iobroker.tado@0.6.1 ├── iobroker.tankerkoenig@3.4.0 ├── iobroker.tr-064@4.3.0 ├── iobroker.tradfri@3.1.3 ├── iobroker.trashschedule@3.4.0 ├── iobroker.tuya@3.16.0 ├── iobroker.weather-warnings@0.6.7 ├── iobroker.web@6.3.1 ├── iobroker.whatsapp-cmb@0.3.0 └── iobroker.zigbee@1.10.12 echad@chet:/opt/iobroker $
Adapter aus dem GitHub sind nicht invalid und es gibt lediglich Einträge in der Form
iobroker.adaptername@1.2.3