• 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 4.8k 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 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 Offline
      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
      • R Offline
        Redicaljk @sdetweil
        last edited by Aug 20, 2022, 2:06 PM

        @sdetweil Success! Thank you. MM now loads and does not crash but Weather module is not loading and there’s an error in the calendar module.

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

          @Redicaljk show the errors, email if required

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil just emailed you.

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

              @Redicaljk k… not sure on calendar…

              on onthisday do

              cd ~/MagicMirror/modules/MMM-OnThisDay
              rm -rf node_modules
              rm package-lock.json
              npm install --omit=dev
              

              then try again , works here

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil I really don’t know how to thank you. MM is back up and working as before including the calendar, weather and on this day.

                Do you know what caused this issue? Was it the software update?

                S 1 Reply Last reply Aug 20, 2022, 3:14 PM Reply Quote 0
                • S Offline
                  sdetweil @Redicaljk
                  last edited by sdetweil Aug 20, 2022, 3:15 PM Aug 20, 2022, 3:14 PM

                  @Redicaljk looks like the sw update updated node and messed everything up…

                  to update MagicMirror (next release Oct 1) , see my scripts
                  https://github.com/sdetweil/MagicMirror_scripts

                  they do all this remove/npm install for the base and every module and fix the missing libs too… I will add jsdom to the list

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 3
                  • 3 / 3
                  3 / 3
                  • First post
                    21/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