NEWS
npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie
-
@meute sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
@csstools/css-calc
Aus welcher Ecke kommt das denn?
cd /opt/iobroker && npm ls @csstools/css-calc
mal anschauen.
-
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
csstools/css-calc
der github suche nach vom webui adapter
https://github.com/search?q=iobroker+csstools%2Fcss-calc&type=code
-
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
cd /opt/iobroker && npm ls @csstools/css-calc
mal anschauen.
Hier das Ergebnis:
$ cd /opt/iobroker && npm ls @csstools/css-calc iobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.echarts@1.9.2 └─┬ jsdom@25.0.1 └─┬ cssstyle@4.6.0 └─┬ @asamuzakjp/css-color@3.2.0 ├── @csstools/css-calc@2.1.4 └─┬ @csstools/css-color-parser@3.1.0 └── @csstools/css-calc@2.1.4 deduped
-
Dann installier den echarts nochmal drüber oder versuch es mal mit der Beta 2.0.10.
-
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
Dann installier den echarts nochmal drüber
Ich habe
iobroker install
undiobroker upgrade
ausgeführt.
Reicht das? Oder wie muss man drüber installieren?$ iobroker install echarts adapter "echarts" already installed. Use "upgrade" to upgrade to a newer version. $ iobroker upgrade echarts Adapter "echarts" is up to date.
EDIT:
Der npm error beiiob diag
ist noch vorhanden. -
iob upgrade iobroker.echarts@1.9.2 --debug
-
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
iob upgrade iobroker.echarts@1.9.2 --debug
Ich habe den Adapter echarts nun drüber installiert:
$ iob upgrade iobroker.echarts@1.9.2 --debug Would you like to reinstall version 1.9.2 of echarts now? [(y)es, (n)o]: y Update echarts from @1.9.2 to @1.9.2 Uninstall npm packet "iobroker.echarts" for a clean re-installation removed 37 packages in 6s 104 packages are looking for funding run `npm fund` for details NPM version: 11.6.2 Installing iobroker.echarts@1.9.2... (System call) npm warn deprecated npmlog@5.0.1: This package is no longer supported. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported. npm warn deprecated gauge@3.0.2: This package is no longer supported. added 71 packages in 10s 108 packages are looking for funding run `npm fund` for details 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.5fe9c7da.js preview/static/js/main.5fe9c7da.js application/javascript upload [6] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/static/js/main.5fe9c7da.js.LICENSE.txt preview/static/js/main.5fe9c7da.js.LICENSE.txt text/plain upload [5] echarts /opt/iobroker/node_modules/iobroker.echarts/www/preview/static/js/main.5fe9c7da.js.map preview/static/js/main.5fe9c7da.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.41cee985.js static/js/main.41cee985.js application/javascript upload [1] echarts /opt/iobroker/node_modules/iobroker.echarts/www/static/js/main.41cee985.js.LICENSE.txt static/js/main.41cee985.js.LICENSE.txt text/plain upload [0] echarts /opt/iobroker/node_modules/iobroker.echarts/www/static/js/main.41cee985.js.map static/js/main.41cee985.js.map application/json Updating objects from io-package.json for adapter "echarts" with version "1.9.2" upload [16] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/asset-manifest.json chart/asset-manifest.json application/json upload [15] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/favicon.ico chart/favicon.ico image/vnd.microsoft.icon upload [14] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/index.html chart/index.html text/html upload [13] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/manifest.json chart/manifest.json application/json upload [12] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/static/css/main.e631bfb5.css chart/static/css/main.e631bfb5.css text/css upload [11] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/static/css/main.e631bfb5.css.map chart/static/css/main.e631bfb5.css.map application/json upload [10] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/static/js/main.41cee985.js chart/static/js/main.41cee985.js application/javascript upload [9] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/static/js/main.41cee985.js.LICENSE.txt chart/static/js/main.41cee985.js.LICENSE.txt text/plain upload [8] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/chart/static/js/main.41cee985.js.map chart/static/js/main.41cee985.js.map application/json upload [7] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/echarts.png echarts.png image/png upload [6] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/static/css/main.f21b47ed.css static/css/main.f21b47ed.css text/css upload [5] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/static/css/main.f21b47ed.css.map static/css/main.f21b47ed.css.map application/json upload [4] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/static/js/main.70a15e1f.js static/js/main.70a15e1f.js application/javascript upload [3] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/static/js/main.70a15e1f.js.LICENSE.txt static/js/main.70a15e1f.js.LICENSE.txt text/plain upload [2] echarts.admin /opt/iobroker/node_modules/iobroker.echarts/admin/static/js/main.70a15e1f.js.map static/js/main.70a15e1f.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
Leider ist der npm error bei
iob diag
nun größer geworden.$ iob diag *** iob diag is starting up, please wait *** npm error code ELSPROBLEMS npm error extraneous: @mapbox/node-pre-gyp@1.0.11 /opt/iobroker/node_modules/@mapbox/node-pre-gyp npm error extraneous: abbrev@1.1.1 /opt/iobroker/node_modules/abbrev npm error extraneous: aproba@2.1.0 /opt/iobroker/node_modules/aproba npm error extraneous: are-we-there-yet@2.0.0 /opt/iobroker/node_modules/are-we-there-yet npm error extraneous: color-support@1.1.3 /opt/iobroker/node_modules/color-support npm error extraneous: concat-map@0.0.1 /opt/iobroker/node_modules/concat-map npm error extraneous: console-control-strings@1.1.0 /opt/iobroker/node_modules/console-control-strings npm error extraneous: delegates@1.0.0 /opt/iobroker/node_modules/delegates npm error extraneous: detect-libc@2.1.2 /opt/iobroker/node_modules/detect-libc npm error extraneous: gauge@3.0.2 /opt/iobroker/node_modules/gauge npm error extraneous: has-unicode@2.0.1 /opt/iobroker/node_modules/has-unicode npm error extraneous: make-dir@3.1.0 /opt/iobroker/node_modules/make-dir npm error extraneous: mimic-response@2.1.0 /opt/iobroker/node_modules/mimic-response npm error extraneous: nopt@5.0.0 /opt/iobroker/node_modules/nopt npm error extraneous: npmlog@5.0.1 /opt/iobroker/node_modules/npmlog npm error extraneous: path-is-absolute@1.0.1 /opt/iobroker/node_modules/path-is-absolute npm error extraneous: rimraf@3.0.2 /opt/iobroker/node_modules/rimraf npm error extraneous: set-blocking@2.0.0 /opt/iobroker/node_modules/set-blocking npm error extraneous: simple-concat@1.0.1 /opt/iobroker/node_modules/simple-concat npm error extraneous: simple-get@3.1.1 /opt/iobroker/node_modules/simple-get npm error extraneous: wide-align@1.1.5 /opt/iobroker/node_modules/wide-align npm error extraneous: agent-base@6.0.2 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/agent-base npm error extraneous: debug@4.4.3 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/debug npm error extraneous: https-proxy-agent@5.0.1 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/https-proxy-agent npm error extraneous: ms@2.1.3 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/ms npm error extraneous: node-fetch@2.7.0 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/node-fetch npm error extraneous: tr46@0.0.3 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/tr46 npm error extraneous: webidl-conversions@3.0.1 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/webidl-conversions npm error extraneous: whatwg-url@5.0.0 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/whatwg-url npm error extraneous: semver@6.3.1 /opt/iobroker/node_modules/make-dir/node_modules/semver npm error extraneous: brace-expansion@1.1.12 /opt/iobroker/node_modules/rimraf/node_modules/brace-expansion npm error extraneous: glob@7.2.3 /opt/iobroker/node_modules/rimraf/node_modules/glob npm error extraneous: minimatch@3.1.2 /opt/iobroker/node_modules/rimraf/node_modules/minimatch npm error extraneous: decompress-response@4.2.1 /opt/iobroker/node_modules/simple-get/node_modules/decompress-response npm error invalid: buffer@5.7.1 /opt/iobroker/node_modules/buffer npm error missing: @csstools/css-parser-algorithms@^3.0.4, required by @asamuzakjp/css-color@3.2.0 npm error missing: @csstools/css-tokenizer@^3.0.3, required by @asamuzakjp/css-color@3.2.0 npm error missing: @csstools/css-parser-algorithms@^3.0.5, required by @csstools/css-calc@2.1.4 npm error missing: @csstools/css-tokenizer@^3.0.4, required by @csstools/css-calc@2.1.4 npm error missing: @csstools/css-parser-algorithms@^3.0.5, required by @csstools/css-color-parser@3.1.0 npm error missing: @csstools/css-tokenizer@^3.0.4, required by @csstools/css-color-parser@3.1.0 npm error A complete log of this run can be found in: /home/mf/.npm/_logs/2025-10-13T09_23_31_389Z-debug-0.log *** ioBroker Diagnosis *** Please stretch the window of your terminal programm (puTTY) as wide as possible or switch to full screen
-
Dann zieh mal die Beta 2.0.10 rein.
Ich vermute, die Dependencies wurden da mittlerweile angepasst. -
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
Dann zieh mal die Beta 2.0.10 rein.
Ich vermute, die Dependencies wurden da mittlerweile angepasst.Installiert man die Beta auch so?
iob upgrade iobroker.echarts@2.0.10 --debug
-
Ja, sollte funktionieren.
-
@meute sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
Dann zieh mal die Beta 2.0.10 rein.
Ich vermute, die Dependencies wurden da mittlerweile angepasst.Installiert man die Beta auch so?
iob upgrade iobroker.echarts@2.0.10 --debug
Die Installation hat funktioniert.
Aber der Adapter produziert eine Menge Fehler und startet nicht.Log anbei.
EDIT:
Ich installiere lieber wieder 1.9.2.iob upgrade iobroker.echarts@1.9.2 --debug
EDIT2:
Ich bin jetzt außer Haus kann mich erst später wieder melden, falls Du antwortest. -
-
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
Das log kann man sich per
iob logs
anschauen.
Dann hier das richtige Log mit
iob logs
.2025-10-13 12:08:50.391 - info: host.iobroker84 stopInstance system.adapter.echarts.0 (force=false, process=true) 2025-10-13 12:08:50.399 - info: echarts.0 (1850) Got terminate signal TERMINATE_YOURSELF 2025-10-13 12:08:50.441 - info: host.iobroker84 stopInstance system.adapter.echarts.0 send kill signal 2025-10-13 12:08:50.918 - info: echarts.0 (1850) terminating 2025-10-13 12:08:50.919 - info: echarts.0 (1850) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2025-10-13 12:08:51.441 - info: host.iobroker84 stopInstance timeout system.adapter.echarts.0 killing pid 1850 2025-10-13 12:08:51.478 - info: host.iobroker84 instance system.adapter.echarts.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2025-10-13 12:08:54.802 - info: host.iobroker84 instance system.adapter.echarts.0 in version "2.0.10" started with pid 3802 2025-10-13 12:08:55.727 - error: host.iobroker84 Caught by controller[0]: node:internal/modules/cjs/loader:1386 2025-10-13 12:08:55.727 - error: host.iobroker84 Caught by controller[0]: throw err; 2025-10-13 12:08:55.727 - error: host.iobroker84 Caught by controller[0]: ^ 2025-10-13 12:08:55.727 - error: host.iobroker84 Caught by controller[0]: Error: Cannot find module 'canvas' 2025-10-13 12:08:55.727 - error: host.iobroker84 Caught by controller[0]: Require stack: 2025-10-13 12:08:55.727 - error: host.iobroker84 Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js 2025-10-13 12:08:55.728 - error: host.iobroker84 Caught by controller[0]: at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15) 2025-10-13 12:08:55.728 - error: host.iobroker84 Caught by controller[0]: at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 2025-10-13 12:08:55.728 - error: host.iobroker84 Caught by controller[0]: at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) 2025-10-13 12:08:55.728 - error: host.iobroker84 Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1192:37) 2025-10-13 12:08:55.728 - error: host.iobroker84 Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:322:14) 2025-10-13 12:08:55.728 - error: host.iobroker84 Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 2025-10-13 12:08:55.728 - error: host.iobroker84 Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) 2025-10-13 12:08:55.728 - error: host.iobroker84 Caught by controller[0]: at require (node:internal/modules/helpers:147:16) 2025-10-13 12:08:55.728 - error: host.iobroker84 Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js:29:18) 2025-10-13 12:08:55.729 - error: host.iobroker84 Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) { 2025-10-13 12:08:55.729 - error: host.iobroker84 Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2025-10-13 12:08:55.729 - error: host.iobroker84 Caught by controller[0]: requireStack: [ 2025-10-13 12:08:55.729 - error: host.iobroker84 Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js' 2025-10-13 12:08:55.729 - error: host.iobroker84 Caught by controller[0]: ] 2025-10-13 12:08:55.729 - error: host.iobroker84 Caught by controller[0]: } 2025-10-13 12:08:55.729 - error: host.iobroker84 Caught by controller[0]: Node.js v22.20.0 2025-10-13 12:08:55.729 - error: host.iobroker84 instance system.adapter.echarts.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2025-10-13 12:08:55.729 - info: host.iobroker84 Adapter system.adapter.echarts.0 needs rebuild and will be restarted afterwards. 2025-10-13 12:08:55.730 - info: host.iobroker84 system.adapter.echarts.0 will be rebuilt 2025-10-13 12:08:55.730 - warn: host.iobroker84 adapter "echarts" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt 2025-10-13 12:08:55.731 - info: host.iobroker84 iobroker rebuild 2025-10-13 12:08:56.624 - info: host.iobroker84 iobroker npm-rebuild: Rebuilding native modules ... 2025-10-13 12:09:14.147 - info: admin.0 (1598) ==> Connected system.user.admin from ::ffff:192.168.23.27 2025-10-13 12:09:20.769 - info: host.iobroker84 iobroker npm-rebuild: rebuilt dependencies successfully 2025-10-13 12:09:20.796 - info: host.iobroker84 iobroker npm-rebuild: 2025-10-13 12:09:20.797 - info: host.iobroker84 iobroker npm-rebuild: Rebuilding native modules done 2025-10-13 12:09:21.809 - info: host.iobroker84 iobroker npm-rebuild: exit 0 2025-10-13 12:09:22.198 - info: host.iobroker84 instance system.adapter.echarts.0 in version "2.0.10" started with pid 4060 2025-10-13 12:09:23.079 - error: host.iobroker84 Caught by controller[0]: node:internal/modules/cjs/loader:1386 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: throw err; 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: ^ 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: Error: Cannot find module 'canvas' 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: Require stack: 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15) 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1192:37) 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:322:14) 2025-10-13 12:09:23.080 - error: host.iobroker84 Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 2025-10-13 12:09:23.081 - error: host.iobroker84 Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) 2025-10-13 12:09:23.081 - error: host.iobroker84 Caught by controller[0]: at require (node:internal/modules/helpers:147:16) 2025-10-13 12:09:23.081 - error: host.iobroker84 Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js:29:18) 2025-10-13 12:09:23.081 - error: host.iobroker84 Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) { 2025-10-13 12:09:23.081 - error: host.iobroker84 Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2025-10-13 12:09:23.081 - error: host.iobroker84 Caught by controller[0]: requireStack: [ 2025-10-13 12:09:23.081 - error: host.iobroker84 Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js' 2025-10-13 12:09:23.081 - error: host.iobroker84 Caught by controller[0]: ] 2025-10-13 12:09:23.081 - error: host.iobroker84 Caught by controller[0]: } 2025-10-13 12:09:23.081 - error: host.iobroker84 Caught by controller[0]: Node.js v22.20.0 2025-10-13 12:09:23.081 - error: host.iobroker84 instance system.adapter.echarts.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2025-10-13 12:09:23.081 - info: host.iobroker84 Adapter system.adapter.echarts.0 needs rebuild and will be restarted afterwards. 2025-10-13 12:09:23.082 - info: host.iobroker84 system.adapter.echarts.0 will be rebuilt 2025-10-13 12:09:23.082 - warn: host.iobroker84 adapter "echarts" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt 2025-10-13 12:09:23.082 - info: host.iobroker84 iobroker rebuild 2025-10-13 12:09:23.972 - info: host.iobroker84 iobroker npm-rebuild: Rebuilding native modules ... 2025-10-13 12:09:40.440 - info: host.iobroker84 iobroker npm-rebuild: rebuilt dependencies successfully 2025-10-13 12:09:40.469 - info: host.iobroker84 iobroker npm-rebuild: 2025-10-13 12:09:40.469 - info: host.iobroker84 iobroker npm-rebuild: Rebuilding native modules done 2025-10-13 12:09:41.482 - info: host.iobroker84 iobroker npm-rebuild: exit 0 2025-10-13 12:09:41.861 - info: host.iobroker84 instance system.adapter.echarts.0 in version "2.0.10" started with pid 4306 2025-10-13 12:09:42.771 - error: host.iobroker84 Caught by controller[0]: node:internal/modules/cjs/loader:1386 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: throw err; 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: ^ 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: Error: Cannot find module 'canvas' 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: Require stack: 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15) 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1192:37) 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:322:14) 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) 2025-10-13 12:09:42.772 - error: host.iobroker84 Caught by controller[0]: at require (node:internal/modules/helpers:147:16) 2025-10-13 12:09:42.773 - error: host.iobroker84 Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js:29:18) 2025-10-13 12:09:42.773 - error: host.iobroker84 Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) { 2025-10-13 12:09:42.773 - error: host.iobroker84 Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2025-10-13 12:09:42.773 - error: host.iobroker84 Caught by controller[0]: requireStack: [ 2025-10-13 12:09:42.773 - error: host.iobroker84 Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js' 2025-10-13 12:09:42.773 - error: host.iobroker84 Caught by controller[0]: ] 2025-10-13 12:09:42.773 - error: host.iobroker84 Caught by controller[0]: } 2025-10-13 12:09:42.773 - error: host.iobroker84 Caught by controller[0]: Node.js v22.20.0 2025-10-13 12:09:42.773 - error: host.iobroker84 instance system.adapter.echarts.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2025-10-13 12:09:42.773 - info: host.iobroker84 Adapter system.adapter.echarts.0 needs rebuild and will be restarted afterwards. 2025-10-13 12:09:42.773 - info: host.iobroker84 system.adapter.echarts.0 will be rebuilt 2025-10-13 12:09:42.773 - warn: host.iobroker84 adapter "echarts" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt 2025-10-13 12:09:42.774 - info: host.iobroker84 iobroker rebuild 2025-10-13 12:09:43.649 - info: host.iobroker84 iobroker npm-rebuild: Rebuilding native modules ... 2025-10-13 12:09:59.744 - info: host.iobroker84 iobroker npm-rebuild: rebuilt dependencies successfully 2025-10-13 12:09:59.773 - info: host.iobroker84 iobroker npm-rebuild: 2025-10-13 12:09:59.774 - info: host.iobroker84 iobroker npm-rebuild: Rebuilding native modules done 2025-10-13 12:10:00.790 - info: host.iobroker84 iobroker npm-rebuild: exit 0 2025-10-13 12:10:01.155 - info: host.iobroker84 instance system.adapter.echarts.0 in version "2.0.10" started with pid 4536 2025-10-13 12:10:02.102 - error: host.iobroker84 Caught by controller[0]: node:internal/modules/cjs/loader:1386 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: throw err; 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: ^ 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: Error: Cannot find module 'canvas' 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: Require stack: 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15) 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1192:37) 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:322:14) 2025-10-13 12:10:02.103 - error: host.iobroker84 Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 2025-10-13 12:10:02.104 - error: host.iobroker84 Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) 2025-10-13 12:10:02.104 - error: host.iobroker84 Caught by controller[0]: at require (node:internal/modules/helpers:147:16) 2025-10-13 12:10:02.104 - error: host.iobroker84 Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js:29:18) 2025-10-13 12:10:02.104 - error: host.iobroker84 Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) { 2025-10-13 12:10:02.104 - error: host.iobroker84 Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2025-10-13 12:10:02.104 - error: host.iobroker84 Caught by controller[0]: requireStack: [ 2025-10-13 12:10:02.104 - error: host.iobroker84 Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js' 2025-10-13 12:10:02.104 - error: host.iobroker84 Caught by controller[0]: ] 2025-10-13 12:10:02.104 - error: host.iobroker84 Caught by controller[0]: } 2025-10-13 12:10:02.104 - error: host.iobroker84 Caught by controller[0]: Node.js v22.20.0 2025-10-13 12:10:02.104 - error: host.iobroker84 instance system.adapter.echarts.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2025-10-13 12:10:02.105 - info: host.iobroker84 Rebuild for adapter system.adapter.echarts.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually. 2025-10-13 12:10:06.604 - info: host.iobroker84 instance system.adapter.echarts.0 in version "2.0.10" started with pid 4543 2025-10-13 12:10:07.492 - error: host.iobroker84 Caught by controller[0]: node:internal/modules/cjs/loader:1386 2025-10-13 12:10:07.492 - error: host.iobroker84 Caught by controller[0]: throw err; 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: ^ 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: Error: Cannot find module 'canvas' 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: Require stack: 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15) 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1192:37) 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:322:14) 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: at require (node:internal/modules/helpers:147:16) 2025-10-13 12:10:07.493 - error: host.iobroker84 Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js:29:18) 2025-10-13 12:10:07.494 - error: host.iobroker84 Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) { 2025-10-13 12:10:07.494 - error: host.iobroker84 Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2025-10-13 12:10:07.494 - error: host.iobroker84 Caught by controller[0]: requireStack: [ 2025-10-13 12:10:07.494 - error: host.iobroker84 Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js' 2025-10-13 12:10:07.494 - error: host.iobroker84 Caught by controller[0]: ] 2025-10-13 12:10:07.494 - error: host.iobroker84 Caught by controller[0]: } 2025-10-13 12:10:07.494 - error: host.iobroker84 Caught by controller[0]: Node.js v22.20.0 2025-10-13 12:10:07.494 - error: host.iobroker84 instance system.adapter.echarts.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2025-10-13 12:10:07.494 - info: host.iobroker84 Rebuild for adapter system.adapter.echarts.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually. 2025-10-13 12:10:17.295 - info: host.iobroker84 instance system.adapter.echarts.0 in version "2.0.10" started with pid 4550 2025-10-13 12:10:18.192 - error: host.iobroker84 Caught by controller[0]: node:internal/modules/cjs/loader:1386 2025-10-13 12:10:18.192 - error: host.iobroker84 Caught by controller[0]: throw err; 2025-10-13 12:10:18.192 - error: host.iobroker84 Caught by controller[0]: ^ 2025-10-13 12:10:18.193 - error: host.iobroker84 Caught by controller[0]: Error: Cannot find module 'canvas' 2025-10-13 12:10:18.193 - error: host.iobroker84 Caught by controller[0]: Require stack: 2025-10-13 12:10:18.193 - error: host.iobroker84 Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js 2025-10-13 12:10:18.193 - error: host.iobroker84 Caught by controller[0]: at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15) 2025-10-13 12:10:18.193 - error: host.iobroker84 Caught by controller[0]: at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 2025-10-13 12:10:18.193 - error: host.iobroker84 Caught by controller[0]: at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) 2025-10-13 12:10:18.193 - error: host.iobroker84 Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1192:37) 2025-10-13 12:10:18.193 - error: host.iobroker84 Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:322:14) 2025-10-13 12:10:18.194 - error: host.iobroker84 Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 2025-10-13 12:10:18.194 - error: host.iobroker84 Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) 2025-10-13 12:10:18.194 - error: host.iobroker84 Caught by controller[0]: at require (node:internal/modules/helpers:147:16) 2025-10-13 12:10:18.194 - error: host.iobroker84 Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js:29:18) 2025-10-13 12:10:18.194 - error: host.iobroker84 Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) { 2025-10-13 12:10:18.194 - error: host.iobroker84 Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2025-10-13 12:10:18.194 - error: host.iobroker84 Caught by controller[0]: requireStack: [ 2025-10-13 12:10:18.194 - error: host.iobroker84 Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js' 2025-10-13 12:10:18.194 - error: host.iobroker84 Caught by controller[0]: ] 2025-10-13 12:10:18.195 - error: host.iobroker84 Caught by controller[0]: } 2025-10-13 12:10:18.195 - error: host.iobroker84 Caught by controller[0]: Node.js v22.20.0 2025-10-13 12:10:18.195 - error: host.iobroker84 instance system.adapter.echarts.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2025-10-13 12:10:18.195 - info: host.iobroker84 Rebuild for adapter system.adapter.echarts.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually. 2025-10-13 12:10:18.526 - info: host.iobroker84 "system.adapter.echarts.0" disabled 2025-10-13 12:10:20.582 - info: host.iobroker84 "system.adapter.echarts.0" enabled 2025-10-13 12:10:21.027 - info: host.iobroker84 instance system.adapter.echarts.0 in version "2.0.10" started with pid 4557 2025-10-13 12:10:21.952 - error: host.iobroker84 Caught by controller[0]: node:internal/modules/cjs/loader:1386 2025-10-13 12:10:21.952 - error: host.iobroker84 Caught by controller[0]: throw err; 2025-10-13 12:10:21.952 - error: host.iobroker84 Caught by controller[0]: ^ 2025-10-13 12:10:21.952 - error: host.iobroker84 Caught by controller[0]: Error: Cannot find module 'canvas' 2025-10-13 12:10:21.953 - error: host.iobroker84 Caught by controller[0]: Require stack: 2025-10-13 12:10:21.953 - error: host.iobroker84 Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js 2025-10-13 12:10:21.953 - error: host.iobroker84 Caught by controller[0]: at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15) 2025-10-13 12:10:21.953 - error: host.iobroker84 Caught by controller[0]: at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 2025-10-13 12:10:21.953 - error: host.iobroker84 Caught by controller[0]: at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) 2025-10-13 12:10:21.953 - error: host.iobroker84 Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1192:37) 2025-10-13 12:10:21.953 - error: host.iobroker84 Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:322:14) 2025-10-13 12:10:21.954 - error: host.iobroker84 Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 2025-10-13 12:10:21.954 - error: host.iobroker84 Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) 2025-10-13 12:10:21.954 - error: host.iobroker84 Caught by controller[0]: at require (node:internal/modules/helpers:147:16) 2025-10-13 12:10:21.954 - error: host.iobroker84 Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js:29:18) 2025-10-13 12:10:21.954 - error: host.iobroker84 Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) { 2025-10-13 12:10:21.954 - error: host.iobroker84 Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2025-10-13 12:10:21.954 - error: host.iobroker84 Caught by controller[0]: requireStack: [ 2025-10-13 12:10:21.954 - error: host.iobroker84 Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js' 2025-10-13 12:10:21.954 - error: host.iobroker84 Caught by controller[0]: ] 2025-10-13 12:10:21.955 - error: host.iobroker84 Caught by controller[0]: } 2025-10-13 12:10:21.955 - error: host.iobroker84 Caught by controller[0]: Node.js v22.20.0 2025-10-13 12:10:21.955 - error: host.iobroker84 instance system.adapter.echarts.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2025-10-13 12:10:21.955 - info: host.iobroker84 Rebuild for adapter system.adapter.echarts.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually. 2025-10-13 12:11:04.014 - info: host.iobroker84 "system.adapter.echarts.0" disabled 2025-10-13 12:14:28.139 - info: host.iobroker84 "system.adapter.echarts.0" enabled 2025-10-13 12:14:28.607 - info: host.iobroker84 instance system.adapter.echarts.0 in version "2.0.10" started with pid 4570 2025-10-13 12:14:29.498 - error: host.iobroker84 Caught by controller[0]: node:internal/modules/cjs/loader:1386 2025-10-13 12:14:29.499 - error: host.iobroker84 Caught by controller[0]: throw err; 2025-10-13 12:14:29.499 - error: host.iobroker84 Caught by controller[0]: ^ 2025-10-13 12:14:29.499 - error: host.iobroker84 Caught by controller[0]: Error: Cannot find module 'canvas' 2025-10-13 12:14:29.499 - error: host.iobroker84 Caught by controller[0]: Require stack: 2025-10-13 12:14:29.499 - error: host.iobroker84 Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js 2025-10-13 12:14:29.499 - error: host.iobroker84 Caught by controller[0]: at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15) 2025-10-13 12:14:29.499 - error: host.iobroker84 Caught by controller[0]: at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 2025-10-13 12:14:29.499 - error: host.iobroker84 Caught by controller[0]: at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) 2025-10-13 12:14:29.500 - error: host.iobroker84 Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1192:37) 2025-10-13 12:14:29.500 - error: host.iobroker84 Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:322:14) 2025-10-13 12:14:29.500 - error: host.iobroker84 Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 2025-10-13 12:14:29.500 - error: host.iobroker84 Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) 2025-10-13 12:14:29.500 - error: host.iobroker84 Caught by controller[0]: at require (node:internal/modules/helpers:147:16) 2025-10-13 12:14:29.500 - error: host.iobroker84 Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js:29:18) 2025-10-13 12:14:29.500 - error: host.iobroker84 Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) { 2025-10-13 12:14:29.500 - error: host.iobroker84 Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2025-10-13 12:14:29.500 - error: host.iobroker84 Caught by controller[0]: requireStack: [ 2025-10-13 12:14:29.500 - error: host.iobroker84 Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.echarts/build-backend/main.js' 2025-10-13 12:14:29.501 - error: host.iobroker84 Caught by controller[0]: ] 2025-10-13 12:14:29.501 - error: host.iobroker84 Caught by controller[0]: } 2025-10-13 12:14:29.501 - error: host.iobroker84 Caught by controller[0]: Node.js v22.20.0 2025-10-13 12:14:29.501 - error: host.iobroker84 instance system.adapter.echarts.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2025-10-13 12:14:29.501 - info: host.iobroker84 Rebuild for adapter system.adapter.echarts.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
-
@meute sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
2025-10-13 12:08:55.727 - error: host.iobroker84 Caught by controller[0]: Error: Cannot find module 'canvas' 2025-10-13 12:08:55.730 - warn: host.iobroker84 adapter "echarts" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt 2025-10-13 12:08:55.731 - info: host.iobroker84 iobroker rebuild 2025-10-13 12:08:56.624 - info: host.iobroker84 iobroker npm-rebuild: Rebuilding native modules ... 2025-10-13 12:09:14.147 - info: admin.0 (1598) ==> Connected system.user.admin from ::ffff:192.168.23.27 2025-10-13 12:09:20.769 - info: host.iobroker84 iobroker npm-rebuild: rebuilt dependencies successfully 2025-10-13 12:09:20.796 - info: host.iobroker84 iobroker npm-rebuild: 2025-10-13 12:09:20.797 - info: host.iobroker84 iobroker npm-rebuild: Rebuilding native modules done 2025-10-13 12:09:21.809 - info: host.iobroker84 iobroker npm-rebuild: exit 0
Da kann ein Modul (vermutlich canvas) nicht richtig gebaut werden.
cd /opt/iobroker && npm ls canvas
mal anschauen.
Und dann vielleicht im Verzeichnis des Adaptersnpm install --omit=dev
ausführen.
-
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
Da kann ein Modul (vermutlich canvas) nicht richtig gebaut werden.
cd /opt/iobroker && npm ls canvas
mal anschauen.
Ergebnis:
$ cd /opt/iobroker && npm ls canvas iobroker.inst@3.0.0 /opt/iobroker └── (empty)
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
Und dann vielleicht im Verzeichnis des Adapters
npm install --omit=dev
ausführen.
Meinst Du diesen Ordner?
$ ls -lh /opt/iobroker/iobroker-data/files/echarts insgesamt 152K -rw-rw-r--+ 1 iobroker iobroker 11K 13. Okt 12:15 asset-manifest.json drwxrwxr-x+ 2 iobroker iobroker 4,0K 13. Okt 12:15 assets -rw-rw-r--+ 1 iobroker iobroker 4,0K 13. Okt 12:15 _data.json -rw-rw-r--+ 1 iobroker iobroker 115K 13. Okt 12:15 favicon.ico -rw-rw-r--+ 1 iobroker iobroker 690 13. Okt 12:15 index.html -rw-rw-r--+ 1 iobroker iobroker 313 13. Okt 12:15 manifest.json drwxrwxr-x+ 4 iobroker iobroker 4,0K 13. Okt 12:15 preview drwxrwxr-x+ 4 iobroker iobroker 4,0K 3. Okt 15:03 static
Hier soll ich
npm install --omit=dev
ausführen.
Kann ich mir damit was kaputt machen?EDIT:
Aber eigentlich müsste dernpm error
doch bei jedem vorhanden sein, der den Adapterecharts
installiert hat.
Oder verstehe ich hier was falsch? -
Meinst Du diesen Ordner?
Das richtige Verzeichnis ist
/opt/iobroker/node_modules/iobroker.echarts/
Aber eigentlich müsste der npm error doch bei jedem vorhanden sein, der den Adapter echarts installiert hat.
Oder verstehe ich hier was falsch?Nein, wenn der Adapter bzw. das Modul gebaut werden kann dann hat man auch keinen Fehler.
Bei mir ist der Adapter z. B. sauber installiert worden. -
Da sollte so ähnlich eigentlich aussehen:
echad@chet:/opt/iobroker $ node -v v24.10.0 echad@chet:/opt/iobroker $ npm ls canvas iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.echarts@2.0.10 │ ├── canvas@3.2.0 │ └─┬ jsdom@26.1.0 │ └── canvas@3.2.0 deduped ├─┬ iobroker.mihome-vacuum@5.3.0 │ └── canvas@3.2.0 deduped └─┬ iobroker.parcel@0.2.10 └─┬ jsdom@25.0.1 └── canvas@3.2.0 deduped invalid: "^2.11.2" from node_modules/iobroker.parcel/node_modules/jsdom npm error code ELSPROBLEMS npm error invalid: canvas@3.2.0 /opt/iobroker/node_modules/canvas npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-10-13T16_27_05_147Z-debug-0.log
Der Error bei parcel ist was anderes. Aber hier baut canvas sogar mit nodejs@24. Würde aber mit nodejs@22 auch nicht anders aussehen.
-
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
Das richtige Verzeichnis ist
/opt/iobroker/node_modules/iobroker.echarts/
Ich habe
npm install --omit=dev
ausgeführt.$ cd /opt/iobroker/node_modules/iobroker.echarts/ /opt/iobroker/node_modules/iobroker.echarts $ npm install --omit=dev npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated npmlog@5.0.1: This package is no longer supported. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported. npm warn deprecated gauge@3.0.2: This package is no longer supported. added 128 packages, and audited 129 packages in 2m 18 packages are looking for funding run `npm fund` for details found 0 vulnerabilities
Ergebnis
cd /opt/iobroker && npm ls canvas
:$ cd /opt/iobroker && npm ls canvas iobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.echarts@1.9.2 ├── canvas@2.11.2 └─┬ jsdom@25.0.1 └── canvas@2.11.2 deduped
Der
npm error
beiiob diag
ist noch größer geworden.$ iob diag *** iob diag is starting up, please wait *** npm error code ELSPROBLEMS npm error extraneous: @asamuzakjp/css-color@3.2.0 /opt/iobroker/node_modules/@asamuzakjp/css-color npm error extraneous: @csstools/color-helpers@5.1.0 /opt/iobroker/node_modules/@csstools/color-helpers npm error extraneous: @csstools/css-calc@2.1.4 /opt/iobroker/node_modules/@csstools/css-calc npm error extraneous: @csstools/css-color-parser@3.1.0 /opt/iobroker/node_modules/@csstools/css-color-parser npm error extraneous: @mapbox/node-pre-gyp@1.0.11 /opt/iobroker/node_modules/@mapbox/node-pre-gyp npm error extraneous: abbrev@1.1.1 /opt/iobroker/node_modules/abbrev npm error extraneous: aproba@2.1.0 /opt/iobroker/node_modules/aproba npm error extraneous: are-we-there-yet@2.0.0 /opt/iobroker/node_modules/are-we-there-yet npm error extraneous: color-support@1.1.3 /opt/iobroker/node_modules/color-support npm error extraneous: concat-map@0.0.1 /opt/iobroker/node_modules/concat-map npm error extraneous: console-control-strings@1.1.0 /opt/iobroker/node_modules/console-control-strings npm error extraneous: cssstyle@4.6.0 /opt/iobroker/node_modules/cssstyle npm error extraneous: data-urls@5.0.0 /opt/iobroker/node_modules/data-urls npm error extraneous: decimal.js@10.6.0 /opt/iobroker/node_modules/decimal.js npm error extraneous: delegates@1.0.0 /opt/iobroker/node_modules/delegates npm error extraneous: detect-libc@2.1.2 /opt/iobroker/node_modules/detect-libc npm error extraneous: echarts@5.6.0 /opt/iobroker/node_modules/echarts npm error extraneous: gauge@3.0.2 /opt/iobroker/node_modules/gauge npm error extraneous: has-unicode@2.0.1 /opt/iobroker/node_modules/has-unicode npm error extraneous: html-encoding-sniffer@4.0.0 /opt/iobroker/node_modules/html-encoding-sniffer npm error extraneous: http-proxy-agent@7.0.2 /opt/iobroker/node_modules/http-proxy-agent npm error extraneous: is-potential-custom-element-name@1.0.1 /opt/iobroker/node_modules/is-potential-custom-element-name npm error extraneous: jsdom@25.0.1 /opt/iobroker/node_modules/jsdom npm error extraneous: make-dir@3.1.0 /opt/iobroker/node_modules/make-dir npm error extraneous: mimic-response@2.1.0 /opt/iobroker/node_modules/mimic-response npm error extraneous: nopt@5.0.0 /opt/iobroker/node_modules/nopt npm error extraneous: npmlog@5.0.1 /opt/iobroker/node_modules/npmlog npm error extraneous: nwsapi@2.2.22 /opt/iobroker/node_modules/nwsapi npm error extraneous: parse5@7.3.0 /opt/iobroker/node_modules/parse5 npm error extraneous: path-is-absolute@1.0.1 /opt/iobroker/node_modules/path-is-absolute npm error extraneous: rimraf@3.0.2 /opt/iobroker/node_modules/rimraf npm error extraneous: rrweb-cssom@0.7.1 /opt/iobroker/node_modules/rrweb-cssom npm error extraneous: saxes@6.0.0 /opt/iobroker/node_modules/saxes npm error extraneous: set-blocking@2.0.0 /opt/iobroker/node_modules/set-blocking npm error extraneous: simple-concat@1.0.1 /opt/iobroker/node_modules/simple-concat npm error extraneous: symbol-tree@3.2.4 /opt/iobroker/node_modules/symbol-tree npm error extraneous: tldts-core@6.1.86 /opt/iobroker/node_modules/tldts-core npm error extraneous: tldts@6.1.86 /opt/iobroker/node_modules/tldts npm error extraneous: tr46@5.1.1 /opt/iobroker/node_modules/tr46 npm error extraneous: w3c-xmlserializer@5.0.0 /opt/iobroker/node_modules/w3c-xmlserializer npm error extraneous: webidl-conversions@7.0.0 /opt/iobroker/node_modules/webidl-conversions npm error extraneous: whatwg-encoding@3.1.1 /opt/iobroker/node_modules/whatwg-encoding npm error extraneous: whatwg-mimetype@4.0.0 /opt/iobroker/node_modules/whatwg-mimetype npm error invalid: whatwg-url@14.2.0 /opt/iobroker/node_modules/whatwg-url npm error extraneous: whatwg-url@14.2.0 /opt/iobroker/node_modules/whatwg-url npm error extraneous: wide-align@1.1.5 /opt/iobroker/node_modules/wide-align npm error extraneous: xml-name-validator@5.0.0 /opt/iobroker/node_modules/xml-name-validator npm error extraneous: xmlchars@2.2.0 /opt/iobroker/node_modules/xmlchars npm error extraneous: zrender@5.6.1 /opt/iobroker/node_modules/zrender npm error missing: @csstools/css-parser-algorithms@^3.0.4, required by @asamuzakjp/css-color@3.2.0 npm error missing: @csstools/css-tokenizer@^3.0.3, required by @asamuzakjp/css-color@3.2.0 npm error extraneous: lru-cache@10.4.3 /opt/iobroker/node_modules/@asamuzakjp/css-color/node_modules/lru-cache npm error missing: @csstools/css-parser-algorithms@^3.0.5, required by @csstools/css-calc@2.1.4 npm error missing: @csstools/css-tokenizer@^3.0.4, required by @csstools/css-calc@2.1.4 npm error missing: @csstools/css-parser-algorithms@^3.0.5, required by @csstools/css-color-parser@3.1.0 npm error missing: @csstools/css-tokenizer@^3.0.4, required by @csstools/css-color-parser@3.1.0 npm error extraneous: agent-base@6.0.2 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/agent-base npm error extraneous: debug@4.4.3 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/debug npm error extraneous: https-proxy-agent@5.0.1 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/https-proxy-agent npm error extraneous: ms@2.1.3 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/ms npm error extraneous: node-fetch@2.7.0 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/node-fetch npm error extraneous: tr46@0.0.3 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/tr46 npm error extraneous: webidl-conversions@3.0.1 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/webidl-conversions npm error extraneous: whatwg-url@5.0.0 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/whatwg-url npm error extraneous: rrweb-cssom@0.8.0 /opt/iobroker/node_modules/cssstyle/node_modules/rrweb-cssom npm error extraneous: tslib@2.3.0 /opt/iobroker/node_modules/echarts/node_modules/tslib npm error extraneous: debug@4.4.3 /opt/iobroker/node_modules/http-proxy-agent/node_modules/debug npm error extraneous: ms@2.1.3 /opt/iobroker/node_modules/http-proxy-agent/node_modules/ms npm error extraneous: tough-cookie@5.1.2 /opt/iobroker/node_modules/jsdom/node_modules/tough-cookie npm error extraneous: semver@6.3.1 /opt/iobroker/node_modules/make-dir/node_modules/semver npm error extraneous: brace-expansion@1.1.12 /opt/iobroker/node_modules/rimraf/node_modules/brace-expansion npm error extraneous: glob@7.2.3 /opt/iobroker/node_modules/rimraf/node_modules/glob npm error extraneous: minimatch@3.1.2 /opt/iobroker/node_modules/rimraf/node_modules/minimatch npm error extraneous: iconv-lite@0.6.3 /opt/iobroker/node_modules/whatwg-encoding/node_modules/iconv-lite npm error extraneous: tslib@2.3.0 /opt/iobroker/node_modules/zrender/node_modules/tslib npm error invalid: buffer@5.7.1 /opt/iobroker/node_modules/buffer npm error A complete log of this run can be found in: /home/mf/.npm/_logs/2025-10-13T16_46_12_186Z-debug-0.log *** ioBroker Diagnosis *** Please stretch the window of your terminal programm (puTTY) as wide as possible or switch to full screen
-
-
@thomas-braun sagte in npm error bei "iob diag" nach Upgrade auf Debian 13 Trixie:
Die Einträge mir
extraneous
sollten mit einemnpm prune
verschwinden.
$ cd /opt/iobroker /opt/iobroker $ npm prune added 2 packages, and removed 128 packages in 4s 108 packages are looking for funding run `npm fund` for details
/opt/iobroker $ npm fund iobroker.inst@3.0.0 ├── https://github.com/sponsors/epoberezkin │ └── ajv@6.12.6 ├─┬ https://opencollective.com/express │ │ └── express@5.1.0 │ └── https://github.com/sponsors/sindresorhus │ └── merge-descriptors@2.0.0, is-stream@2.0.1, decompress-response@6.0.0, mimic-response@3.1.0, get-stream@6.0.1, responselike@3.0.0, lowercase-keys@3.0.0, quick-lru@5.1.1, onetime@5.1.2, escape-string-regexp@4.0.0, find-up@5.0.0, locate-path@6.0.0, p-locate@5.0.0, p-limit@3.1.0, yocto-queue@0.1.0, log-symbols@4.1.0, is-unicode-supported@0.1.0, strip-json-comments@3.1.1, camelcase@6.3.0, decamelize@4.0.0, component-emitter@1.3.1 ├── https://github.com/sponsors/jaredhanson │ └── passport@0.7.0 ├── https://github.com/sponsors/RubenVerborgh │ └── follow-redirects@1.15.6 ├── https://github.com/sponsors/ljharb │ └── get-intrinsic@1.3.0, function-bind@1.1.2, gopd@1.2.0, has-symbols@1.1.0, has-tostringtag@1.0.2, qs@6.14.0, side-channel@1.1.0, object-inspect@1.13.4, side-channel-list@1.0.0, side-channel-map@1.0.1, call-bound@1.0.4, side-channel-weakmap@1.0.2, minimist@1.2.8 ├── https://github.com/sponsors/panva │ └── jose@4.15.9 ├── https://github.com/sponsors/isaacs │ └── glob@8.1.0, minimatch@9.0.5 ├── https://github.com/sponsors/feross │ └── buffer@5.7.1, safe-buffer@5.2.1 ├── https://github.com/sponsors/AlCalzone │ └── @esm2cjs/got@13.0.0, @esm2cjs/cacheable-lookup@7.0.0, @esm2cjs/cacheable-request@10.2.12, @esm2cjs/mimic-response@4.0.0, @esm2cjs/normalize-url@8.0.0, @esm2cjs/responselike@3.0.0, @esm2cjs/form-data-encoder@2.1.4, @esm2cjs/http-timer@5.0.1, @esm2cjs/is@5.6.0, @esm2cjs/lowercase-keys@3.0.0, @esm2cjs/p-cancelable@3.0.0 ├─┬ https://opencollective.com/node-fetch │ │ └── node-fetch@3.3.2 │ └── https://github.com/sponsors/jimmywarting │ └── fetch-blob@3.2.0, node-domexception@1.0.0 ├── https://opencollective.com/js-sdsl │ └── js-sdsl@4.3.0 ├── https://github.com/fb55/entities?sponsor=1 │ └── entities@6.0.0 ├── https://github.com/sponsors/NaturalIntelligence │ └── fast-xml-parser@4.5.3, strnum@1.1.2 ├── https://opencollective.com/serialport/donate │ └── serialport@12.0.0, @serialport/bindings-cpp@12.0.1, @serialport/parser-readline@11.0.0, @serialport/parser-delimiter@11.0.0, @serialport/parser-byte-length@12.0.0, @serialport/parser-cctalk@12.0.0, @serialport/parser-delimiter@12.0.0, @serialport/parser-inter-byte-timeout@12.0.0, @serialport/parser-readline@12.0.0, @serialport/parser-ready@12.0.0, @serialport/parser-regex@12.0.0, @serialport/parser-slip-encoder@12.0.0, @serialport/parser-spacepacket@12.0.0, @serialport/stream@12.0.0 ├── https://github.com/inikulin/parse5?sponsor=1 │ └── parse5@7.3.0 ├── https://github.com/sponsors/csstools │ └── @csstools/css-calc@2.1.4, @csstools/css-color-parser@3.1.0, @csstools/color-helpers@5.1.0 ├── https://opencollective.com/ioredis │ └── ioredis@4.30.0 ├── https://github.com/sindresorhus/execa?sponsor=1 │ └── execa@5.1.1 ├── https://paulmillr.com/funding/ │ └── chokidar@3.5.3 ├── https://github.com/sponsors/sibiraj-s │ └── ci-info@3.9.0 ├── https://opencollective.com/sinon │ └── sinon@15.2.0 └── https://github.com/chalk/supports-color?sponsor=1 └── supports-color@8.1.1
npm error
beiiob diag
:$ iob diag *** iob diag is starting up, please wait *** npm error code ELSPROBLEMS npm error extraneous: @mapbox/node-pre-gyp@1.0.11 /opt/iobroker/node_modules/@mapbox/node-pre-gyp npm error extraneous: abbrev@1.1.1 /opt/iobroker/node_modules/abbrev npm error extraneous: aproba@2.1.0 /opt/iobroker/node_modules/aproba npm error extraneous: are-we-there-yet@2.0.0 /opt/iobroker/node_modules/are-we-there-yet npm error extraneous: color-support@1.1.3 /opt/iobroker/node_modules/color-support npm error extraneous: concat-map@0.0.1 /opt/iobroker/node_modules/concat-map npm error extraneous: console-control-strings@1.1.0 /opt/iobroker/node_modules/console-control-strings npm error extraneous: delegates@1.0.0 /opt/iobroker/node_modules/delegates npm error extraneous: detect-libc@2.1.2 /opt/iobroker/node_modules/detect-libc npm error extraneous: gauge@3.0.2 /opt/iobroker/node_modules/gauge npm error extraneous: has-unicode@2.0.1 /opt/iobroker/node_modules/has-unicode npm error extraneous: make-dir@3.1.0 /opt/iobroker/node_modules/make-dir npm error extraneous: mimic-response@2.1.0 /opt/iobroker/node_modules/mimic-response npm error extraneous: nopt@5.0.0 /opt/iobroker/node_modules/nopt npm error extraneous: npmlog@5.0.1 /opt/iobroker/node_modules/npmlog npm error extraneous: path-is-absolute@1.0.1 /opt/iobroker/node_modules/path-is-absolute npm error extraneous: rimraf@3.0.2 /opt/iobroker/node_modules/rimraf npm error extraneous: set-blocking@2.0.0 /opt/iobroker/node_modules/set-blocking npm error extraneous: simple-concat@1.0.1 /opt/iobroker/node_modules/simple-concat npm error extraneous: simple-get@3.1.1 /opt/iobroker/node_modules/simple-get npm error extraneous: wide-align@1.1.5 /opt/iobroker/node_modules/wide-align npm error extraneous: agent-base@6.0.2 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/agent-base npm error extraneous: debug@4.4.3 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/debug npm error extraneous: https-proxy-agent@5.0.1 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/https-proxy-agent npm error extraneous: ms@2.1.3 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/ms npm error extraneous: node-fetch@2.7.0 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/node-fetch npm error extraneous: tr46@0.0.3 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/tr46 npm error extraneous: webidl-conversions@3.0.1 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/webidl-conversions npm error extraneous: whatwg-url@5.0.0 /opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/whatwg-url npm error extraneous: semver@6.3.1 /opt/iobroker/node_modules/make-dir/node_modules/semver npm error extraneous: brace-expansion@1.1.12 /opt/iobroker/node_modules/rimraf/node_modules/brace-expansion npm error extraneous: glob@7.2.3 /opt/iobroker/node_modules/rimraf/node_modules/glob npm error extraneous: minimatch@3.1.2 /opt/iobroker/node_modules/rimraf/node_modules/minimatch npm error extraneous: decompress-response@4.2.1 /opt/iobroker/node_modules/simple-get/node_modules/decompress-response npm error invalid: buffer@5.7.1 /opt/iobroker/node_modules/buffer npm error missing: @csstools/css-parser-algorithms@^3.0.4, required by @asamuzakjp/css-color@3.2.0 npm error missing: @csstools/css-tokenizer@^3.0.3, required by @asamuzakjp/css-color@3.2.0 npm error missing: @csstools/css-parser-algorithms@^3.0.5, required by @csstools/css-calc@2.1.4 npm error missing: @csstools/css-tokenizer@^3.0.4, required by @csstools/css-calc@2.1.4 npm error missing: @csstools/css-parser-algorithms@^3.0.5, required by @csstools/css-color-parser@3.1.0 npm error missing: @csstools/css-tokenizer@^3.0.4, required by @csstools/css-color-parser@3.1.0 npm error A complete log of this run can be found in: /home/mf/.npm/_logs/2025-10-13T17_10_06_760Z-debug-0.log *** ioBroker Diagnosis *** Please stretch the window of your terminal programm (puTTY) as wide as possible or switch to full screen