Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Cannot find module 'xhr2'

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Cannot find module 'xhr2'

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

      Hallo zusammen,

      ich bäuchte mal sehr DRINGEND eure Hilfe.
      Ich habe eben das Update "javascript" auf Verion 6.0.0 gemacht.

      Seitdem bekomme ich in meinen Scripten dir Fehlermeldung "Cannot find module 'xhr2'"
      Ein downgrade de Javascript Adapters brachte keine Erfolg.

      Kann mir BITTE jemand helfen ?

      Glasfaser 3 Replies Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @DrFirebird last edited by

        @drfirebird sagte in Cannot find module 'xhr2':

        Seitdem bekomme ich in meinen Scripten dir Fehlermeldung "Cannot find module 'xhr2'"

        Bitte das gesamte Log dazu zeigen

        und

        Zeigen !

        Ein/ und Ausgabe davon in Code-Tags </> hier einstellen

        cd /opt/iobroker
        npm ls | grep -E 'github.com|ERR' 
        
        iobroker update -i
         
        sudo ln -s /usr/bin/node /usr/bin/nodejs
        
        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        
        1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @DrFirebird last edited by

          @drfirebird sagte in Cannot find module 'xhr2':

          Cannot find module 'xhr2

          Noch eine Frage ,

          ist das xhr2 als "Zusätzliche NPM-Module" im javascript-Adapter eingetragen !?

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

            @glasfaser sagte in Cannot find module 'xhr2':

            ist das xhr2 als "Zusätzliche NPM-Module" im javascript-Adapter eingetragen !?

            Falls das der Fall sein sollte: Neustart des javascript-Adapters stellt sich im log file genau wie dar?

            1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @DrFirebird last edited by

              @drfirebird sagte in Cannot find module 'xhr2':

              ich bäuchte mal sehr DRINGEND eure Hilfe.

              Kann mir BITTE jemand helfen ?

              1 Stunde später ...

              und ... was ist jetzt .... Frau läst dich nicht an den Rechner ... oder ... !?

              D 1 Reply Last reply Reply Quote 1
              • D
                DrFirebird @Glasfaser last edited by

                @glasfaser
                Vielen dank für Deine Hilfe.
                Das xhr2 war vor dem Update als "Zusätzliche NPM-Module" im javascript-Adapter eingetragen.
                Nach dem Update nicht mehr.

                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @DrFirebird last edited by Glasfaser

                  @drfirebird sagte in Cannot find module 'xhr2':

                  Nach dem Update nicht mehr.

                  Hast du im Log mal geschaut ... nach dem Update ..

                  ohne Grund schmeist er Ihn nicht raus !!

                  Ich vermute er hat ein rebuild Fehler

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate
                  FAQ Cloud / IOT
                  HowTo: Node.js-Update
                  HowTo: Backup/Restore
                  Downloads
                  BLOG

                  851
                  Online

                  31.7k
                  Users

                  79.8k
                  Topics

                  1.3m
                  Posts

                  3
                  7
                  413
                  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