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

v2.1.1 Update Error

Scheduled Pinned Locked Moved Troubleshooting
13 Posts 6 Posters 6.3k Views 6 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.
  • L Offline
    lucallmon
    last edited by Apr 2, 2017, 11:08 AM

    Tried to run the update and this is what I got:

    pi@raspberrypi:~ $ cd MagicMirror
    pi@raspberrypi:~/MagicMirror $ git pull && npm install
    Updating 8010e62..1a2b4f8
    error: Your local changes to the following files would be overwritten by merge:
    	modules/default/clock/clock.js
    	modules/default/compliments/compliments.js
    Please, commit your changes or stash them before you can merge.
    Aborting
    pi@raspberrypi:~/MagicMirror $
    

    It completely aborts. Not sure what to do.

    S 1 Reply Last reply Apr 2, 2017, 11:37 AM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @lucallmon
      last edited by Apr 2, 2017, 11:37 AM

      @lucallmon this is because you changed those mentioned files manually. If you want to revert your changes permamently do git checkout modules/default/clock/clock.js modules/default/compliments/compliments.js and rerun your command

      Please create a github issue if you need help, so I can keep track

      B L 2 Replies Last reply Apr 3, 2017, 1:57 PM Reply Quote 1
      • O Offline
        ostfilinchen
        last edited by Apr 2, 2017, 12:31 PM

        Hi all,

        I get an error during loading says m.loaded is not a function. Is there an workaround?

        Regards
        Daniel

        1 Reply Last reply Reply Quote 0
        • O Offline
          ostfilinchen
          last edited by Apr 3, 2017, 12:33 PM

          Hi all,

          i found the module that gives me the error. It’s the MMM-PIR-Sensor module. The error says, that electron has the wrong abi-version: Expected 49, got 53.

          What can i do to fix it? I have remove the node_modules Folder in MM\modules\MMM-PIR-Sensor and install it again. But the error is still the same.

          Daniel

          S 1 Reply Last reply Apr 3, 2017, 12:40 PM Reply Quote 0
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer @ostfilinchen
            last edited by Apr 3, 2017, 12:40 PM

            @ostfilinchen you have to rebuild like @yawns mentioned here https://forum.magicmirror.builders/topic/948/error-found-error-module-version-mismatch-expected-50-got-46

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 1
            • B Offline
              bluecaka69 @strawberry 3.141
              last edited by Apr 3, 2017, 1:57 PM

              @strawberry-3.141 said in v2.1.1 Update Error:

              @lucallmon this is because you changed those mentioned files manually. If you want to revert your changes permamently do git checkout modules/default/clock/clock.js modules/default/compliments/compliments.js and rerun your command

              I got this for compliments as well if info what you mentioned will it keep everything the same?? I had a heck of a time getting it to work I don’t want to loose anything

              S 1 Reply Last reply Apr 3, 2017, 2:28 PM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @bluecaka69
                last edited by Apr 3, 2017, 2:28 PM

                @bluecaka69 with my command you will loose your changes you can copy the files to a backup directory first

                Please create a github issue if you need help, so I can keep track

                B 1 Reply Last reply Apr 3, 2017, 2:33 PM Reply Quote 0
                • B Offline
                  bluecaka69 @strawberry 3.141
                  last edited by bluecaka69 Apr 3, 2017, 2:33 PM Apr 3, 2017, 2:33 PM

                  @strawberry-3.141 so just make a copy of the config file. Run your command, then git pull && npm install. The transfer over my saved config??

                  S Y 2 Replies Last reply Apr 3, 2017, 2:49 PM Reply Quote 0
                  • S Offline
                    strawberry 3.141 Project Sponsor Module Developer @bluecaka69
                    last edited by Apr 3, 2017, 2:49 PM

                    @bluecaka69 no those files which get complaint about modifications but you can save your config as well

                    Please create a github issue if you need help, so I can keep track

                    1 Reply Last reply Reply Quote 1
                    • Y Offline
                      yawns Moderator @bluecaka69
                      last edited by Apr 3, 2017, 2:49 PM

                      @bluecaka69
                      No, not the config file. You changed things in clock.js and compliments.js and therefore git pull cannot update these files to be exactly like the updates ones in the repository.

                      L 1 Reply Last reply Apr 4, 2017, 1:31 AM Reply Quote 1
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        3/13
                        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