Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Nochmal NPM Module im Controller 6.0.3

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Nochmal NPM Module im Controller 6.0.3

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fuchs1978 last edited by

      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

      da_Woody 1 Reply Last reply Reply Quote 0
      • da_Woody
        da_Woody @fuchs1978 last edited by

        @fuchs1978 siehe https://forum.iobroker.net/topic/75206/beta-test-js-controller-kiera-v6-0/80?_=1718168044578
        von @foxriver76

        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          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

          1 Reply Last reply Reply Quote 1
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate

          385
          Online

          31.8k
          Users

          80.0k
          Topics

          1.3m
          Posts

          3
          3
          255
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo