Read the statement by Michael Teeuw here.
MM2 modules work in developer mode, but "loading" without.
-
When I use npm start, the MM2 won’t work properly. The modules will be stuck on loading and nothing happens no matter how long I wait. Below is what I see in the command line
Starting MagicMirror: v2.8.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar Initializing new module helper ... Module helper loaded: MMM-MyCalendar Initializing new module helper ... Module helper loaded: newsfeed All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: updatenotification Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: MMM-MyCalendar Starting node helper for: MMM-MyCalendar Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Launching application. Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/email%40gmail.com/private-1929be7ce51f5e7045e6ae90489aab83/basic.ics - Interval: 300000 Create new news fetcher for url: http://www.chicagotribune.com/news/local/breaking/rss2.0.xml - Interval: 300000 Calendar Error. Could not fetch calendar: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics { Error: getaddrinfo EAI_AGAIN www.calendarlabs.com www.calendarlabs.com:80 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:50:26) errno: 'EAI_AGAIN', code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'www.calendarlabs.com', host: 'www.calendarlabs.com', port: 80 } fatal: unable to access 'https://github.com/MichMich/MagicMirror.git/': Could not resolve host: github.com
This is a picture of whats happening. 1st picture is what I see using npm start dev, the second only npm start. I don’t see any errors w/ npm start also.
-
@Sitm09 said in MM2 modules work in developer mode, but "loading" without.:
‘EAI_AGAIN’
is a slow network name lookup…
maybe your dns server is slow…
-
I’m not sure if that is the case.
When using npm start dev, the modules load in about 30-45 seconds.
I took the second picture using “npm start” after waiting approximately 3 minutes. And even looking at the US Holidays, nothing comes up. Maybe after a certain time it just stops trying to load, but it shouldn’t say No Events because it’s for 365 days to bring up holidays.