Read the statement by Michael Teeuw here.
Unable to update modules
-
@sdetweil any way to remove it manually?
-
@KumarTRD to update MagicMirror itself, use my update script
see here
https://github.com/sdetweil/MagicMirror_scriptsits a 2 step process… run once to understand what is going on and things u might have to do, run second time to DO the update
-
-
@sdetweil thanks for the script I’ll save it for later use and it worked thanks!!
-
Resurrecting an old thread. Still fairly new to this stuff and trying to learn how to solve problems others have had before…
I’ve got notifications that several modules need to be updated and I’m trying to get them done. Currently attempting to update MMM-Remote-Control using the instructions provided :
cd ~/MagicMirror/modules/MMM-Remote-Control # adapt directory if you are using a different one
git pull
npm install # install (new) dependenciesI am getting the same messages as the OP. I am in the module folder and tried running the rm command and I get this:
~/MagicMirror/modules/MMM-Remote-Control $ rm package-lock.json
rm: cannot remove ‘package-lock.json’: No such file or directoryI thought maybe that meant that I had deleted the package-lock and tried running the update command again, but keep getting the same message.
I tried running the install script again, and when asked if I wanted to update (Y), I ended up with the same problem.
Appreciate any guidance. Running MM v2.30.0 (installed using Sam’s scripts) on RPI 3B+.
-
-
@sdetweil
~/MagicMirror/modules/MMM-Remote-Control $ git status
On branch master
Your branch is behind ‘origin/master’ by 8 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add/rm …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
modified: modules.json
deleted: package-lock.json
modified: package.jsonno changes added to commit (use “git add” and/or “git commit -a”)
-
-
@sdetweil
That worked! I have no idea what we just did, but the update went through and it’s rebooted just fine.Sam, you truly are a wizard in my mind. Thanks for all your time and effort helping us.
-
@sdetweil
That worked! No idea what we just did, but the update went through and MM worked fine after reboot, to include the module,Sam, you’re a wizard as far as I’m concerned. Thanks for taking the time to assist us less savvy folks.