Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Javascript Adapter - weiße Seite

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Javascript Adapter - weiße Seite

Geplant Angeheftet Gesperrt Verschoben Error/Bug
6 Beiträge 4 Kommentatoren 696 Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • F Offline
    F Offline
    FinalD
    schrieb am zuletzt editiert von
    #1
    Systemdata Bitte Ausfüllen
    Hardwaresystem: älteres Intel Notebook
    Arbeitsspeicher: 3GB
    Festplattenart: HDD
    Betriebssystem: Ubuntu
    Node-Version: 10.x.x
    Nodejs-Version: 12.22.4
    NPM-Version: 6.14.4
    Installationsart: Skript
    Image genutzt: Nein

    Ich habe gestern etwas im Javascript Adapter geändert und habe seitdem das Problem, dass ich kurz den Inhalt vom Adapter sehe und ein paar Sekunden später nur noch eine weiße Seite angezeigt wird:
    skripte.png

    Ein Neustart vom Adapter hat leider nicht geholfen.
    Ich hatte testweise den Internet Explorer getestet und dort ist der Verhalten genauso. Ich konnte einmal etwas ändern und beim erneuten Öffnen wurde die Seite wieder nach ein paar Sekunden weiß.

    Das Skript läuft aber und aktualisiert die zugehörigen Werte.

    Hatte jemand schonmal ein ähnliches Problem oder weiß woran es liegen könnte?
    Danke schonmal.

    HomoranH 1 Antwort Letzte Antwort
    0
    • F FinalD
      Systemdata Bitte Ausfüllen
      Hardwaresystem: älteres Intel Notebook
      Arbeitsspeicher: 3GB
      Festplattenart: HDD
      Betriebssystem: Ubuntu
      Node-Version: 10.x.x
      Nodejs-Version: 12.22.4
      NPM-Version: 6.14.4
      Installationsart: Skript
      Image genutzt: Nein

      Ich habe gestern etwas im Javascript Adapter geändert und habe seitdem das Problem, dass ich kurz den Inhalt vom Adapter sehe und ein paar Sekunden später nur noch eine weiße Seite angezeigt wird:
      skripte.png

      Ein Neustart vom Adapter hat leider nicht geholfen.
      Ich hatte testweise den Internet Explorer getestet und dort ist der Verhalten genauso. Ich konnte einmal etwas ändern und beim erneuten Öffnen wurde die Seite wieder nach ein paar Sekunden weiß.

      Das Skript läuft aber und aktualisiert die zugehörigen Werte.

      Hatte jemand schonmal ein ähnliches Problem oder weiß woran es liegen könnte?
      Danke schonmal.

      HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #2

      @finald sagte in Javascript Adapter - weiße Seite:

      etwas im Javascript Adapter geändert

      was?

      @finald sagte in Javascript Adapter - weiße Seite:

      weiß woran es liegen könnte?

      Vielleicht das log oder die Browserkonsole

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      F 1 Antwort Letzte Antwort
      0
      • HomoranH Homoran

        @finald sagte in Javascript Adapter - weiße Seite:

        etwas im Javascript Adapter geändert

        was?

        @finald sagte in Javascript Adapter - weiße Seite:

        weiß woran es liegen könnte?

        Vielleicht das log oder die Browserkonsole

        F Offline
        F Offline
        FinalD
        schrieb am zuletzt editiert von Homoran
        #3

        @homoran said in Javascript Adapter - weiße Seite:

        @finald sagte in Javascript Adapter - weiße Seite:

        etwas im Javascript Adapter geändert

        was?

        Ich hatte ein neues if statement hinzugefügt. Also "nur" javascript Code geändert. Der neue Code läuft auch.

        @finald sagte in Javascript Adapter - weiße Seite:

        weiß woran es liegen könnte?

        Vielleicht das log oder die Browserkonsole

        Im Log von ioBroker steht nichts.

        In den Dev Tools von Chrome gibt es folgende Fehlermeldungen:

        instrument.ts:129 TypeError: Cannot read properties of undefined (reading 'languages')
            at a.value (ScriptEditorVanilaMonaco.js:251)
            at a.value (ScriptEditorVanilaMonaco.js:333)
            at a.value (ScriptEditorVanilaMonaco.js:349)
            at za (react-dom.production.min.js:136)
            at Bo (react-dom.production.min.js:184)
            at ql (react-dom.production.min.js:269)
            at ji (react-dom.production.min.js:250)
            at Vi (react-dom.production.min.js:250)
            at Hi (react-dom.production.min.js:250)
            at fi (react-dom.production.min.js:243)
            at react-dom.production.min.js:123
            at t.unstable_runWithPriority (scheduler.production.min.js:18)
            at Wc (react-dom.production.min.js:122)
            at Gc (react-dom.production.min.js:123)
            at qc (react-dom.production.min.js:122)
            at hi (react-dom.production.min.js:237)
            at Object.enqueueSetState (react-dom.production.min.js:133)
            at a.f.setState (react.production.min.js:12)
            at Editor.js:1329
            at a (helpers.ts:87)
        

        Und direkt danach:

        helpers.ts:111 Uncaught TypeError: Cannot read properties of undefined (reading 'languages')
            at a.value (ScriptEditorVanilaMonaco.js:251)
            at a.value (ScriptEditorVanilaMonaco.js:333)
            at a.value (ScriptEditorVanilaMonaco.js:349)
            at za (react-dom.production.min.js:136)
            at Bo (react-dom.production.min.js:184)
            at ql (react-dom.production.min.js:269)
            at ji (react-dom.production.min.js:250)
            at Vi (react-dom.production.min.js:250)
            at Hi (react-dom.production.min.js:250)
            at fi (react-dom.production.min.js:243)
            at react-dom.production.min.js:123
            at t.unstable_runWithPriority (scheduler.production.min.js:18)
            at Wc (react-dom.production.min.js:122)
            at Gc (react-dom.production.min.js:123)
            at qc (react-dom.production.min.js:122)
            at hi (react-dom.production.min.js:237)
            at Object.enqueueSetState (react-dom.production.min.js:133)
            at a.f.setState (react.production.min.js:12)
            at Editor.js:1329
            at a (helpers.ts:87)
        value @ ScriptEditorVanilaMonaco.js:251
        value @ ScriptEditorVanilaMonaco.js:333
        value @ ScriptEditorVanilaMonaco.js:349
        za @ react-dom.production.min.js:136
        Bo @ react-dom.production.min.js:184
        ql @ react-dom.production.min.js:269
        ji @ react-dom.production.min.js:250
        Vi @ react-dom.production.min.js:250
        Hi @ react-dom.production.min.js:250
        fi @ react-dom.production.min.js:243
        (anonymous) @ react-dom.production.min.js:123
        t.unstable_runWithPriority @ scheduler.production.min.js:18
        Wc @ react-dom.production.min.js:122
        Gc @ react-dom.production.min.js:123
        qc @ react-dom.production.min.js:122
        hi @ react-dom.production.min.js:237
        enqueueSetState @ react-dom.production.min.js:133
        f.setState @ react.production.min.js:12
        (anonymous) @ Editor.js:1329
        a @ helpers.ts:87
        setTimeout (async)
        (anonymous) @ trycatch.ts:119
        value @ Editor.js:1318
        Wo @ react-dom.production.min.js:187
        Bo @ react-dom.production.min.js:186
        ql @ react-dom.production.min.js:269
        ji @ react-dom.production.min.js:250
        Vi @ react-dom.production.min.js:250
        Hi @ react-dom.production.min.js:250
        fi @ react-dom.production.min.js:243
        (anonymous) @ react-dom.production.min.js:123
        t.unstable_runWithPriority @ scheduler.production.min.js:18
        Wc @ react-dom.production.min.js:122
        Gc @ react-dom.production.min.js:123
        qc @ react-dom.production.min.js:122
        hi @ react-dom.production.min.js:237
        enqueueSetState @ react-dom.production.min.js:133
        f.setState @ react.production.min.js:12
        (anonymous) @ Editor.js:280
        Promise.then (async)
        value @ Editor.js:272
        a @ Editor.js:261
        fa @ react-dom.production.min.js:135
        Bo @ react-dom.production.min.js:181
        ql @ react-dom.production.min.js:269
        ji @ react-dom.production.min.js:250
        Vi @ react-dom.production.min.js:250
        Hi @ react-dom.production.min.js:250
        fi @ react-dom.production.min.js:243
        (anonymous) @ react-dom.production.min.js:123
        t.unstable_runWithPriority @ scheduler.production.min.js:18
        Wc @ react-dom.production.min.js:122
        Gc @ react-dom.production.min.js:123
        qc @ react-dom.production.min.js:122
        hi @ react-dom.production.min.js:237
        enqueueSetState @ react-dom.production.min.js:133
        f.setState @ react.production.min.js:12
        (anonymous) @ App.js:295
        Promise.then (async)
        value @ App.js:276
        (anonymous) @ GenericApp.js:172
        ha @ react-dom.production.min.js:131
        vl @ react-dom.production.min.js:220
        wi @ react-dom.production.min.js:259
        t.unstable_runWithPriority @ scheduler.production.min.js:18
        Wc @ react-dom.production.min.js:122
        Li @ react-dom.production.min.js:252
        fi @ react-dom.production.min.js:243
        (anonymous) @ react-dom.production.min.js:123
        t.unstable_runWithPriority @ scheduler.production.min.js:18
        Wc @ react-dom.production.min.js:122
        Gc @ react-dom.production.min.js:123
        qc @ react-dom.production.min.js:122
        hi @ react-dom.production.min.js:237
        enqueueSetState @ react-dom.production.min.js:133
        f.setState @ react.production.min.js:12
        (anonymous) @ GenericApp.js:172
        Promise.then (async)
        (anonymous) @ GenericApp.js:166
        Promise.then (async)
        onReady @ GenericApp.js:140
        (anonymous) @ Connection.js:407
        Promise.then (async)
        (anonymous) @ Connection.js:370
        value @ Connection.js:340
        value @ Connection.js:351
        value @ Connection.js:302
        (anonymous) @ Connection.js:206
        SocketClient.findAnswer @ socket.io.js:255
        socket.onmessage @ socket.io.js:163
        instrument.ts:129 wait for monaco loaded
        

        Und eine dritte danach:

        fetch.ts:138 POST https://sentry.iobroker.net/api/56/envelope/?sentry_key=xxxxx&sentry_version=7 403
        

        Ich habe den key gelöscht, keine Ahnung, ob er ein secret ist oder nicht?

        MOD-Edit: Code in code-tags gesetzt!

        1 Antwort Letzte Antwort
        0
        • akwakA Offline
          akwakA Offline
          akwak
          schrieb am zuletzt editiert von
          #4

          @finald Hallo,
          hast Du eine/die Lösung gefunden?
          Ich habe den gleichen Effekt bei mir im Chrome.
          Im FireFox läuft es.

          Wenn ich in der entsprechenden Zeile im Editor.js einen Breakpoint setze, kann ich sehen, das die Seite aufgebaut wird und dann "verschwindet".

          ioBroker_Chrome1.jpg

          ioBroker_Chrome2.jpg

          ioBroker_Chrome3.jpg

          P 1 Antwort Letzte Antwort
          0
          • akwakA akwak

            @finald Hallo,
            hast Du eine/die Lösung gefunden?
            Ich habe den gleichen Effekt bei mir im Chrome.
            Im FireFox läuft es.

            Wenn ich in der entsprechenden Zeile im Editor.js einen Breakpoint setze, kann ich sehen, das die Seite aufgebaut wird und dann "verschwindet".

            ioBroker_Chrome1.jpg

            ioBroker_Chrome2.jpg

            ioBroker_Chrome3.jpg

            P Offline
            P Offline
            peterfido
            schrieb am zuletzt editiert von
            #5

            @akwak
            Als ich den Fehler damals hatte, half es, ioBroker "unsicher" aufzurufen. Also nur http statt https.

            Gruß

            Peterfido


            Proxmox auf Intel NUC12WSHi5
            ioBroker: Debian (VM)
            CCU: Debmatic (VM)
            Influx: Debian (VM)
            Grafana: Debian (VM)
            eBus: Debian (VM)
            Zigbee: Debian (VM) mit zigbee2mqtt

            akwakA 1 Antwort Letzte Antwort
            0
            • P peterfido

              @akwak
              Als ich den Fehler damals hatte, half es, ioBroker "unsicher" aufzurufen. Also nur http statt https.

              akwakA Offline
              akwakA Offline
              akwak
              schrieb am zuletzt editiert von
              #6

              @peterfido
              Danke,
              dann funktioniert es bei mir auch. Werde ich dann erst mal so lassen, auch wenn es nicht besonders schön ist.

              1 Antwort Letzte Antwort
              0
              Antworten
              • In einem neuen Thema antworten
              Anmelden zum Antworten
              • Älteste zuerst
              • Neuste zuerst
              • Meiste Stimmen


              Support us

              ioBroker
              Community Adapters
              Donate

              830

              Online

              32.5k

              Benutzer

              81.7k

              Themen

              1.3m

              Beiträge
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
              ioBroker Community 2014-2025
              logo
              • Anmelden

              • Du hast noch kein Konto? Registrieren

              • Anmelden oder registrieren, um zu suchen
              • Erster Beitrag
                Letzter Beitrag
              0
              • Home
              • Aktuell
              • Tags
              • Ungelesen 0
              • Kategorien
              • Unreplied
              • Beliebt
              • GitHub
              • Docu
              • Hilfe