MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. sankum
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 39
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-JsonTable - error and does not load

      Sam,

      Yes, it was the file content. I had copied it from the git example but obviously did something wrong.

      posted in Troubleshooting
      S
      sankum
    • RE: MMM-JsonTable - error and does not load

      Sam, sorry I overlooked your question
      Yes, I did get it fixed. Thanks.

      posted in Troubleshooting
      S
      sankum
    • RE: MMM-JsonTable - error and does not load

      Thank you, Sam.

      posted in Troubleshooting
      S
      sankum
    • RE: MMM-JsonTable - error and does not load

      Hi Sam,

      Never mind!! It is port 8080.
      I copied the json file you have shown and it worked. So it must be my json file. I will try to figure out what is the difference. Thanks for your help.

      posted in Troubleshooting
      S
      sankum
    • RE: MMM-JsonTable - error and does not load

      Thanks Sam.
      So do I need port 8090 based on your config?. In my config port definition I have:
      port: “8080”,

      Other than that I don’t see any difference. Do I need to change router setting? Any missing package you think? Thanks.

      posted in Troubleshooting
      S
      sankum
    • RE: MMM-JsonTable - error and does not load

      Sam,
      address: “localhost”,

      posted in Troubleshooting
      S
      sankum
    • RE: MMM-JsonTable - error and does not load

      Sam, MagicMirror is configured to port 8080. nhtp was a typo. It is http://…
      As I said the file path and name are correct as I can read it in browser using file:/… (single slash). So not quite sure what is going on?

      posted in Troubleshooting
      S
      sankum
    • RE: MMM-JsonTable - error and does not load

      Hi Sam,
      file:/home/sankum/… loads with 1 slash in the browser. But nhttp://localhost:8080/modules/… does not, same errors as before?

      posted in Troubleshooting
      S
      sankum
    • RE: MMM-JsonTable - error and does not load

      Thanks Sam. I changed it to http:// and even tried local IP address instead of localhost and the result is the same. Still the same error, and does not load.?

      posted in Troubleshooting
      S
      sankum
    • MMM-JsonTable - error and does not load

      Hi,

      I am trying to read and display from a local json file using this module.
      config:
      url: ‘https://localhost:8080/modules/MMM-JsonTable/myList.json’,
      arrayName: ‘items’,
      keepColumns: ‘name’

      I get following errors:
      [2025-06-29 19:01:30.116] [ERROR] (node:109589) UnhandledPromiseRejectionWarning: TypeError: fetch failed
      at node:internal/deps/undici/undici:13502:13
      at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
      [2025-06-29 19:01:30.116] [ERROR] (node:109589) 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: 2)

      myList.json in module directory -from the example on github with item and name only.

      It stays at loading with those errors.
      What am I doing wrong? Please help. Thanks.

      .

      posted in Troubleshooting
      S
      sankum
    • 1
    • 2
    • 3
    • 4
    • 1 / 4