• 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.

help with updating MM

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 3 Posters 1.7k 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
    sithas
    last edited by Aug 22, 2017, 4:52 PM

    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 / ?

    M 1 Reply Last reply Aug 22, 2017, 8:39 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @sithas
      last edited by Mykle1 Aug 22, 2017, 8:39 PM Aug 22, 2017, 8:39 PM

      @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

      S 1 Reply Last reply Aug 22, 2017, 8:54 PM Reply Quote 0
      • S Offline
        Snille Module Developer @Mykle1
        last edited by Aug 22, 2017, 8:54 PM

        @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

        M 1 Reply Last reply Aug 23, 2017, 12:03 AM Reply Quote 2
        • M Offline
          Mykle1 Project Sponsor Module Developer @Snille
          last edited by Aug 23, 2017, 12:03 AM

          @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
          1 / 1
          • First post
            1/4
            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