Read the statement by Michael Teeuw here.
trouble updating module
-
@pat59 right something editing package.json and modules.json
can you do
git diff > somefile.txtit will list the changes
post so i can see
but most likely we will do on my scripts, do NOT save those files, and the originsls will be restored
or the brute force way
git reset --hard HEAD
-
patrick@raspberrypi:~ $ git diff >somefile.txt
warning: Pas un dépôt git. Utilisez --no-index pour comparer deux chemins hors d’un arbre de travail
usage : git diff --no-index []patrick@raspberrypi:~ $
-
@pat59 you must be in the module folder, same as when trying to update
please
cd ~/MagicMirror/modules/MMM-RemoteControl git diff >somefile.txt
-
nothing happens attached
the photo
THANKS -
@pat59 yes, the output has been sent to the file somefile.txt
please paste its content here
in linux the ‘rule’ is, if all is ok, produce no output… this was set when systems were connected over slow phone lines with modems… so no output was better than waiting to read all was good.
-
I copy paste the file and it shows me too many characters.
I copy and paste the file and remove txt it tells me invalid file type authorized jpg jpeg png gif what to do? -
@pat59 put in code block like always
paste text with empty line above and below
select text just pasted
hit the button </> above the messge editoryou cannot ‘attach’ files… only pictures…
there shouldn’t be that much in the paste output anyhow
neither of those files is very big
-
code_text ```}, + { + "longname": "MMM-Remote-Control-Repository", + "id": "MMRIZE/MMM-Remote-Control-Repository", + "url": "https://github.com/MMRIZE/MMM-Remote-Control-Repository", + "author": "MMRIZE", + "desc": "Plugin for `MMM-Remote-Control` to update installable modules automatically." + }, "longname": "MMM-Remote-Control", "id": "Jopyth/MMM-Remote-Control", @@ -147,18 +350,39 @@ "desc": "Cleanly shutdown (or reboot) your mirror, edit which modules are shown on your mirror and turn your monitor off and on from a simple website, i.e. from your smartphone. }, { - "longname": "MMM-Remote-Control-Repository", - "id": "eouia/MMM-Remote-Control-Repository", - "url": "https://github.com/eouia/MMM-Remote-Control-Repository", - "author": "eouia", - "desc": "Plugin for `MMM-Remote-Control` to update installable modules automatically." + "longname": "MM-Remote", + "id": "Klettner/MM-Remote", + "url": "https://github.com/Klettner/MM-Remote", + "author": "Klettner", + "desc": "Android 📱 and Windows-desktop 💻 app to control your MagicMirror² remotely. (Shutdown, reboot, toggle monitor on/off, change brightness of monitor, custom-commands, etc.)." + }, + {
-
@pat59 weird
in the module folder dogit reset --hard HEAD
this will restore all changed files back to the repo level
then your module update process should work
-
always the update message that appears