NEWS
Nochmal NPM Module im Controller 6.0.3
-
Ich habe vermutlich noch ein Problem mit dem Javascript Adapter und den NPM Modulen. Ich habe zwei Instanzen laufen unter JS Controller 6.0.2 und habe auf 6.0.3 geupdatet. Danach konnte er den JS Adapter nicht mehr starten.
host.iobroker0424 2024-06-13 06:17:16.959 error instance system.adapter.javascript.1 terminated with code 6 (UNCAUGHT_EXCEPTION) host.iobroker0424 2024-06-13 06:17:16.959 error Caught by controller[0]: at installLibraries (/opt/iobroker/node_modules/iobroker.javascript/main.js:1836:36) host.iobroker0424 2024-06-13 06:17:16.959 error Caught by controller[0]: at listInstalledNodeModules (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:126:34) host.iobroker0424 2024-06-13 06:17:16.959 error Caught by controller[0]: at Function.resolve (node:internal/modules/helpers:190:19) host.iobroker0424 2024-06-13 06:17:16.959 error Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1131:27) host.iobroker0424 2024-06-13 06:17:16.959 error Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:669:31) host.iobroker0424 2024-06-13 06:17:16.959 error Caught by controller[0]: at resolveExports (node:internal/modules/cjs/loader:592:36) host.iobroker0424 2024-06-13 06:17:16.959 error Caught by controller[0]: at packageExportsResolve (node:internal/modules/esm/resolve:651:9) host.iobroker0424 2024-06-13 06:17:16.959 error Caught by controller[0]: at exportsNotFound (node:internal/modules/esm/resolve:304:10) host.iobroker0424 2024-06-13 06:17:16.959 error Caught by controller[0]: Error: Package subpath './package.json' is not defined by "exports" in /opt/iobroker/node_modules/@iobroker-javascript.1/cheerio/package.json host.iobroker0424 2024-06-13 06:17:16.959 error Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: javascript.1 2024-06-13 06:17:16.310 error Exception-Code: ERR_PACKAGE_PATH_NOT_EXPORTED: Package subpath './package.json' is not defined by "exports" in /opt/iobroker/node_modules/@iobroker-javascript.1/cheerio/package.json javascript.1 2024-06-13 06:17:16.310 error Error: Package subpath './package.json' is not defined by "exports" in /opt/iobroker/node_modules/@iobroker-javascript.1/cheerio/package.json at exportsNotFound (node:internal/modules/esm/resolve:304:10) at packageExportsResolve (node:internal/modules/esm/resolve:651:9) at resolveExports (node:internal/modules/cjs/loader:592:36) at Function.Module._findPath (node:internal/modules/cjs/loader:669:31) at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1131:27) at Function.resolve (node:internal/modules/helpers:190:19) at listInstalledNodeModules (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:126:34) at installLibraries (/opt/iobroker/node_modules/iobroker.javascript/main.js:1836:36) javascript.1 2024-06-13 06:17:16.309 error unhandled promise rejection: Package subpath './package.json' is not defined by "exports" in /opt/iobroker/node_modules/@iobroker-javascript.1/cheerio/package.json javascript.1 2024-06-13 06:17:16.309 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
Plattform: linux
Betriebssystem: linux
Architektur: x64
CPUs: 4
Geschwindigkeit: 0 MHz
Modell: QEMU Virtual CPU version 2.5+
RAM: 7.7 GB
System-Betriebszeit: 00:07:55
Node.js: v20.14.0
time: 1718253968052
timeOffset: -120
NPM: 10.7.0
Adapter-Anzahl: 624
Datenträgergröße: 8.8 GB
Freier Festplattenspeicher: 2.1 GB
Aktive Instanzen: 34
Pfad: /opt/iobroker/
Betriebszeit: 00:07:50 -
-
ich mach hier mal zu.
Der Controller ist noch in der beta Testphase, da kann man es nicht als echten Bug bezeichnen.Dafür gibt es den erwähnten Tester-Thread