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.

    JavaScript error

    Scheduled Pinned Locked Moved Solved Troubleshooting
    28 Posts 2 Posters 384 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.
    • L Offline
      Lmagenis @sdetweil
      last edited by

      @sdetweil
      The install returned “npm error A complete log of this…”

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

        @Lmagenis did it succeed or fail,

        Without the log

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @Lmagenis can you send me the log , same userid at gmail please

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            The log says your disk/sd card is full (or failing)

            no space left on device
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil Thank you! Looks like I have some cloning to do (once I get the new card)

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

                @Lmagenis yes, maybe there is a bunch of log files you can delete

                Then you could use my backup/restore scripts
                https://github.com/sdetweil/MagicMirror-backup-restore.git

                Which has a perfect use for this
                Very small data. Can use GitHub too as the storage place

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil got the new card up and running! Went through the scripts as you instructed but came up with a new error. Started the magic mirror in x11 and it works! Thanks again for your help! You’re indispensable!

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

                    @Lmagenis great news!!!

                    Where did you see the error ?

                    How did you install MagicMirror on the new system?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil I backed up the files with your script first in case the sd copy program in the pi failed. I didn’t need the backup, but it’s nice to have in case something goes wrong.

                      when I ran “npm start” it was loading the modules and returned this:

                      (I skipped copying the earliest info about all of the modules)

                      [2026-05-12 07:52:44.151] [LOG] [node_helper] Connecting socket for: MMM-OpenWeatherForecast
                      [2026-05-12 07:52:44.152] [LOG] [MMM-OpenWeatherForecast] ====================== Starting node_helper for module [MMM-OpenWeatherForecast]
                      [2026-05-12 07:52:44.153] [LOG] [node_helper] Connecting socket for: newsfeed
                      [2026-05-12 07:52:44.154] [LOG] [newsfeed] Starting node helper for: newsfeed
                      [2026-05-12 07:52:44.155] [LOG] [app] Sockets connected & modules started …
                      [10718:0512/075244.158823:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
                      [10718:0512/075244.159077:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:281] Failed to initialize Wayland platform
                      [10718:0512/075244.159133:ERROR:ui/aura/env.cc:246] The platform failed to initialize. Exiting.
                      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV

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

                        @Lmagenis ok, understood

                        We changed npm start to use the Wayland compositor, instead of x11 because the pi os has that as default now

                        If you used my install script and selected pm2, then my startup script (mm.sh) detects which compositor is running, and issues the appropriate start command

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • S sdetweil has marked this topic as solved

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1
                        • 2
                        • 2 / 2
                        • 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