MagicMirror Forum

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

    help with updating MM

    Troubleshooting
    3
    4
    1345
    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.
    • sithas
      sithas last edited by

      noob question I’m tring to update my MM but I’m getting errors
      error: Your local changes to the following files would be overwritten by merge:
      modules/default/calendar/calendar.js
      modules/default/currentweather/currentweather.js
      modules/default/weatherforecast/weatherforecast.js
      Please, commit your changes or stash them before you can merge.
      Aborting
      I’m not sure what if anything i changed so how can fix? also what is meant by slashing just putting / around the lines / ?

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

        @sithas said in help with updating MM:

        I’m not sure what if anything i changed so how can fix?

        The error is telling you that you made changes to these three files:

        modules/default/calendar/calendar.js
        modules/default/currentweather/currentweather.js
        modules/default/weatherforecast/weatherforecast.js
        

        It is also telling you that your changes won’t be saved if you update, so it cancels the update. It’s likely that you changed some options in those files rather than making those changes in the config.js file. It is not recommended that you edit the module files for exactly this reason, unless you absolutely know what you are doing. Only change options in the config.js file.

        Easiest fix:
        Replace those files with their defaults and then run the update.

        Create a working config
        How to add modules

        Snille 1 Reply Last reply Reply Quote 0
        • Snille
          Snille Module Developer @Mykle1 last edited by

          @sithas

          Easiest fix:
          Replace those files with their defaults and then run the update.

          You can also “stash” your changes with git stash -u
          Then if you want you can reapply your changes again after updating with git stash pop

          Or, you can just “kill” the changes with git clean -f
          But then you WILL loose what you have edited in the files for ever!

          If you cant find it, make it and share it!
          Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

          Mykle1 1 Reply Last reply Reply Quote 2
          • Mykle1
            Mykle1 Project Sponsor Module Developer @Snille last edited by

            @Snille said in help with updating MM:

            You can also “stash” your changes with git stash -u
            Then if you want you can reapply your changes again after updating with git stash pop
            Or, you can just “kill” the changes with git clean -f
            But then you WILL loose what you have edited in the files for ever!

            "I’m not sure what if anything i changed . . . "

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • 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