Read the statement by Michael Teeuw here.
Black Screen
-
@bkeyport said in Black Screen:
@massivearts-0 the way you posted it, the forum corrupted it.
Please place ``` around the code next time.
That being said, go to the magicmirror directory, and type:
npm run config:checkIt’ll help you solve the errors.

-
@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 :) -
-
@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.jsDidn’t work
-
@massivearts-0 open a terminal window onto the pi
cd ~/MagicMirror npm run check:configbut 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.
-
@sdetweil how dare they remove libraries in the main program they don’t use anymore! 🤣🤣
-
@bkeyport and forced to stop using!!
-
Many sub library use again it, it’s very very long to depreciate a library ;)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
