Read the statement by Michael Teeuw here.
Black Screen... I have not upgraded the MM2 system software.
-
here is a couple of snippets from the file…
> magicmirror@2.12.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-10-16 09:38:15.208] [LOG] Starting MagicMirror: v2.12.0 [2020-10-16 09:38:15.216] [LOG] Loading config ... [2020-10-16 09:38:15.220] [LOG] Loading module helpers ... [2020-10-16 09:38:15.222] [LOG] No helper found for module: alert. [2020-10-16 09:38:15.276] [LOG] Initializing new module helper ... [2020-10-16 09:38:15.277] [LOG] Module helper loaded: updatenotification [2020-10-16 09:38:15.278] [LOG] No helper found for module: clock. [2020-10-16 09:38:15.278] [LOG] No helper found for module: worldclock. [2020-10-16 09:38:15.635] [LOG] Initializing new module helper ... [2020-10-16 09:38:15.635] [LOG] Module helper loaded: calendar [2020-10-16 09:38:15.636] [LOG] No helper found for module: currentweather. [2020-10-16 09:38:15.636] [LOG] No helper found for module: weatherforecast. [2020-10-16 09:38:15.920] [LOG] Initializing new module helper ... [2020-10-16 09:38:15.920] [LOG] Module helper loaded: MMM-AVStock [2020-10-16 09:38:15.921] [LOG] No helper found for module: calendar_monthly_prev. [2020-10-16 09:38:15.921] [LOG] No helper found for module: calendar_monthly. [2020-10-16 09:38:15.922] [LOG] No helper found for module: calendar_monthly_next. [2020-10-16 09:38:15.952] [LOG] Initializing new module helper ... [2020-10-16 09:38:15.953] [LOG] Module helper loaded: newsfeed [2020-10-16 09:38:15.953] [LOG] No helper found for module: calendar_monthly_big. [2020-10-16 09:38:15.955] [LOG] Initializing new module helper ... [2020-10-16 09:38:15.955] [LOG] Module helper loaded: MMM-PiTemp [2020-10-16 09:38:15.956] [LOG] No helper found for module: MMM-page-indicator. [2020-10-16 09:38:15.956] [LOG] No helper found for module: MMM-pages. [2020-10-16 09:38:15.958] [LOG] Initializing new module helper ... [2020-10-16 09:38:15.958] [LOG] Module helper loaded: MMM-BackgroundSlideshow [2020-10-16 09:38:15.959] [LOG] All module helpers loaded. [2020-10-16 09:38:16.077] [LOG] Starting server on port 8080 ... [2020-10-16 09:38:16.090] [LOG] Server started ... [2020-10-16 09:38:16.091] [LOG] Connecting socket for: updatenotification [2020-10-16 09:38:16.092] [LOG] Connecting socket for: calendar [2020-10-16 09:38:16.093] [LOG] Starting node helper for: calendar [2020-10-16 09:38:16.094] [LOG] Connecting socket for: MMM-AVStock [2020-10-16 09:38:16.095] [LOG] Connecting socket for: newsfeed [2020-10-16 09:38:16.096] [LOG] Starting node helper for: newsfeed [2020-10-16 09:38:16.097] [LOG] Connecting socket for: MMM-PiTemp [2020-10-16 09:38:16.097] [LOG] Starting module helper: MMM-PiTemp [2020-10-16 09:38:16.098] [LOG] Connecting socket for: MMM-BackgroundSlideshow [2020-10-16 09:38:16.098] [LOG] Sockets connected & modules started ... [2020-10-16 09:38:16.182] [LOG] Launching application. [2020-10-16 09:38:18.729] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 [2020-10-16 09:38:18.740] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/***/private-***- Interval: 300000 [2020-10-16 09:38:18.744] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/***.calendar.google.com/private-***/basic.ics - Interval: 300000 [2020-10-16 09:38:18.811] [LOG] [AVSTOCK] Initialized. [2020-10-16 09:38:18.819] [LOG] Create new news fetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [2020-10-16 09:38:18.848] [LOG] Create new news fetcher for url: http://rss.cnn.com/rss/cnn_topstories.rss - Interval: 300000 [2020-10-16 09:38:18.849] [LOG] Create new news fetcher for url: https://feeds.npr.org/1001/rss.xml - Interval: 300000 [2020-10-16 09:38:18.851] [LOG] Create new news fetcher for url: https://www.click2houston.com/arcio/rss/tags/local/?size=10 - Interval: 300000 [2020-10-16 09:38:18.854] [LOG] Create new news fetcher for url: https://www.chron.com/rss/feed/Houston-and-Texas-272.php - Interval: 300000 [2020-10-16 09:38:18.857] [LOG] Create new news fetcher for url: http://feeds.bbci.co.uk/news/rss.xml - Interval: 300000 [2020-10-16 09:38:18.859] [LOG] Create new news fetcher for url: http://rssfeeds.khou.com/khou/local - Interval: 300000 [2020-10-16 09:38:18.910] [INFO] Checking git for module: worldclock [2020-10-16 09:38:18.943] [INFO] Checking git for module: MMM-AVStock [2020-10-16 09:38:18.982] [INFO] Checking git for module: calendar_monthly_prev [2020-10-16 09:38:18.984] [INFO] Checking git for module: calendar_monthly [2020-10-16 09:38:19.015] [INFO] Checking git for module: calendar_monthly_next [2020-10-16 09:38:19.017] [INFO] Checking git for module: calendar_monthly_big [2020-10-16 09:38:19.019] [INFO] Checking git for module: MMM-PiTemp [2020-10-16 09:38:19.058] [INFO] Checking git for module: MMM-page-indicator [2020-10-16 09:38:19.102] [INFO] Checking git for module: MMM-pages [2020-10-16 09:38:19.138] [INFO] Checking git for module: MMM-BackgroundSlideshow [2020-10-16 09:38:19.225] [LOG] <Buffer 34 38 2e 32 0a> [2020-10-16 09:38:20.014] [INFO] Newsfeed-Fetcher: Broadcasting 53 items. [2020-10-16 09:38:20.480] [INFO] Newsfeed-Fetcher: Broadcasting 61 items. [2020-10-16 09:38:20.819] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [2020-10-16 09:38:20.849] [INFO] Newsfeed-Fetcher: Broadcasting 58 items. [2020-10-16 09:38:20.979] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [2020-10-16 09:38:21.690] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [2020-10-16 09:38:21.807] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:38:21.949] [INFO] Calendar-Fetcher: Broadcasting 65 events. [2020-10-16 09:38:21.970] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:38:31.081] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [2020-10-16 09:39:18.685] [LOG] <Buffer 34 38 2e 37 0a> [2020-10-16 09:40:18.689] [LOG] <Buffer 34 39 2e 37 0a> [2020-10-16 09:41:18.631] [LOG] <Buffer 35 30 2e 36 0a> [2020-10-16 09:42:18.636] [LOG] <Buffer 35 31 2e 31 0a> [2020-10-16 09:43:18.384] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 09:43:18.385] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:43:18.408] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 09:43:18.409] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:43:18.422] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 09:43:18.423] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:43:18.657] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:43:18.663] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:43:18.668] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:43:18.727] [LOG] <Buffer 35 30 2e 36 0a> [2020-10-16 09:43:20.218] [INFO] Newsfeed-Fetcher: Broadcasting 53 items. [2020-10-16 09:43:20.829] [INFO] Newsfeed-Fetcher: Broadcasting 61 items. [2020-10-16 09:43:21.151] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [2020-10-16 09:43:21.532] [INFO] Newsfeed-Fetcher: Broadcasting 58 items. [2020-10-16 09:43:21.595] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [2020-10-16 09:43:21.828] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [2020-10-16 09:43:22.283] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:43:22.363] [INFO] Calendar-Fetcher: Broadcasting 65 events. [2020-10-16 09:43:31.436] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [2020-10-16 09:44:18.665] [LOG] <Buffer 35 30 2e 36 0a> [2020-10-16 09:45:18.683] [LOG] <Buffer 35 30 2e 36 0a> [2020-10-16 09:46:18.686] [LOG] <Buffer 35 30 2e 36 0a> [2020-10-16 09:47:18.690] [LOG] <Buffer 34 39 2e 32 0a> [2020-10-16 09:48:18.387] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 09:48:18.387] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:48:18.403] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 09:48:18.404] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:48:18.411] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 09:48:18.412] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:48:18.689] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:48:18.697] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:48:18.700] [LOG] <Buffer 35 31 2e 31 0a> [2020-10-16 09:48:18.713] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:48:20.793] [INFO] Newsfeed-Fetcher: Broadcasting 53 items. [2020-10-16 09:48:21.601] [INFO] Newsfeed-Fetcher: Broadcasting 59 items. [2020-10-16 09:48:21.841] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [2020-10-16 09:48:22.247] [INFO] Newsfeed-Fetcher: Broadcasting 58 items. [2020-10-16 09:48:22.342] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [2020-10-16 09:48:22.465] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [2020-10-16 09:48:22.751] [INFO] Calendar-Fetcher: Broadcasting 65 events. [2020-10-16 09:48:22.844] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:48:31.830] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [2020-10-16 09:49:18.682] [LOG] <Buffer 35 31 2e 31 0a> [2020-10-16 09:50:18.664] [LOG] <Buffer 35 30 2e 31 0a> [2020-10-16 09:51:18.675] [LOG] <Buffer 35 30 2e 31 0a> [2020-10-16 09:52:18.680] [LOG] <Buffer 35 30 2e 31 0a> [2020-10-16 09:53:18.393] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 09:53:18.395] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:53:18.418] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 09:53:18.419] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:53:18.429] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 09:53:18.430] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:53:18.646] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:53:18.680] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:53:18.686] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 09:53:18.767] [LOG] <Buffer 35 31 2e 31 0a>
then that sequence repeats for some length of time… and then here is a snippet from then end where i pressed CTRL-q
2020-10-16 10:44:18.666] [LOG] <Buffer 35 31 2e 36 0a> [2020-10-16 10:45:18.687] [LOG] <Buffer 35 31 2e 31 0a> [2020-10-16 10:46:18.687] [LOG] <Buffer 35 32 2e 31 0a> [2020-10-16 10:47:18.652] [LOG] <Buffer 35 31 2e 31 0a> [2020-10-16 10:48:18.384] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 10:48:18.385] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 10:48:18.404] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 10:48:18.405] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 10:48:18.416] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/private-***/basic.ics [2020-10-16 10:48:18.418] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 10:48:18.661] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 10:48:18.675] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 10:48:18.721] [LOG] <Buffer 35 31 2e 31 0a> [2020-10-16 10:48:18.744] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 10:48:24.142] [INFO] Newsfeed-Fetcher: Broadcasting 55 items. [2020-10-16 10:48:26.054] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [2020-10-16 10:48:26.288] [INFO] Newsfeed-Fetcher: Broadcasting 61 items. [2020-10-16 10:48:26.343] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [2020-10-16 10:48:27.437] [INFO] Newsfeed-Fetcher: Broadcasting 58 items. [2020-10-16 10:48:27.791] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [2020-10-16 10:48:27.851] [INFO] Calendar-Fetcher: Broadcasting 65 events. [2020-10-16 10:48:28.639] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 10:48:37.081] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [2020-10-16 10:49:18.685] [LOG] <Buffer 35 31 2e 36 0a> [2020-10-16 10:50:18.684] [LOG] <Buffer 35 32 2e 31 0a> [2020-10-16 10:53:19.045] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 10:53:24.523] [INFO] Newsfeed-Fetcher: Broadcasting 56 items. [2020-10-16 10:53:26.324] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [2020-10-16 10:53:26.578] [INFO] Newsfeed-Fetcher: Broadcasting 61 items. [2020-10-16 10:53:26.600] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [2020-10-16 10:53:27.816] [INFO] Newsfeed-Fetcher: Broadcasting 58 items. [2020-10-16 10:53:27.989] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [2020-10-16 10:53:28.193] [INFO] Calendar-Fetcher: Broadcasting 65 events. [2020-10-16 10:53:29.077] [INFO] Calendar-Fetcher: Broadcasting 4 events. [2020-10-16 10:53:38.160] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [2020-10-16 10:57:16.013] [LOG] Shutting down server... [2020-10-16 10:57:16.015] [LOG] Stopping module helper: updatenotification [2020-10-16 10:57:16.016] [LOG] Stopping module helper: calendar [2020-10-16 10:57:16.017] [LOG] Stopping module helper: MMM-AVStock [2020-10-16 10:57:16.017] [LOG] Stopping module helper: newsfeed [2020-10-16 10:57:16.018] [LOG] Stopping module helper: MMM-PiTemp [2020-10-16 10:57:16.018] [LOG] Stopping module helper: MMM-BackgroundSlideshow
-
@earnestrichards sadly nothing here,
SO, we need to open the developers window to see if there are any errors in the front end (modulename.js files)
ctrl-shift-i on the mirror keyboard select the tab labeled console scroll up to see any errors, usually red text
-
I knew about the ctrl-shift-i sequence to see the developers window but I hang my head in shame that I didn’t think about looking at the console log… especially since I’m in the middle of a Udemy JS course!
These errors appeared multiple times:
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. api.openweathermap.org/data/2.5/forecast/daily?id=4692400&cnt=40&units=imperial&lang=en&APPID=(myAPIkey):1 Failed to load resource: the server responded with a status of 401 (Unauthorized) moment-timezone-with-data.js:472 Moment Timezone has no data for America/Houston. See http://momentjs.com/timezone/docs/#/data-loading/. logError @ moment-timezone-with-data.js:472
I checked the moment.js link and changed the “America/Houston” to “America/Chicago”
I’m not sure what’s up with the OpenWeatherMap error… Maybe I’m making too many calls? The weather areas on my mirror seem to stay current…
the next thing for me to do is to search the custom.css file(s) and find the css error… probably misplaced punctuation?
-
@earnestrichards said in Black Screen... I have not upgraded the MM2 system software.:
Refused to apply style from ‘http://localhost:8080/css/custom.css’
no. its not there by default (unless you use my script to install)
its just an empty file initiallybut usually the openweather problem doesn’t case a black screen
-
The only error now is the custom.css reference.
The OpenWeatherMap has a yellow warning triangle about my APPID not supporting long term forecasts - and says it is reverting to fallback endpoint. I will check to make sure that I’m using the correct link for my APPID.
then while I was typing that out above (on my macmini) the mirror halted, the screen went white (like it did when I tried to open the devtools) and when I ctrl-q’ed the terminal had this…
[12267:1016/181241.288155:ERROR:CONSOLE(24)] "Empty response arrived for script 'devtools://devtools/remote/serve_file/@18cb630b22a61c92d65ba4e4ff2f765dcdf5368b/product_registry_impl/product_registry_impl_module.js'", source: devtools://devtools/bundled/shell.js (24) [12267:1016/181241.423121:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423398:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423473:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423541:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423588:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423656:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423703:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423759:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423805:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423864:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423908:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.423983:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.424968:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.425638:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.425754:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.425801:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.425868:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.425912:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.425979:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426024:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426077:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426118:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426172:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426214:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426269:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426311:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426369:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426412:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426468:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426512:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426565:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426607:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426663:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426705:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426760:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426803:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426858:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426900:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.426956:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427002:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427059:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427101:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427157:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427206:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427261:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427303:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427358:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427399:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427457:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.427499:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431191:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431307:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431400:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431450:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431510:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431556:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431616:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431659:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431718:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431758:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431812:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431854:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431911:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.431953:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.432407:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.432460:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.432517:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.432558:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.432612:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.432655:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.432711:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [12267:1016/181241.432766:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109) [2020-10-16 18:14:00.014] [LOG] Shutting down server... [2020-10-16 18:14:00.016] [LOG] Stopping module helper: updatenotification [2020-10-16 18:14:00.017] [LOG] Stopping module helper: calendar [2020-10-16 18:14:00.018] [LOG] Stopping module helper: MMM-AVStock [2020-10-16 18:14:00.018] [LOG] Stopping module helper: newsfeed [2020-10-16 18:14:00.019] [LOG] Stopping module helper: MMM-PiTemp [2020-10-16 18:14:00.020] [LOG] Stopping module helper: MMM-BackgroundSlideshow
-
@earnestrichards weird… I have seen one or two of those errors over the years…
if you have address:“0.0.0.0”,
and ipWhiltelist:[],you can connect to the mirror from anywhere in your house with any device that has a browser (hopefully chrome)… if would be interesting if the system was still up…
i run MM on a mac catalina (virtual machine as I don’t have a real mac), and don’t see anything like this…
it might be interesting if u run in server mode (npm start server) and then open chrome app to the server port http://localhost:???
-
I finally quit procrastinating and read the config.js instructions, coupled with your comments above… and a few other posts here about the same subject
Voila! MM2 runs natively on my Pi4 and in Chrome on my MacMini!
Now the next time the screen goes black with the cursor visible we’ll be able to see if MM is still running.
…and thanks again for your help and guidance.
-
and it happened… black screen on the Pi4 and MM is still running in the Chrome window on my MacMini.
-
@earnestrichards cool… so… try running server mode
npm start server
and then use chromium browser on the pi4
i have a config that does all this , i tried to have this as the default setup so one could chnage in config.js and voila… but it wasn’t accepted
(I do this on pi 0 as electron doesn’t run there anymore)down load this file to MagicMirror folder
https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/run-start.sh
make it executablechmod +x run-start.sh
edit package. json
copy the start line
change the word “start” to “start1”
looks like this"start1": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
this saves the old start command
change the right side of the new start to “./run-start,sh”
looks like this"start":"./run-start.sh",
edit config.js
and uncomment this line// serverOnly: true/false/"local" ,
set to local
so it looks like thisserverOnly: "local" ,
now npm start or pm2 start will launch the MM in server mode (no ui)
and then launch chromium-browser over it.
mac still talks to serverif u need to go back, edit config.js, change serverOnly to false,
then npm run start1