NEWS
Adapter Fehlermeldung nach update - npm ist komisch
-
Guten Morgen,
deinstallation und Installation sind mit Code 0 durchgegangen.Allerdings tauchten diese Meldungen wieder auf:
host.PI250GBUSBC 2024-09-19 09:22:02.460 warn adapter "echarts" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt host.PI250GBUSBC 2024-09-19 09:22:02.459 info system.adapter.echarts.0 will be rebuilt host.PI250GBUSBC 2024-09-19 09:22:02.459 info Adapter system.adapter.echarts.0 needs rebuild and will be restarted afterwards. host.PI250GBUSBC 2024-09-19 09:22:02.459 error instance system.adapter.echarts.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.PI250GBUSBC 2024-09-19 09:22:02.458 error Caught by controller[0]: Node.js v20.17.0 host.PI250GBUSBC 2024-09-19 09:22:02.458 error Caught by controller[0]: } host.PI250GBUSBC 2024-09-19 09:22:02.458 error Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.echarts/main.js' ] host.PI250GBUSBC 2024-09-19 09:22:02.458 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.PI250GBUSBC 2024-09-19 09:22:02.458 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) { host.PI250GBUSBC 2024-09-19 09:22:02.458 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1104:12) host.PI250GBUSBC 2024-09-19 09:22:02.458 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1288:32) host.PI250GBUSBC 2024-09-19 09:22:02.457 error Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) host.PI250GBUSBC 2024-09-19 09:22:02.457 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1469:14) host.PI250GBUSBC 2024-09-19 09:22:02.457 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.echarts/main.js:12:21) host.PI250GBUSBC 2024-09-19 09:22:02.457 error Caught by controller[0]: at require (node:internal/modules/helpers:179:18) host.PI250GBUSBC 2024-09-19 09:22:02.457 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1311:19) host.PI250GBUSBC 2024-09-19 09:22:02.457 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1051:27) host.PI250GBUSBC 2024-09-19 09:22:02.457 error Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15) host.PI250GBUSBC 2024-09-19 09:22:02.457 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.echarts/main.js host.PI250GBUSBC 2024-09-19 09:22:02.457 error Caught by controller[0]: Require stack: host.PI250GBUSBC 2024-09-19 09:22:02.457 error Caught by controller[0]: Error: Cannot find module '@iobroker/adapter-core' host.PI250GBUSBC 2024-09-19 09:22:02.456 error Caught by controller[0]: ^ host.PI250GBUSBC 2024-09-19 09:22:02.456 error Caught by controller[0]: throw err; host.PI250GBUSBC 2024-09-19 09:22:02.456 error Caught by controller[0]: node:internal/modules/cjs/loader:1228
-
@würfel sagte in JS Controller Update Fehlermeldung Adapter falsche Version:
@iobroker/adapter-core
ist missing ... also da ist was komisch ...
Mach mal
cd /opt/iobroker
und dannnpm list @iobroker/adapter-core
-
pi@PI250GBUSBC:/opt/iobroker $ npm list @iobroker/adapter-core iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.admin@7.0.23 │ ├── @iobroker/adapter-core@3.1.6 overridden │ └─┬ @iobroker/socket-classes@1.5.6 │ └── @iobroker/adapter-core@3.1.6 deduped ├─┬ iobroker.backitup@3.0.22 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.botslab360@0.0.2 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.cameras@2.1.2 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.cloud@5.0.1 │ ├── @iobroker/adapter-core@3.1.6 overridden │ └─┬ @iobroker/socket-classes@1.5.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.discovery@5.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.dwd@2.8.5 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.ecoflow@0.0.4 (git+ssh://git@github.com/Newan/ioBroker.ecoflow.git#3280c2dc52b2c6e88a39d142c8cc3d4de5fecf2f) │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.energiefluss@3.6.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.epson_ecotank_et_2750@0.0.12 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.fahrplan@1.2.3 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.fb-checkpresence@1.2.4 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.feiertage@1.2.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.flot@1.12.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.history@3.0.1 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.hm-rega@5.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.hm-rpc@1.17.0 │ ├── @iobroker/adapter-core@3.1.6 overridden │ └─┬ @iobroker/dm-utils@0.1.9 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.homeconnect@1.4.1 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.ical@1.15.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.influxdb@4.0.2 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.info@2.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.javascript@8.7.6 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.luftdaten@4.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.melcloud@2.0.2 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.meteoalarm@3.0.3 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.mihome@1.4.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.nina@0.0.25 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.onvif@1.1.4 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.parcel@0.0.27 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.reolink@1.1.1 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.scenes@3.2.1 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.shelly@7.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.simple-api@2.8.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.smartcontrol@2.0.1 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.smartthings@0.0.4 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.socketio@6.7.1 │ ├── @iobroker/adapter-core@3.1.6 overridden │ └─┬ @iobroker/socket-classes@1.5.6 │ └── @iobroker/adapter-core@3.1.6 deduped ├─┬ iobroker.sourceanalytix@0.4.14 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#b9a3db457ac1a6e1ef4b7ab6edcfddc0388e4b19) │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.sprinklecontrol@0.2.13 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.tankerkoenig@3.4.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.tr-064@4.3.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.trashschedule@3.3.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.tuya@3.16.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.unifi@0.7.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.virtualpowermeter@1.4.6 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-colorpicker@2.0.3 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-history@1.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-icontwo@1.5.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-inventwo@3.3.4 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-metro@1.2.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-plumb@1.0.2 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis@1.5.6 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vw-connect@0.6.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.web@6.2.5 │ ├── @iobroker/adapter-core@3.1.6 overridden │ ├─┬ iobroker.socketio@6.6.1 │ │ └── @iobroker/adapter-core@3.1.6 deduped │ └─┬ iobroker.ws@2.5.11 │ └── @iobroker/adapter-core@3.1.6 deduped ├─┬ iobroker.worx@3.0.2 │ └── @iobroker/adapter-core@3.1.6 overridden └─┬ iobroker.ws@2.6.2 ├── @iobroker/adapter-core@3.1.6 overridden └─┬ @iobroker/socket-classes@1.5.6 └── @iobroker/adapter-core@3.1.6 deduped
-
@würfel Ok dann versuchen wir es mal ganz low level zu fixen. vir allem aber um ggf Logs zu sehen die ausgegeben werden!
cd /opt/iobroker
npm i iobroker.echarts
iob u echarts
Bitte Ausgaben/Logs von allem posten
Danach nochmal das npm list von oben bitte
-
cd /opt/iobroker grep -r "overrides" .
Edit: Okay, das produziert zu viel Output. Lass das mal lieber bleiben.
-
pi@PI250GBUSBC:/opt/iobroker $ npm i iobroker.echarts up to date in 14s 411 packages are looking for funding run `npm fund` for details
pi@PI250GBUSBC:/opt/iobroker $ iob u echarts upload [28] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/asset-manifest.json asset-manifest.json application/json upload [20] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/static/js/main.2b7495c2.js.LICENSE.txt chart/static/js/main.2b7495c2.js.LICENSE.txt text/plain upload [19] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/static/js/main.2b7495c2.js.map chart/static/js/main.2b7495c2.js.map application/json upload [18] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/echarts.png echarts.png image/png upload [17] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/favicon.ico favicon.ico image/vnd.microsoft.icon upload [16] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/manifest.json manifest.json application/json upload [15] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/preview/asset-manifest.json preview/asset-manifest.json application/json upload [14] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/preview/favicon.ico preview/favicon.ico image/vnd.microsoft.icon upload [13] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/preview/index.html preview/index.html text/html upload [12] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/preview/manifest.json preview/manifest.json application/json upload [11] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/preview/static/css/main.e631bfb5.css preview/static/css/main.e631bfb5.css text/css upload [10] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/preview/static/css/main.e631bfb5.css.map preview/static/css/main.e631bfb5.css.map application/json upload [9] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/preview/static/js/main.1b756fe6.js preview/static/js/main.1b756fe6.js application/javascript upload [8] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/preview/static/js/main.1b756fe6.js.LICENSE.txt preview/static/js/main.1b756fe6.js.LICENSE.txt text/plain upload [7] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/preview/static/js/main.1b756fe6.js.map preview/static/js/main.1b756fe6.js.map application/json upload [6] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/static/css/main.610065eb.css static/css/main.610065eb.css text/css upload [5] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/static/css/main.610065eb.css.map static/css/main.610065eb.css.map application/json upload [4] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/static/js/main.245b61c0.js static/js/main.245b61c0.js application/javascript upload [3] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/static/js/main.245b61c0.js.LICENSE.txt static/js/main.245b61c0.js.LICENSE.txt text/plain upload [2] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/static/js/main.245b61c0.js.map static/js/main.245b61c0.js.map application/json upload [1] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/tab.html tab.html text/html upload [0] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/vendor/socket.io.js vendor/socket.io.js application/javascript upload [17] echarts /opt/iobroker/node_modules/iobroker.echarts/www/asset-manifest.json asset-manifest.json application/json upload [16] echarts /opt/iobroker/node_modules/iobroker.echarts/www/favicon.ico favicon.ico image/vnd.microsoft.icon upload [15] echarts /opt/iobroker/node_modules/iobroker.echarts/www/index.html index.html text/html upload [14] echarts /opt/iobroker/node_modules/iobroker.echarts/www/manifest.json manifest.json application/json upload [13] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/asset-manifest.json preview/asset-manifest.json application/json upload [12] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/favicon.ico preview/favicon.ico image/vnd.microsoft.icon upload [11] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/index.html preview/index.html text/html upload [10] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/manifest.json preview/manifest.json application/json upload [9] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/static/css/main.e631bfb5.css preview/static/css/main.e631bfb5.css text/css upload [8] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/static/css/main.e631bfb5.css.map preview/static/css/main.e631bfb5.css.map application/json upload [7] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/static/js/main.1b756fe6.js preview/static/js/main.1b756fe6.js application/javascript upload [6] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/static/js/main.1b756fe6.js.LICENSE.txt preview/static/js/main.1b756fe6.js.LICENSE.txt text/plain upload [5] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/static/js/main.1b756fe6.js.map preview/static/js/main.1b756fe6.js.map application/json upload [4] echarts /opt/iobroker/node_modules/iobroker.echarts/www/static/css/main.e631bfb5.css static/css/main.e631bfb5.css text/css upload [3] echarts /opt/iobroker/node_modules/iobroker.echarts/www/static/css/main.e631bfb5.css.map static/css/main.e631bfb5.css.map application/json upload [2] echarts /opt/iobroker/node_modules/iobroker.echarts/www/static/js/main.2b7495c2.js static/js/main.2b7495c2.js application/javascript upload [1] echarts /opt/iobroker/node_modules/iobroker.echarts/www/static/js/main.2b7495c2.js.LICENSE.txt static/js/main.2b7495c2.js.LICENSE.txt text/plain upload [0] echarts /opt/iobroker/node_modules/iobroker.echarts/www/static/js/main.2b7495c2.js.map static/js/main.2b7495c2.js.map application/json
pi@PI250GBUSBC:~ $ cd /opt/iobroker pi@PI250GBUSBC:/opt/iobroker $ npm list @iobroker/adapter-core iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.admin@7.0.23 │ ├── @iobroker/adapter-core@3.1.6 overridden │ └─┬ @iobroker/socket-classes@1.5.6 │ └── @iobroker/adapter-core@3.1.6 deduped ├─┬ iobroker.backitup@3.0.22 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.botslab360@0.0.2 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.cameras@2.1.2 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.cloud@5.0.1 │ ├── @iobroker/adapter-core@3.1.6 overridden │ └─┬ @iobroker/socket-classes@1.5.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.discovery@5.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.dwd@2.8.5 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.ecoflow@0.0.4 (git+ssh://git@github.com/Newan/ioBroker.ecoflow.git#3280c2dc52b2c6e88a39d142c8cc3d4de5fecf2f) │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.energiefluss@3.6.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.epson_ecotank_et_2750@0.0.12 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.fahrplan@1.2.3 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.fb-checkpresence@1.2.4 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.feiertage@1.2.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.flot@1.12.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.history@3.0.1 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.hm-rega@5.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.hm-rpc@1.17.0 │ ├── @iobroker/adapter-core@3.1.6 overridden │ └─┬ @iobroker/dm-utils@0.1.9 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.homeconnect@1.4.1 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.ical@1.15.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.influxdb@4.0.2 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.info@2.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.javascript@8.7.6 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.luftdaten@4.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.melcloud@2.0.2 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.meteoalarm@3.0.3 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.mihome@1.4.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.nina@0.0.25 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.onvif@1.1.4 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.parcel@0.0.27 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.reolink@1.1.1 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.scenes@3.2.1 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.shelly@7.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.simple-api@2.8.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.smartcontrol@2.0.1 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.smartthings@0.0.4 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.socketio@6.7.1 │ ├── @iobroker/adapter-core@3.1.6 overridden │ └─┬ @iobroker/socket-classes@1.5.6 │ └── @iobroker/adapter-core@3.1.6 deduped ├─┬ iobroker.sourceanalytix@0.4.14 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#b9a3db457ac1a6e1ef4b7ab6edcfddc0388e4b19) │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.sprinklecontrol@0.2.13 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.tankerkoenig@3.4.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.tr-064@4.3.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.trashschedule@3.3.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.tuya@3.16.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.unifi@0.7.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.virtualpowermeter@1.4.6 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-colorpicker@2.0.3 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-history@1.0.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-icontwo@1.5.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-inventwo@3.3.4 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-metro@1.2.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis-plumb@1.0.2 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vis@1.5.6 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.vw-connect@0.6.0 │ └── @iobroker/adapter-core@3.1.6 overridden ├─┬ iobroker.web@6.2.5 │ ├── @iobroker/adapter-core@3.1.6 overridden │ ├─┬ iobroker.socketio@6.6.1 │ │ └── @iobroker/adapter-core@3.1.6 deduped │ └─┬ iobroker.ws@2.5.11 │ └── @iobroker/adapter-core@3.1.6 deduped ├─┬ iobroker.worx@3.0.2 │ └── @iobroker/adapter-core@3.1.6 overridden └─┬ iobroker.ws@2.6.2 ├── @iobroker/adapter-core@3.1.6 overridden └─┬ @iobroker/socket-classes@1.5.6 └── @iobroker/adapter-core@3.1.6 deduped
-
@würfel sagte in JS Controller Update Fehlermeldung Adapter falsche Version:
/opt/iobroker/node_modules/iobroker.echarts
zeig mal was in /opt/iobroker/node_modules/iobroker.echarts ist ... also
ls -la
oder so -
@apollon77 sagte in JS Controller Update Fehlermeldung Adapter falsche Version:
total 124 drwxrwxr-x+ 7 iobroker iobroker 4096 Sep 19 09:21 . drwxrwxr-x+ 1144 iobroker iobroker 36864 Sep 19 10:09 .. drwxrwxr-x+ 6 iobroker iobroker 4096 Sep 19 09:21 admin drwxrwxr-x+ 2 iobroker iobroker 4096 Sep 19 09:21 img -rw-rw-r--+ 1 iobroker iobroker 1 Sep 19 09:21 iob_npm.done -rw-rw-r--+ 1 iobroker iobroker 9237 Sep 19 09:21 io-package.json -rw-rw-r--+ 1 iobroker iobroker 11989 Sep 19 09:21 LICENSE -rw-rw-r--+ 1 iobroker iobroker 13345 Sep 19 09:21 main.js -rw-rw-r--+ 1 iobroker iobroker 2114 Sep 19 09:21 package.json -rw-rw-r--+ 1 iobroker iobroker 9492 Sep 19 09:21 README.md drwxrwxr-x+ 3 iobroker iobroker 4096 Sep 19 09:21 src-chart drwxrwxr-x+ 3 iobroker iobroker 4096 Sep 19 09:21 widgets drwxrwxr-x+ 4 iobroker iobroker 4096 Sep 19 09:21 www
-
@würfel Jetzt starte mal ... kommt fehler immer noch?
-
@apollon77
Hab iobroker gestoppt und gestartethost.PI250GBUSBC 2024-09-19 11:16:22.532 info iobroker rebuild host.PI250GBUSBC 2024-09-19 11:16:22.531 warn adapter "echarts" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt host.PI250GBUSBC 2024-09-19 11:16:22.529 info system.adapter.echarts.0 will be rebuilt host.PI250GBUSBC 2024-09-19 11:16:22.528 info Adapter system.adapter.echarts.0 needs rebuild and will be restarted afterwards. host.PI250GBUSBC 2024-09-19 11:16:22.527 error instance system.adapter.echarts.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.PI250GBUSBC 2024-09-19 11:16:22.527 error Caught by controller[0]: Node.js v20.17.0 host.PI250GBUSBC 2024-09-19 11:16:22.526 error Caught by controller[0]: } host.PI250GBUSBC 2024-09-19 11:16:22.526 error Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.echarts/main.js' ] host.PI250GBUSBC 2024-09-19 11:16:22.526 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.PI250GBUSBC 2024-09-19 11:16:22.525 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) { host.PI250GBUSBC 2024-09-19 11:16:22.525 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1104:12) host.PI250GBUSBC 2024-09-19 11:16:22.524 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1288:32) host.PI250GBUSBC 2024-09-19 11:16:22.524 error Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) host.PI250GBUSBC 2024-09-19 11:16:22.523 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1469:14) host.PI250GBUSBC 2024-09-19 11:16:22.523 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.echarts/main.js:12:21) host.PI250GBUSBC 2024-09-19 11:16:22.522 error Caught by controller[0]: at require (node:internal/modules/helpers:179:18) host.PI250GBUSBC 2024-09-19 11:16:22.521 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1311:19) host.PI250GBUSBC 2024-09-19 11:16:22.520 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1051:27) host.PI250GBUSBC 2024-09-19 11:16:22.520 error Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15) host.PI250GBUSBC 2024-09-19 11:16:22.519 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.echarts/main.js host.PI250GBUSBC 2024-09-19 11:16:22.518 error Caught by controller[0]: Require stack: host.PI250GBUSBC 2024-09-19 11:16:22.518 error Caught by controller[0]: Error: Cannot find module '@iobroker/adapter-core' host.PI250GBUSBC 2024-09-19 11:16:22.518 error Caught by controller[0]: ^ host.PI250GBUSBC 2024-09-19 11:16:22.517 error Caught by controller[0]: throw err; host.PI250GBUSBC 2024-09-19 11:16:22.516 error Caught by controller[0]: node:internal/modules/cjs/loader:1228
-
Also bei Dir hat sich npm aber mal ganz gewaltig verklemmt. AM Ende gibts zwei Optionen:
1.) Zurechfrickeln ... das fixt es ggf jetzt aber wird später wieder/neue issues machen
2.) Sauber fixen.
Was magst?
-
@apollon77
Kann man die Version zurück spielen auf die alte?
Sauber wird wohl heißen Backup einspielen?! -
@würfel Kannst es versuchen aber wird fürchte ich nichts bringen weil dein npm tree komisch/kaputt ist.
Am Ende wenn du die versionsnummer kennst dann wie oben mit dem "npm i iobroker.echarts@x.y.z" die Verison dran hängen (cd ins richtige Dir und upload danach nicht vergessen). Würde mich aber sehr wundern wenn das einen unterschied macht.
-
@apollon77
Das natürlich blöd, wenn einem das System das Update anbietet und dann so schief läuftWas ist die saubere Variante?
-
@würfel lso zuerst nochmal: Ich glaube hier hat sich was in deinem npm tree der gesamten Pakete verklemmt. Das ist als ein sehr lokales Problem und sehr besonders!!!!
Diese ganzen "overrides" in dem npm list sind normalerweise nie so. Da müsste ein Paket ganz oben im Tree liegen und alle anderen haben "deduped" ... Also da ist was bei dir lokal strange ... Grund: unbekannt! Schwierig das auf "iobroker als System" zu schieben
Ok bevor wir anfangen: Wie sieht deine package.json in/opt/iobroker aus?
-
@apollon77
da traut man sich in Zukunft aber langsam nicht mehr updates noch zu machentotal 1024 drwxrwxr-x+ 6 iobroker iobroker 4096 Sep 19 00:53 . drwxr-xr-x 3 root root 4096 Jul 7 2023 .. drwxrwxr-x+ 2 iobroker iobroker 4096 Jul 7 2023 backups -rwxrwxrwx+ 1 iobroker iobroker 445 Sep 19 00:53 INSTALLER_INFO.txt lrwxrwxrwx 1 iobroker iobroker 22 Sep 19 00:53 iob -> /opt/iobroker/iobroker -rwxr-xr-x+ 1 iobroker iobroker 701 Sep 19 00:53 iobroker drwxrwxr-x+ 7 iobroker iobroker 4096 Sep 19 11:15 iobroker-data drwxrwxr-x+ 2 iobroker iobroker 4096 Sep 19 11:30 log drwxrwxr-x+ 1144 iobroker iobroker 36864 Sep 19 10:09 node_modules -rw-rwxr--+ 1 iobroker iobroker 155 Sep 19 00:53 .npmrc -rw-rwxr--+ 1 iobroker iobroker 2599 Sep 19 10:09 package.json -rw-rwxr--+ 1 iobroker iobroker 968612 Sep 19 10:09 package-lock.json
-
@würfel sagte in Adapter Fehlermeldung nach update - npm ist komisch:
da traut man sich in Zukunft aber langsam nicht mehr updates noch zu machen
Puhhh... Wenn Du Dir diese Angst behalten willst viel Spass dabei, ich finde Sie nicht sinnvoll um mal ganz ehrlich zu sein. Ich kann nur sagen das ich diesen Fall hier noch nie gesehen hab. Und das heisst einiges.
Weiterhin kannst Du ja nicht behaupten das dir gerade niemand mit dem Problem hilft ... also wenn es Probleme gibt haben wir Die immer gelöst bekommen.
Ich würde gern den Inhalt der package.json sehen
-
@apollon77
Das möchte ich auch nicht behaupten, nur schreckt es ja auch etwas ab.... Auch wenn der support hier super ist, geht ja für alle Seiten Zeit drauf dabei....Wie kann ich den inhalt anzeigen?
-
@würfel
cat package.json
-
Eben auch gegoogelt nebenbei
{"name":"iobroker.inst","version":"3.0.0","private":true,"description":"Automate your Life","engines":{"node":">=12.0.0"},"dependencies":{"iobroker.admin":"7.0.23","iobroker.backitup":"3.0.22","iobroker.botslab360":"0.0.2","iobroker.cameras":"2.1.2","iobroker.cloud":"5.0.1","iobroker.devices":"1.1.5","iobroker.discovery":"5.0.0","iobroker.dwd":"2.8.5","iobroker.echarts":"^1.7.2","iobroker.ecoflow":"github:Newan/ioBroker.ecoflow#3280c2dc52b2c6e88a39d142c8cc3d4de5fecf2f","iobroker.energiefluss":"3.6.0","iobroker.epson_ecotank_et_2750":"0.0.12","iobroker.fahrplan":"1.2.3","iobroker.fb-checkpresence":"1.2.4","iobroker.feiertage":"1.2.0","iobroker.flot":"1.12.0","iobroker.history":"3.0.1","iobroker.hm-rega":"5.0.0","iobroker.hm-rpc":"1.17.0","iobroker.homeconnect":"1.4.1","iobroker.ical":"1.15.0","iobroker.icons-addictive-flavour-png":"0.1.0","iobroker.icons-fatcow-hosting":"0.1.0","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-smarthome":"1.0.0","iobroker.icons-ultimate-png":"1.0.1","iobroker.influxdb":"4.0.2","iobroker.info":"2.0.0","iobroker.javascript":"8.7.6","iobroker.js-controller":"6.0.11","iobroker.luftdaten":"4.0.0","iobroker.melcloud":"2.0.2","iobroker.meteoalarm":"3.0.3","iobroker.mihome":"1.4.0","iobroker.nina":"0.0.25","iobroker.onvif":"1.1.4","iobroker.parcel":"0.0.27","iobroker.reolink":"1.1.1","iobroker.scenes":"3.2.1","iobroker.shelly":"7.0.0","iobroker.simple-api":"2.8.0","iobroker.smartcontrol":"2.0.1","iobroker.smartthings":"0.0.4","iobroker.socketio":"6.7.1","iobroker.sourceanalytix":"github:DrozmotiX/ioBroker.sourceanalytix#b9a3db457ac1a6e1ef4b7ab6edcfddc0388e4b19","iobroker.sprinklecontrol":"0.2.13","iobroker.tankerkoenig":"3.4.0","iobroker.tr-064":"4.3.0","iobroker.trashschedule":"3.3.0","iobroker.tuya":"3.16.0","iobroker.unifi":"0.7.0","iobroker.virtualpowermeter":"1.4.6","iobroker.vis":"1.5.6","iobroker.vis-bars":"0.1.4","iobroker.vis-colorpicker":"2.0.3","iobroker.vis-fancyswitch":"1.1.0","iobroker.vis-history":"1.0.0","iobroker.vis-hqwidgets":"1.5.1","iobroker.vis-icontwo":"1.5.0","iobroker.vis-inventwo":"3.3.4","iobroker.vis-jqui-mfd":"1.1.1","iobroker.vis-justgage":"2.1.7","iobroker.vis-map":"1.1.2","iobroker.vis-material-advanced":"1.7.4","iobroker.vis-metro":"1.2.0","iobroker.vis-plumb":"1.0.2","iobroker.vis-rgraph":"0.0.2","iobroker.vw-connect":"^0.6.0","iobroker.web":"6.2.5","iobroker.worx":"3.0.2","iobroker.ws":"2.6.2"},"overrides":{"@iobroker/adapter-core":"^3.1.6"}}p