Read the statement by Michael Teeuw here.
Update Help
-
Hello,
I’m having some trouble with the update when I tried to install I get this error
Updating de57daa..b508a62 error: Your local changes to the following files would be overwritten by merge: package-lock.json Please commit your changes or stash them before you merge. Abortingwhen I try to remove the offending file I get this
rm: cannot remove 'pacage-lock.json': No such file or directory pi@raspberrypi:~/MagicMirror $ rm package-lock.json rm: cannot remove 'package-lock.json': No such file or directoryDoes anyone have any clue how I proceed?
-
@jhwwhite
I had a similar problem.
Have you tried this?
Inside the MagicMirror directory:
git stash
Then
git pull
Then
npm install
Afte that search in which module the package file is located and
npm install -
That did it! Thanks so much!
-
@thedoorsfanatic I tried this but this happened when I tried
git stash
-
@jhwwhite I’m a similar situation, but with a few more lines to my error message

-
Try it like this:
Run the following command in the MagicMirror folder
rm package-lock.json rm vendor/package-lock.jsonThen execute in the folder the usual command for the upload
git pull && npm installNow it should work
-
@DæmonEyes
Just fill in your github user email and username -
@DæmonEyes
This is what worked for me but I am a beginner, too
Inside the MagicMirror directory:
git stash
Then
git pull
Then
npm install
After that search for modules that use package.json files, go to their directories and
npm install -
@jhwwhite
Great, I am glad that worked for you, too! -
@thedoorsfanatic Thanks, I wasn’t sure what email/username they wanted and I didn’t even have a github profile, so I created one. And then everything worked after that!
-
I had the same issue!
Thank You very much, You rescued me!!!Now, all works fine and the upgrade from 2.5 to 2.7 worked very nice!
juergli
-
@juergli Great, that makes me very happy :)
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