Read the statement by Michael Teeuw here.
MM not loading after software update
-
@sdetweil just emailed you.
-
@Redicaljk looking at it
-
@Redicaljk workaround, do
cd ~/MagicMirror nano package.json
scroll down to the line that looks like this
"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
change to look like this
"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron --no-sandbox js/electron.js",
ctrl-o
to save the changed file
ctrl-x to exit nanothen npm start to test
-
@Redicaljk see my post above
-
@sdetweil Success! Thank you. MM now loads and does not crash but Weather module is not loading and there’s an error in the calendar module.
-
@Redicaljk show the errors, email if required
-
@sdetweil just emailed you.
-
@Redicaljk k… not sure on calendar…
on onthisday do
cd ~/MagicMirror/modules/MMM-OnThisDay rm -rf node_modules rm package-lock.json npm install --omit=dev
then try again , works here
-
@sdetweil I really don’t know how to thank you. MM is back up and working as before including the calendar, weather and on this day.
Do you know what caused this issue? Was it the software update?
-
@Redicaljk looks like the sw update updated node and messed everything up…
to update MagicMirror (next release Oct 1) , see my scripts
https://github.com/sdetweil/MagicMirror_scriptsthey do all this remove/npm install for the base and every module and fix the missing libs too… I will add jsdom to the list