Hallo zusammen,
heute bin ich leider in die selbe Falle getappt.
Nachdem Update des Host Adapers auf 6.0.9 gibt der Javascript Adapter Fehler aus und findet einige zusatzmodule nicht mehr.
2024-08-05 20:17:42.280 error Error: Cannot find package '/opt/iobroker/node_modules/@iobroker-javascript.0/Math/' imported from /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js at new NodeError (node:internal/errors:405:5) at legacyMainResolve (node:internal/modules/esm/resolve:233:9) at packageResolve (node:internal/modules/esm/resolve:874:14) at moduleResolve (node:internal/modules/esm/resolve:936:20) at defaultResolve (node:internal/modules/esm/resolve:1129:11) at nextResolve (node:internal/modules/esm/loader:163:28) at ESMLoader.resolve (node:internal/modules/esm/loader:835:30) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18) at ESMLoader.import (node:internal/modules/esm/loader:524:22) at importModuleDynamically (node:internal/modules/cjs/loader:1188:29)
javascript.0
2024-08-05 20:17:42.279 error Error: Cannot find package '/opt/iobroker/node_modules/@iobroker-javascript.0/Math/' imported from /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js
javascript.0
2024-08-05 20:17:42.279 error An error happened which is most likely from one of your scripts, but the originating script could not be detected.
javascript.0
2024-08-05 20:14:36.394 error Error: Cannot find package '/opt/iobroker/node_modules/@iobroker-javascript.0/Math/' imported from /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js at new NodeError (node:internal/errors:405:5) at legacyMainResolve (node:internal/modules/esm/resolve:233:9) at packageResolve (node:internal/modules/esm/resolve:874:14) at moduleResolve (node:internal/modules/esm/resolve:936:20) at defaultResolve (node:internal/modules/esm/resolve:1129:11) at nextResolve (node:internal/modules/esm/loader:163:28) at ESMLoader.resolve (node:internal/modules/esm/loader:835:30) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18) at ESMLoader.import (node:internal/modules/esm/loader:524:22) at importModuleDynamically (node:internal/modules/cjs/loader:1188:29)
javascript.0
2024-08-05 20:14:36.393 error Error: Cannot find package '/opt/iobroker/node_modules/@iobroker-javascript.0/Math/' imported from /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js
javascript.0
2024-08-05 20:14:36.393 error An error happened which is most likely from one of your scripts, but the originating script could not be detected.
Habe auch die üblichen Updates gefahren.
Node.js
v18.17.1 (Es gibt eine neuere Version: v18.20.4)
NPM
9.6.7
Pfad
/opt/iobroker/
"Raspbian GNU/Linux 10 (buster)"
Kann das mit der buster-Version zusammenhängen?
Vielen Dank für Tipps.
Gruß
Jörg