• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MM not loading after software update

Scheduled Pinned Locked Moved Solved Troubleshooting
24 Posts 2 Posters 5.2k 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.
  • R Offline
    Redicaljk @sdetweil
    last edited by Aug 20, 2022, 1:14 PM

    @sdetweil done. Still having an issue:

    magicmirror@2.20.0 start
    DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

    [20.08.2022 09:12.14.860] [LOG] Starting MagicMirror: v2.20.0
    [20.08.2022 09:12.14.865] [LOG] Loading config …
    [20.08.2022 09:12.14.871] [LOG] Loading module helpers …
    [20.08.2022 09:12.14.873] [LOG] No helper found for module: alert.
    [20.08.2022 09:12.15.181] [LOG] Initializing new module helper …
    [20.08.2022 09:12.15.182] [LOG] Module helper loaded: MMM-AlexaControl
    [20.08.2022 09:12.15.185] [LOG] Initializing new module helper …
    [20.08.2022 09:12.15.186] [LOG] Module helper loaded: updatenotification
    [20.08.2022 09:12.15.186] [LOG] No helper found for module: clock.
    [20.08.2022 09:12.15.403] [LOG] Initializing new module helper …
    [20.08.2022 09:12.15.404] [LOG] Module helper loaded: calendar
    [20.08.2022 09:12.15.404] [LOG] No helper found for module: calendar_monthly.
    [20.08.2022 09:12.15.405] [LOG] No helper found for module: weather.
    [20.08.2022 09:12.15.408] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘jsdom’
    Require stack:

    • /home/pi/MagicMirror/modules/MMM-OnThisDay/node_helper.js
    • /home/pi/MagicMirror/js/app.js
    • /home/pi/MagicMirror/js/electron.js
    • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    S 1 Reply Last reply Aug 20, 2022, 1:18 PM Reply Quote 0
    • S Away
      sdetweil @Redicaljk
      last edited by Aug 20, 2022, 1:18 PM

      @Redicaljk see this topic, for missing libraries

      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later, 1st post gives instructions

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Aug 20, 2022, 1:19 PM Reply Quote 0
      • R Offline
        Redicaljk @sdetweil
        last edited by Aug 20, 2022, 1:19 PM

        @sdetweil thank you! I’ll give it a try.

        R 1 Reply Last reply Aug 20, 2022, 1:37 PM Reply Quote 0
        • R Offline
          Redicaljk @Redicaljk
          last edited by Aug 20, 2022, 1:37 PM

          @Redicaljk Looks like the original issue has been resolved, however, MM still crashes. I can’t copy the error without this post being marked as spam!!!

          S 2 Replies Last reply Aug 20, 2022, 1:38 PM Reply Quote 0
          • S Away
            sdetweil @Redicaljk
            last edited by Aug 20, 2022, 1:38 PM

            @Redicaljk send to me in email…
            same userid at gmail

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Aug 20, 2022, 1:43 PM Reply Quote 0
            • S Away
              sdetweil @Redicaljk
              last edited by Aug 20, 2022, 1:38 PM

              @Redicaljk did some other module need a library?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • R Offline
                Redicaljk @sdetweil
                last edited by Aug 20, 2022, 1:43 PM

                @sdetweil just emailed you.

                S 2 Replies Last reply Aug 20, 2022, 1:43 PM Reply Quote 0
                • S Away
                  sdetweil @Redicaljk
                  last edited by Aug 20, 2022, 1:43 PM

                  @Redicaljk looking at it

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Aug 20, 2022, 1:47 PM Reply Quote 0
                  • S Away
                    sdetweil @sdetweil
                    last edited by sdetweil Aug 20, 2022, 2:03 PM Aug 20, 2022, 1:47 PM

                    @Redicaljk workaround, do

                    cd ~/MagicMirror
                    nano package.json
                    

                    scroll down to the line that looks like this

                    		"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
                    

                    change to look like this

                    		"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron --no-sandbox js/electron.js",
                    

                    ctrl-o
                    to save the changed file
                    ctrl-x to exit nano

                    then npm start to test

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @Redicaljk
                      last edited by Aug 20, 2022, 2:03 PM

                      @Redicaljk see my post above

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      R 1 Reply Last reply Aug 20, 2022, 2:06 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        13/24
                        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