Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Updated, but 'MMM-EventHorizon' still shows as being behind.

    Troubleshooting
    4
    6
    715
    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
      Richard238 last edited by

      ‘MMM-EventHorizon’ says my MM is 27 commits behind.

      I’ve updated, twice, but still the same 27 commits message remains.
      Any idea why, please?

      Thanks.

      lavolp3 1 Reply Last reply Reply Quote 0
      • yawns
        yawns Moderator last edited by

        @richard238 said in Updated, but 'MMM-EventHorizon' still shows as being behind.:

        Please, commit your changes or stash them before you can merge

        If you are sure you did not make any changes, then run this in the MMM-EventHorizon folder:

        git reset --hard
        git pull
        npm install
        
        R 1 Reply Last reply Reply Quote 1
        • lavolp3
          lavolp3 Module Developer @Richard238 last edited by lavolp3

          @richard238 Did you mean the other way around?
          Like “MM says your MMM-EventHorizon is 27 commits behind”

          Then go into modules/MMM-EventHorizon
          and do a

          git pull
          npm install
          

          You need to update the module (or better, the git repository) that is mentioned in the header. For that you need to go into the module folder and do above.
          Every 3rd party module is it’s own repository and needs to be maintained on its own.

          1 Reply Last reply Reply Quote 1
          • R
            Richard238 last edited by

            pi@raspberrypi:~/MagicMirror/modules/MMM-EventHorizon $ git pull && npm installUpdating 73d1110..6d5a53a
            error: Your local changes to the following files would be overwritten by merge:
            	MMM-EventHorizon.js
            Please, commit your changes or stash them before you can merge.
            Aborting
            
            

            What does that mean?
            I think I’ve made any changes to the Event Horizon module.

            1 Reply Last reply Reply Quote 0
            • yawns
              yawns Moderator last edited by

              @richard238 said in Updated, but 'MMM-EventHorizon' still shows as being behind.:

              Please, commit your changes or stash them before you can merge

              If you are sure you did not make any changes, then run this in the MMM-EventHorizon folder:

              git reset --hard
              git pull
              npm install
              
              R 1 Reply Last reply Reply Quote 1
              • R
                Richard238 @yawns last edited by

                @yawns That’s fixed it, thank you!

                1 Reply Last reply Reply Quote 0
                • Mykle1
                  Mykle1 Project Sponsor Module Developer last edited by

                  Thanks @yawns and @lavolp3 for looking out while I was at work. Somebody has to pay for all my toys. 🙂

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy