Read the statement by Michael Teeuw here.
Black screen after changing the modules' order in config
-
my MMM-Face-Recognition-SMAI module is unable to appear on the screen once added, while zero error was reported.


I ran the part indepently and it worked successfully. (able to detect, recognize and send out the user’s name)
so i tried to change its order in the config.js, and once it was on top of every other modules, none were able to be seen and All I got was black screen.What’s wrong? Is it a version problem or something? really confused.
magicmirror@2.17.1 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[21.10.2021 18:20.16.308] [LOG] Starting MagicMirror: v2.17.1
[21.10.2021 18:20.16.316] [LOG] Loading config …
[21.10.2021 18:20.16.323] [LOG] Loading module helpers …
[21.10.2021 18:20.16.330] [LOG] Initializing new module helper …
[21.10.2021 18:20.16.331] [LOG] Module helper loaded: MMM-Face-Recognition-SMAI
[21.10.2021 18:20.16.334] [LOG] No helper found for module: alert.
[21.10.2021 18:20.16.350] [LOG] Initializing new module helper …
[21.10.2021 18:20.16.351] [LOG] Module helper loaded: updatenotification
[21.10.2021 18:20.16.352] [LOG] No helper found for module: clock.
[21.10.2021 18:20.16.526] [LOG] Initializing new module helper …
[21.10.2021 18:20.16.527] [LOG] Module helper loaded: calendar
[21.10.2021 18:20.16.528] [LOG] No helper found for module: compliments.
[21.10.2021 18:20.16.529] [LOG] No helper found for module: weather.
[21.10.2021 18:20.16.529] [LOG] All module helpers loaded.
[21.10.2021 18:20.16.647] [LOG] Starting server on port 8080 …
[21.10.2021 18:20.16.664] [LOG] Server started …
[21.10.2021 18:20.16.665] [LOG] Connecting socket for: MMM-Face-Recognition-SMAI
[21.10.2021 18:20.16.667] [LOG] Connecting socket for: updatenotification
[21.10.2021 18:20.16.668] [LOG] Connecting socket for: calendar
[21.10.2021 18:20.16.669] [LOG] Starting node helper for: calendar
[21.10.2021 18:20.16.669] [LOG] Sockets connected & modules started …
[21.10.2021 18:20.17.004] [LOG] Launching application.
[21.10.2021 18:20.18.769] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
[21.10.2021 18:20.20.212] [INFO] Calendar-Fetcher: Broadcasting 4 events. -
@nicole open the developers window, ctrl-shift-i, and select the console tab. scroll up to see any errors usually red text
-
@sdetweil it appears that I have 4 errors but I have no idea how to deal with it:confounded_face:
Refused to apply style from ‘http://0.0.0.0:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
loader.js:214 Error on loading stylesheet: css/custom.css
Uncaught TypeError: Cannot read property ‘appendChild’ of undefined
at main.js:36
at Array.forEach ()
at createDomObjects (main.js:20)
at Object.modulesStarted (main.js:502)
at startModules (loader.js:55)
at loader.js:38
at HTMLLinkElement.stylesheet.onerror (loader.js:216)Refused to apply style from ‘http://0.0.0.0:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
-
@nicole custom.css messages are because it doesn’t exist by default
create an empty one by
touch ~/MagicMirror/css/custom.cssthe other error is the problem.
I would move the reco module to the bottom again.
-
@sdetweil get it. thank u sooo much!
-
This post is deleted! -
@hango oh my gosh
sorry for such stupid mistake:person_facepalming_light_skin_tone:
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