Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. javascript - fehler im log nach update

    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

    javascript - fehler im log nach update

    This topic has been deleted. Only users with topic management privileges can see it.
    • bahnuhr
      bahnuhr Forum Testing Most Active last edited by bahnuhr

      Hallo,
      ich habe eben mein System von 16.17.0 auf 16.17.1 gebracht.

      Beim Starten von iob hat dann der js folgenden Fehler ausgeworfen.

      host.iobroker
      2022-09-25 08:43:49.225	info	Rebuild for adapter system.adapter.javascript.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
      host.iobroker
      2022-09-25 08:43:49.225	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.iobroker
      2022-09-25 08:43:49.225	error	Caught by controller[0]: }
      host.iobroker
      2022-09-25 08:43:49.225	error	Caught by controller[0]: requestPath: 'virtual-tsc'
      host.iobroker
      2022-09-25 08:43:49.225	error	Caught by controller[0]: path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/virtual-tsc/package.json',
      host.iobroker
      2022-09-25 08:43:49.224	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
      host.iobroker
      2022-09-25 08:43:49.224	error	Caught by controller[0]: {
      host.iobroker
      2022-09-25 08:43:49.224	error	Caught by controller[0]: at node:internal/main/run_main_module:17:47
      host.iobroker
      2022-09-25 08:43:49.224	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
      host.iobroker
      2022-09-25 08:43:49.224	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:839:12)
      host.iobroker
      2022-09-25 08:43:49.223	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1004:32)
      host.iobroker
      2022-09-25 08:43:49.223	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
      host.iobroker
      2022-09-25 08:43:49.223	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1126:14)
      host.iobroker
      2022-09-25 08:43:49.223	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:22:24)
      host.iobroker
      2022-09-25 08:43:49.223	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
      host.iobroker
      2022-09-25 08:43:49.223	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1028:19)
      host.iobroker
      2022-09-25 08:43:49.222	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:804:27)
      host.iobroker
      2022-09-25 08:43:49.222	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:942:27)
      host.iobroker
      2022-09-25 08:43:49.222	error	Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:577:18)
      host.iobroker
      2022-09-25 08:43:49.222	error	Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:364:19)
      host.iobroker
      2022-09-25 08:43:49.222	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/virtual-tsc/build/index.js'. Please verify that the package.json has a valid "main" entry
      host.iobroker
      2022-09-25 08:43:49.221	error	Caught by controller[0]: ^
      host.iobroker
      2022-09-25 08:43:49.221	error	Caught by controller[0]: throw err;
      host.iobroker
      2022-09-25 08:43:49.221	error	Caught by controller[0]: node:internal/modules/cjs/loader:372
      host.iobroker
      2022-09-25 08:43:48.865	info	instance system.adapter.javascript.0 started with pid 53047
      

      Vorher wurde 3x versucht einen rebuild zu machen.
      Wie in der letzten Zeile (oben) wurd manuell installiert.

      Also per putty:
      npm install iobroker.javascript --production

      Dies scheint geklappt zu haben, der Adapter wird grün.
      Im log kamen aber immer noch:

      javascript.0
      2022-09-25 08:46:01.157	error	WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      javascript.0
      2022-09-25 08:46:01.155	error	npm
      
      javascript.0
      2022-09-25 08:46:00.880	error	WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
      
      javascript.0
      2022-09-25 08:46:00.878	error	npm
      
      javascript.0
      2022-09-25 08:46:00.500	error	WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
      
      javascript.0
      2022-09-25 08:46:00.498	error	npm
      
      javascript.0
      2022-09-25 08:46:00.083	error	npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      
      javascript.0
      2022-09-25 08:45:51.161	info	npm install express --omit=dev (System call)
      
      javascript.0
      2022-09-25 08:45:51.105	info	starting. Version 6.0.3 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.17.1, js-controller: 4.0.23
      

      Könnt ihr mir sagen, was es damit auf sich hat ?

      Fragen:
      warum wurde der rebuild nicht durchgeführt ?
      Was sind dies für Fehlermeldungen ?

      mfg
      Dieter

      Nachtrag:
      Der issue Hinweis kommt nicht von mir; wurde automatisch eingesetzt.

      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

      K 1 Reply Last reply Reply Quote 0
      • K
        krobi @bahnuhr last edited by krobi

        @bahnuhr du hast nodejs upgedatet aber sonst nix. Welche Version hat den dein JavaScript Adapter? Meiner hat Version 6.0.3.

        Edit: ah sorry sehe im log dass das passt, iob fix schon probiert?

        bahnuhr 1 Reply Last reply Reply Quote 0
        • bahnuhr
          bahnuhr Forum Testing Most Active @krobi last edited by

          @krobi sagte in javascript - fehler im log nach update:

          iob fix

          probier ich gleich.

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @bahnuhr last edited by

            @bahnuhr

            Was ist denn jetzt konkret das Problem? Läuft doch.

            bahnuhr 1 Reply Last reply Reply Quote 0
            • bahnuhr
              bahnuhr Forum Testing Most Active @Thomas Braun last edited by

              @thomas-braun sagte in javascript - fehler im log nach update:

              @bahnuhr

              Was ist denn jetzt konkret das Problem? Läuft doch.

              Wollte halt nur wissen warum dies überhaupt kam.
              Aber ja, es läuft.

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

              Support us

              ioBroker
              Community Adapters
              Donate

              857
              Online

              31.8k
              Users

              80.0k
              Topics

              1.3m
              Posts

              error javascript
              3
              5
              513
              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