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.
Latest posts made by Sitm09
-
RE: MM2 modules work in developer mode, but "loading" without.
-
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.
-
RE: MMM-CTA 2nd Instance Not Automatically Updating
Fixed the issue. A description of said fix can be seen here:
-
RE: MMM-CTA 2nd Instance Not Automatically Updating
If this helps, this is the output when I run node serveronly. In the red, you can see the 1st instance of the 4 stops being loaded (red arrow) upon startup along with the second instance loading the 6 (blue arrow).After the 60 seconds, you see the 1st instance updating and a minute after updating again. However, this is not done for the 2nd instance.
-
MMM-CTA 2nd Instance Not Automatically Updating
I am running 2 instances of MMM-CTA. I updated the second instance config to module Instance: 2, as shown below:
{
module: “MMM-CTA”,
position: “top_middleleft”,
config: {
updateTime: 60000, // 1 minute, no need to go below
ctaApiKeyTrain: “bc9d0610109c4f4bba82e89bb6968777”,
trainStopName: ‘Wellington’,
trainStationID: ‘41210’,
maxResultTrain: 4,
moduleInstance: 1, // To run multiple instances of this module
},}, { module: "MMM-CTA", position: "top_middleright", config: { updateTime: 60000, ctaApiKeyTrain: "bc9d0610109c4f4bba82e89bb6968777", trainStopName: 'Belmont', trainStationID: '41320', maxResultTrain: 6, moduleInstance: 2, }, },
The first instance (on the left) will update while the second (right) will not automatically update after 1 minute. Thank you for any help.
P.S. Apologize for the excessively large image.
-
RE: MMM-Reddit not working due to 'width' being undefined
@cowboysdude Thanks for the help. It seems that 50 was too large of a number. Maybe it couldn’t get 50 with the number of subreddits I choose or whatever. Now at 25, and everything else the same, it is running.
-
RE: MMM-Reddit not working due to 'width' being undefined
@cowboysdude said in MMM-Reddit not working due to ‘width’ being undefined:
{
module: “MMM-Reddit”,
position: “top_right”,
config: {
subreddit: ‘earthporn’,
displayType: ‘image’,
imageQuality: ‘high’,
count: 10,
show: 1,
width: 500,
showAll: true,
}
},Some reason, this worked. Maybe a subreddit is messed up up for some reason. Thanks
-
RE: MMM-Reddit not working due to 'width' being undefined
I reset the position back to a default region in the main.css (after the screenshot), but I still get the same error as prompted by your suggestion to go back to the defaults. Before, I’ve been using this config for the module but it’s been working however.
-
MMM-Reddit not working due to 'width' being undefined
A screenshot of the error I am getting. This was working before but now it is not. Unsure of how to proceed. Thank you for any help.