Skip to content

Startup errors v.2.3.11 #114

Description

@zeroCool475

Just installed MMM-PGA for the first time and it's errororing on startup. The mirror shows LOADING MMM-PGA... but it never loads and these are in the logs:

[2026-04-27 23:01:41.620] [ERROR] (node:204118) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading '0')
at Object.getTournamentData (/home/mm/MagicMirror/modules/MMM-PGA/ESPN.js:117:39)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(Use electron --trace-warnings ... to show where the warning was created)
[2026-04-27 23:01:41.620] [ERROR] (node:204118) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)[2026-04-27 23:01:41.620] [ERROR] (node:204118) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading '0')
at Object.getTournamentData (/home/mm/MagicMirror/modules/MMM-PGA/ESPN.js:117:39)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(Use electron --trace-warnings ... to show where the warning was created)
[2026-04-27 23:01:41.620] [ERROR] (node:204118) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)[2026-04-27 23:03:35.981]

My confiig is:

{
  module: 'MMM-PGA',
  classes: "PGA",
  position: "top_center",
  config: {
    showLogo: true,
    showFlags: true,
  }
},

Apologies in advance if this is user error;. Can't wait to get it working!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions