Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

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

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Javascript Adapter - weiße Seite

Scheduled Pinned Locked Moved Error/Bug
6 Posts 4 Posters 767 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FinalD
    wrote on last edited by
    #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 Reply Last reply
    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 Do not disturb
      HomoranH Do not disturb
      Homoran
      Global Moderator Administrators
      wrote on last edited by
      #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 Reply Last reply
      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
        wrote on last edited by 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 Reply Last reply
        0
        • akwakA Offline
          akwakA Offline
          akwak
          wrote on last edited by
          #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 Reply Last reply
          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
            wrote on last edited by
            #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 Reply Last reply
            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
              wrote on last edited by
              #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 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              Support us

              ioBroker
              Community Adapters
              Donate

              664

              Online

              32.7k

              Users

              82.4k

              Topics

              1.3m

              Posts
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
              ioBroker Community 2014-2025
              logo
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Home
              • Recent
              • Tags
              • Unread 0
              • Categories
              • Unreplied
              • Popular
              • GitHub
              • Docu
              • Hilfe