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 doesnt work after update to version 2.26

    Scheduled Pinned Locked Moved Bug Hunt
    30 Posts 2 Posters 9.0k 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.
    • D Offline
      davismorehead
      last edited by

      how do I do that?

      also if I run the command
      pi@raspberrypi:~ $ systemctl get-default
      graphical.target

      I get graphical even though I don’t have the file

      1 Reply Last reply Reply Quote 0
      • D Offline
        davismorehead
        last edited by

        I did

        npm update.

        i did pm2 start mm

        and it works. Thank you very much

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

          @davismorehead what npm update?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • D Offline
            davismorehead
            last edited by

            I will look at your script later.

            So in the future I should run npm update not npm install?

            S 1 Reply Last reply Reply Quote 0
            • D Offline
              davismorehead
              last edited by

              cd MagicMirror/
              pi@raspberrypi:~/MagicMirror $ npm update

              added 495 packages, and changed 6 packages in 3m

              195 packages are looking for funding
              run npm fund for details

              That worked

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

                @davismorehead i don’t understand

                when we release a new version, we have dependency changes additions, removals

                so to handle all that you do
                npm run install-mm
                install-mm is a script tag in the package.json

                it just turns off as much of the noise as we can…

                my script does the same thing…

                I don’t know what npm update does. we don’t use it

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil said in MM doesnt work after update to version 2.26:

                  ad you could try upgrade, with force instead of apply.

                  so based on this post i Tried npm update. Not sure what you meant me to do. So sounds like we solved it but don’t know why.

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

                    @sdetweil said in MM doesnt work after update to version 2.26:

                    ad you could try upgrade, with force instead of apply.

                    so based on this post i Tried npm update. Not sure what you meant me to do. So sounds like we solved it but don’t know why.

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

                      @davismorehead what I meant was to use my upgrade script

                      Screenshot at 2024-01-08 13-57-03.png

                      its a two step process…

                      test
                      do

                      on the ‘do’
                      its the same command as test, but with the parm ‘apply’ on the end

                      I check if you have already upgraded, and won’t let you do it again, accidentally

                      SO, as you HAVE already downloaded the new code, I would just end
                      but if you change apply to force
                      then upgrade will happen again …

                      my objective is to NOT screw up your wonderful mirror system .

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        davismorehead
                        last edited by

                        oh. I have to figure that out since I cannot get it to run because of the default.target file not existing on my pi.

                        Again thanks for your help.

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