Read the statement by Michael Teeuw here.
v2.1.1 Update Error
-
@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
-
@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 commandI 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
-
@bluecaka69 with my command you will loose your changes you can copy the files to a backup directory first
-
@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??
-
@bluecaka69 no those files which get complaint about modifications but you can save your config as well
-
@bluecaka69
No, not the config file. You changed things inclock.js
andcompliments.js
and thereforegit pull
cannot update these files to be exactly like the updates ones in the repository. -
@yawns so what do I do to get rid of the error then?
-
@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 thegit 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
-
@strawberry-3.141 this worked! Thanks!