Read the statement by Michael Teeuw here.
MagicMirror Goes blackscreen overnight
-
@demetry07 not specifically… but before ctrl-Q, do
ctrl-shift-i to open the developers window, select the tab labeled ‘console’ and scroll up to see if there is an error reported… usually red text…the black screen means some script failed hard and the browser UI can’t continue
-
Thanks I will check it in the morning when it does it again.
-
Checked any errors and this is what came up.
Thoughts?
8080/modules/MMM-Snow//MMM-Snow.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1 Refused to execute script from ‘http://localhost:8080/modules/MMM-Snow//MMM-Snow.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
loader.js:187 Error on loading script: modules/MMM-Snow//MMM-Snow.js
script.onerror @ loader.js:187
:8080/modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1 Refused to execute script from ‘http://localhost:8080/modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
loader.js:187 Error on loading script: modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js
script.onerror @ loader.js:187
(index):1 Refused to apply style from ‘http://localhost: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:203 Error on loading stylesheet: css/custom.css
stylesheet.onerror @ loader.js:203
:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined
at HTMLScriptElement.script.onload (:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77)
maps.googleapis.com/maps/api/js?key=AIzaSyDo3gOotJfC2vkH3fugcheqIuCg-h0qRZ4:139 You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
Vi @ maps.googleapis.com/maps/api/js?key=AIzaSyDo3gOotJfC2vkH3fugcheqIuCg-h0qRZ4:139
:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined
at HTMLScriptElement.script.onload (:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77)
api.openweathermap.org/data/2.5/forecast/daily?id=4393217&units=imperial&lang=en&APPID=98626cd176b5075d4d8b1fba0971e8f8:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
:8080/modules/default/weatherforecast//weatherforecast.js:266 weatherforecast: Your AppID does not support long term forecasts. Switching to fallback endpoint.
weatherRequest.onreadystatechange @ :8080/modules/default/weatherforecast//weatherforecast.js:266
(index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled. -
@demetry07 said in MagicMirror Goes blackscreen overnight:
MMM-GoogleMapsTraffic.js:77 Unc
that module has a bug, get the fix from my repo . .
do
cd ~/MagicMirror/modules mv MMM-GoogleMapsTraffic MMM-GoogleMapsTraffic.old git clone https://github.com/sdetweil/MMM-GoogleMapsTrafficrestart your mirror
I don’t know why the others, unless it is because of this one…
-
Ok updated and restarted. Will update in the morning or if it fails before then.
Thank you very much @sdetwil
-
@demetry07 any update?
-
@sdetweil Yes no black screen this morning that fixed it!
-
@demetry07 woohoo!!.. thanks for the update!
-
@sdetweil I am glad you told me about the CTRL + Shift + I. I was able to use that to fix some of the other Modules I was using.
-
@demetry07 awesome!!..
-
I am having what appears to be the same issue: “screen going black after X hours and the cursor in the top left of the screen”
How do I preform this with no keyboard/mouse attached?
-
@Raksasas you can start in dev mode w
npm start devFrom the MagicMirror folder.
But you need a mouse I think to select the tab.
If you have
address: "0.0.0.0", IpWhiteList: [],In config.js, then you could use chrome on your PC to connect to the mirror and open the dev window there
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