Read the statement by Michael Teeuw here.
Black screen after update 2.11 (electron)
-
I have only git pull yesterday in cd Magicmirror and in all modules npm install.
After this I get a black screen so I have rebuild electron in cd magicmirror and all modules. and npm install again. -
@Blackmirror said in Black screen after update 2.11 (electron):
rebuild electron in cd magicmirror and all modules. and npm install again.
and npm install (in base and module folders) (as this will copy down new files based on the MM changes)
and THEN
electron-rebuildAND you did npm install in MagicMirror folder, BEFORE all modules
-
yes. first cd magicmirror after this the modules
-
@sdetweil maybe run my upgrade script …
from here
https://github.com/sdetweil/MagicMirror_scriptsbash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
-
@sdetweil said in Black screen after update 2.11 (electron):
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” force
ok. Now I have no black screnn but the mirror say i must install a config.js, but my old config.js is in the folder.
-
@Blackmirror how did u start mm??? pm2 or npm start?
open the developers window, ctrl-shift-i on keyboard, select the console tab, and scroll up to find any errors (usually red text)…
this same error is displayed in a module crashes hard
-
sorry i have not all // delete from the MMM-Buttons module. It the same blank mirror.
At I get the same errors in the MMM-Buttons module after npm install. Your script have not wrote that it is make npm install at the MMM-Buttons module
-
@Blackmirror said in Black screen after update 2.11 (electron):
MMM-Buttons
it should, there is a package.json file present…
please show me upgrade.log
~/MagicMirror/installers/upgrade.log
-
Yes it have it.
I can not open the log file.
No authorization. -
@Blackmirror eh? was created in user name running the script
please do
ls -laF ~/MagicMirror/installers
show results