• 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 7.6k 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 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
                  • L Offline
                    lucallmon @yawns
                    last edited by Apr 4, 2017, 1:31 AM

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

                    M 1 Reply Last reply Apr 4, 2017, 2:12 AM Reply Quote 0
                    • M Offline
                      mochman Module Developer @lucallmon
                      last edited by mochman Apr 4, 2017, 2:13 AM Apr 4, 2017, 2:12 AM

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