@mumblebaj said in MMM-PGA:
tournament.defendingChamp = event.defendingChampion ? event.defendingChampion.displayName : “”
changed it but still stuck on loading
@mumblebaj said in MMM-PGA:
tournament.defendingChamp = event.defendingChampion ? event.defendingChampion.displayName : “”
changed it but still stuck on loading
@mumblebaj said in MMM-PGA:
tournament.defendingChamp = event.defendingChampion ? event.defendingChampion.displayName :
tournament.defendingChamp = event.defendingChampion ? event.defendingChampion.athlete.displayName : ""
@sdetweil that worked error was syntax, got it working thanks sam
@sdetweil it wont let me i have to end task cause it wont let me exit mirror
@sdetweil Just goes to a black screen and throws a bunch of red errors in the cmd window, cant even run dev, one at a time works fine
@sdetweil This is what I have but crashes the mirror…its the same as you put
calendars: [
{
symbol: "calendar-check",
url: ""
},
{
symbol: "calendar-check",
url: ""
},
]
}
I setup two different calendars in the config with url: “”, and url:“” however only one displays, am I missing something?
@mumblebaj any easy way for me to figure this out, if I comment out that line it works.
[18.04.2023 11:31.09.632] [LOG] MMM-PGA retrieving Tournament Data
[18.04.2023 11:31.09.633] [ERROR] Whoops! There was an uncaught exception...
[18.04.2023 11:31.09.633] [ERROR] TypeError: Cannot read properties of undefined (reading 'displayName')
at Request._callback (C:\Users\CCU Forensic Machine\MagicMirror\modules\MMM-PGA\ESPN.js:49:99)
at self.callback (C:\Users\CCU Forensic Machine\MagicMirror\modules\MMM-PGA\node_modules\request\request.js:185:22)
at Request.emit (node:events:513:28)
[18.04.2023 11:38.48.117] [LOG] MMM-PGA retrieving FedEx Cup Standings
[18.04.2023 11:38.48.185] [ERROR] Whoops! There was an uncaught exception...
[18.04.2023 11:38.48.185] [ERROR] TypeError: Cannot read properties of undefined (reading 'querySelectorAll')
at Request._callback (C:\Users\CCU Forensic Machine\MagicMirror\modules\MMM-PGA\FEDEXCUP.js:33:38)