• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MM2 modules work in developer mode, but "loading" without.

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 2 Posters 870 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    Sitm09
    last edited by Jul 11, 2019, 7:37 AM

    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.

    1_1562830584339_2019-07-11-021746_1600x1200_scrot.png

    0_1562830584336_2019-07-11-021620_1600x1200_scrot.png

    S 1 Reply Last reply Jul 11, 2019, 9:48 PM Reply Quote 0
    • S Offline
      sdetweil @Sitm09
      last edited by Jul 11, 2019, 9:48 PM

      @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…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • S Offline
        Sitm09
        last edited by Jul 12, 2019, 4:32 AM

        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.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy