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.9k 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.
    • O Offline
      ostfilinchen
      last edited by

      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

        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

        strawberry 3.141S 1 Reply Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @ostfilinchen
          last edited by

          @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

            @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

            strawberry 3.141S 1 Reply Last reply Reply Quote 0
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer @bluecaka69
              last edited by

              @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 Reply Quote 0
              • B Offline
                bluecaka69 @strawberry 3.141
                last edited by bluecaka69

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

                strawberry 3.141S yawnsY 2 Replies Last reply Reply Quote 0
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer @bluecaka69
                  last edited by

                  @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
                  • yawnsY Offline
                    yawns Moderator @bluecaka69
                    last edited by

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

                    lucallmonL 1 Reply Last reply Reply Quote 1
                    • lucallmonL Offline
                      lucallmon @yawns
                      last edited by

                      @yawns so what do I do to get rid of the error then?

                      mochmanM 1 Reply Last reply Reply Quote 0
                      • mochmanM Offline
                        mochman Module Developer @lucallmon
                        last edited by mochman

                        @lucallmon If you don’t care about the changes you made to those files then you can run
                        git stash from your MagicMirror directory. You should be able to run the git pull command after that.

                        If you want to keep them, I’d just copy those files to somewhere not in your MagicMirror directory, run the stash command, pull the new MM, and put them back if you think they aren’t going to break anything in 2.1.1

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