Read the statement by Michael Teeuw here.
Black Screen
-
@massivearts-0 you must be in the MagicMirror directory.
pi@officemirror:~ $ cd MagicMirror/ pi@officemirror:~/MagicMirror $ npm run config:check > magicmirror@2.16.0 config:check /home/pi/MagicMirror > node js/check_config.js [08.07.2021 16:19.03.333] [INFO] Checking file... /home/pi/MagicMirror/config/config.js [08.07.2021 16:19.03.575] [INFO] Your configuration file doesn't contain syntax errors :)
-
@bkeyport said in Black Screen:
you must be in the MagicMirror directory.
-
@massivearts-0 back down to
~/MagicMirror/
and try the command there. Also, the config file should be at~/MagicMirror/config/config.js
-
@bkeyport said in Black Screen:
@massivearts-0 back down to
~/MagicMirror/
and try the command there. Also, the config file should be at~/MagicMirror/config/config.js
Didn’t work
-
@massivearts-0 open a terminal window onto the pi
cd ~/MagicMirror npm run check:config
but as I said on discord
we need to see the messages that are output when u start MagicMirroryou either do
npm start
or pm2 startif pm2 then the command to display the logs is
pm2 logs --lines=100the black screen is probably a missing dependency module, and the messages will tell us which one
-
Maybe position: ‘position’, is your problem add a location on mirror like “top_left”
-
@djboob66 yes, he had “top_Bar” before, but that is not the black screen
maybe no content displayed as mm can’t figure out where to put it
system is case sensitive
-
the module he added didn’t document needing request
-
You did do
cd git clone https://github.com/amcolash/MMM-GoogleFit.git
cd MMM-GoogleFit
npm install
??? -
@djboob66 yes he did. but the module uses the request library without documenting it in the package.json
and request was removed from the MagicMirror package in 2.15.