SOLVED Updating 6db61b4..de57daa
I have the same problem as @costascontis and will try to delete that file.
But I also would like to know what the latest version of Node.js is.
At https://github.com/nodesource/distributions#debinstall I can see a version 11.x.
my version on the pi 3B+ is v9.11.2
Is that the latest version or must I update to v11.x via:
curl -sL https://deb.nodesource.com/setup_11.x | bash -
apt-get install -y nodejs
Just moved the package-lock.js to a new folder “Old files” and run “sudo git pull && npm install” again and it worked for me.
I do get some warnings from “firstname.lastname@example.org” and 2 from npm skipping optional dependency’s but below that it reads: MagicMirror installation succesfull! NICE!.. well…that last word isn’t part of the update! Hahaha
And below that it found 9 vulnerabilities. Is that a problem?
@mwel1977 even the calendar as mine is up the swannie
@dazza120 I’m not using the standard calendar.
But after the update my MM2 works like before. Only the modules I’m working on are still not showing correctly…becouse I’m working on them to get them to work properly. :smiling_face_with_open_mouth_cold_sweat: :smiling_face_with_open_mouth_cold_sweat:
But what do you mean with: “…is up the swannie”?
you mean it doesn’t work?
up the river…
@mwel1977 yep UK local slang, anyway I’ve sorted it now I downloaded the Magic Mirror from github on the Pi, unzipped it and then copied the whole folder to the module default location and over wrote everything, it was missing a lot of files for some reason. Anyway enough said it’s working like it should now
@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:
Screwyoudriver last edited by
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")