MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    updateDom() blocks MagicMirror

    Scheduled Pinned Locked Moved Development
    28 Posts 2 Posters 6.7k Views 2 Watching
    Loading More Posts
    • 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.
    • S Offline
      sdetweil @sdetweil
      last edited by sdetweil

      see the doc

      https://docs.magicmirror.builders/development/introduction.html#module-structure

      https://docs.magicmirror.builders/development/core-module-file.html#subclassable-module-methods
      notificationReceived in particular

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 1 Reply Last reply Reply Quote 0
      • 1 Offline
        1BlauNitrox @sdetweil
        last edited by 1BlauNitrox

        @sdetweil Do you remember my problem yesteray that my magic mirror doesn`t start? I started the program today in the morning. Without doing anythink since yesterday evening, the same error occurs.

        The only think I change was that I renamed lenght to length. Than I deleted the module module and copyed the new one.

        old post: https://forum.magicmirror.builders/topic/16233/error-while-starting-magic-mirror/29

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @1BlauNitrox
          last edited by

          @1blaunitrox I need to see the messages output by npm start

          if you use pm2, then pm2 logs --lines=50

          also maybe info from the developers window, ctrl-shift-i on the keyboard and select the console tab and scroll up to see any errors red text

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 1 Reply Last reply Reply Quote 0
          • 1 Offline
            1BlauNitrox @sdetweil
            last edited by

            @sdetweil
            Here is the .pm2/logs/MagicMirror-error.log
            https://haste.lyrotopia.net/equzexapal.js
            Its always the same error

            Here is the .pm2/logs/MagicMirror-out.log
            https://haste.lyrotopia.net/mosubanoro.css

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @1BlauNitrox
              last edited by

              @1blaunitrox ok, weird…

              npm -v
              node -v

              which user is pm2 installed on?

              pm2 info 0

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 1 Reply Last reply Reply Quote 0
              • 1 Offline
                1BlauNitrox @sdetweil
                last edited by 1BlauNitrox

                @sdetweil

                pm2 info.PNG

                -v.PNG

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @1BlauNitrox
                  last edited by

                  @1blaunitrox ok, do this

                  pm2 stop all
                  pm2 delete 0
                  pm2 save
                  

                  the run my fixuppm2.sh script from here
                  https://github.com/sdetweil/MagicMirror_scripts

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 1 Reply Last reply Reply Quote 0
                  • 1 Offline
                    1BlauNitrox @sdetweil
                    last edited by

                    @sdetweil I installed the software again. Now it works, but I think I will see this error soon again.
                    btw: I wrote an issues on git: https://github.com/MichMich/MagicMirror/issues/2793

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @1BlauNitrox
                      last edited by

                      @1blaunitrox i saw the git issue

                      can u do pm2 info MagicMirror
                      again

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 1 Reply Last reply Reply Quote 0
                      • 1 Offline
                        1BlauNitrox @sdetweil
                        last edited by

                        @sdetweil I installed the software like in the docs show. So I haven`t installed pm2

                        S 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 3 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy