Read the statement by Michael Teeuw here.
Blank mm after update
-
Just to be clear, I’m a girl… ;)
The module worked as a charm before the update. So you think I should just skip the apostrophe on the updateInterval and hideBorder? -
@kvicksson ok… before the update it worked…
does the module contain a package.json file?
if so you must also run npm install in the module folder as the version of electron changed in 2.8.0
in the future, i hope my update script will help solve these problems…
see
https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing -
@kvicksson the rules are text needs quotes (’ or " matching)
numbers and true/false should NOT have quotes… as they become strings and not numeric or logical valuesif variable == true will fail with quoted values…
-
@lavolp3 said in Blank mm after update:
well with the config:check he would not have found the error, would he?
In this case perhaps not, but it cannot hurt to run it in order to exclude error(s) before and after this part of the config.
Normally a'true'
versustrue
would not cause a black screen, but I might be wrong.
And a trouble shooting guide would have to start with theconfig:check
IMHO. -
@evroom said in Blank mm after update:
Normally a ‘true’ versus true would not cause a black screen
u don’t know how the module code might fail…
which is what causes the blackscreen to begin with -
@sdetweil said in Blank mm after update:
which is what causes the blackscreen to begin with
Tried the module myself.
https://github.com/paphko/mmm-weatherchartpi@raspberrypi:~/MagicMirror $ pm2 logs --lines 100 0|mm | Starting MagicMirror ... 0|mm | 0|mm | > magicmirror@2.8.0 start /home/pi/MagicMirror 0|mm | > sh run-start.sh 0|mm | 0|mm | Starting MagicMirror: v2.8.0 0|mm | Loading config ... 0|mm | Loading module helpers ... 0|mm | No helper found for module: alert. 0|mm | Initializing new module helper ... 0|mm | Module helper loaded: updatenotification 0|mm | Loading module helpers ... 0|mm | No helper found for module: alert. 0|mm | Initializing new module helper ... 0|mm | Module helper loaded: updatenotification 0|mm | Whoops! There was an uncaught exception... 0|mm | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|mm | Launching application.
Indeed a black screen.
Now how to help the girl from Stråvalla ? -
@evroom said in Blank mm after update:
0|mm | No helper found for module: alert.
0|mm | Initializing new module helper …
0|mm | Module helper loaded: updatenotification
0|mm | Loading module helpers …
0|mm | No helper found for module: alert.
0|mm | Initializing new module helper …
0|mm | Module helper loaded: updatenotification
0|mm | Whoops! There was an uncaught exception…seems odd that there would be two invocations of these modules…
but as a test, in MagicMirror/config/config.js add
disabled: true,
to both those modules, and restart mm and see what happens
-
missing a required node package ‘del’
no package.json to inform the user
-
warning, warning… copy and save
MagicMirror/modules/node_modules/node_helper (folder, which contains index.js)
then
cd ~/MagicMirror/modules/mmm-weatherchart npm install del
check for a missing
MagicMirror/modules/node_modules/node_helper folder
and if so, copy it backi opened an issue with mmm-weatherchart
-
@sdetweil said in Blank mm after update:
seems odd that there would be two invocations of these modules…
I have only one mmm-weatherchart module present.
When disabled everything is fine.
However, I forgot to remove the single quotes, as I just copy/pasted the config from the thread.
Corrected it, but now I get even stronger things.0|mm | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'del'
I do not have any string with ‘del’ in my config :worried_face: