Read the statement by Michael Teeuw here.
Getting an error on update
-
I enter
git pull && npm install
I am seeing this error:
error: Your local changes to the following files would be overwritten by merge:
package-lock.json
package.jso
Please commit your changes or stash them before you merge.I am a noob with git. What should I do to complete the update?
-
@CliffordW From within the MagicMirror folder do the following:
git reset --hardThen do
git pull && npm installThat should solve your problem
-
@mumblebaj Thanks!
-
I just removed those files out of MagicMirror by adding them to the desktop and ran the commands with no issue as well.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login