Read the statement by Michael Teeuw here.
Updating 6db61b4..de57daa
-
@mwel1977 The vulnerabilities needs to be fixed by the module developer. Thats not your responsibility, you can just ignore them.
Because of the Node.js version: You don’t have to update to a newer version of Node.js. Latest isn’t always the greatest, there are some known compatibility issues with v11.
-
this one helped me:
-
I renamed the old folder and did a fresh installation. Half an hour of work if you use the old config and css.
-
I do have an active internet connection. I typically admin my mirror through SSH from a separate Linux machine and I’m able to connect to the mirror and update other items without issue. git status gives the following.
On branch master Your branch is behind 'origin/master' by 124 commits, and can be fast-forwarded. (use "git pull" to update your local branch) Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: fonts/package-lock.json modified: package-lock.json modified: package.json modified: vendor/package-lock.json Untracked files: (use "git add <file>..." to include in what will be committed) core nohup.out no changes added to commit (use "git add" and/or "git commit -a")
-
@icephreaq - Give this a try:
cd ~/MagicMirror git stash git pull npm install
Also, @costascontis - You shouldn’t run the git commands as sudo. You may end up screwing up your permissions on the files pulled down from git.
-
I ended up removing all instances of package-lock.json and ran git pull and was able to successfully update. Thanks for everyone’s input on this!
-
@idoodler Okay. Thanks for that answer! hehehehe…
Anyway my MM2 is working like it should be after I moved that folder and did the git pull again.
But about the steps to take on how to update a module or a dependency or Node.js in my case… is that written down somewere here on the forum?
Like… all the steps someone needs to take in order to keep MM2 in shape? -
@mwel1977 get yourself MMM-RemoteControl and MMM-RemoteRepositories to get those modules updated easily, it will check through them and update automagically when you go into the html page
-
@dazza120 Thanks for the tip!
Downside of that is that I don’t learn how things work.
Doing it myself (with some help of you all wonderfull people here) is the best way of learning things.
I do have SSH setup so I can dail in via my smartphone…but first I need to get better in the commandline commands. -
@mwel1977 I use VNC on my Pi to connect to it then terminal and just install those like you would any module then edit the config file, then just log into the html page which would be the address of your device xxxxxx:8080/remote.html
and that’s the rest of the magic is done on that webpage