• 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.

Unknown Error

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 342 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.
  • R Offline
    ryansuchomel
    last edited by Nov 29, 2020, 3:51 PM

    Re: MMM-MLB

    Any idea what this is? Is it just that there aren’t any games yet? Below the error is a copy of the MMM-MLB config.js section:

    [2020-11-29 09:46:44.200] [ERROR] Whoops! There was an uncaught exception…
    [2020-11-29 09:46:44.202] [ERROR] TypeError: Cannot read property ‘home_team_name’ of undefined
    at /home/pi/MagicMirror/modules/MMM-MLB/node_helper.js:53:44
    at Array.filter ()
    at Class.processScoreboard (/home/pi/MagicMirror/modules/MMM-MLB/node_helper.js:52:43)
    at Request._callback (/home/pi/MagicMirror/modules/MMM-MLB/node_helper.js:33:22)
    at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
    at Request.emit (events.js:200:13)
    at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:200:13)
    at IncomingMessage. (/home/pi/MagicMirror/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:288:20)

    R 1 Reply Last reply Nov 29, 2020, 3:53 PM Reply Quote 0
    • R Offline
      ryansuchomel @ryansuchomel
      last edited by Nov 29, 2020, 3:53 PM

      It won’t let me post the config but it’s straight out of the documentation with the exception of

      focus_on: [‘Brewers’],

      1 Reply Last reply Reply Quote 0
      • B Offline
        bhepler Module Developer
        last edited by Nov 29, 2020, 8:39 PM

        There’s definitely something going on with your config.js file. Looking at the code, it’s not picking up the focus_on entry that you’ve supplied.

        Try to post the relevant section of your config.js again. Check the markdown options for how to post blocks of code. It’s probably something trivial, but without a good look into your config, I don’t think we can help you.

        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