Giter VIP home page Giter VIP logo

mmm-euro2024's Issues

Results not displayed

Hi there,
results are not getting displayed due to an error in your scripts:
Line 92:
tr.appendChild(buildTD(m.score.fullTime.homeTeam, 'MMM-euro2024-score'));

This should be:
tr.appendChild(buildTD(m.score.fullTime.home, 'MMM-euro2024-score'));

Same for the away team.

Else: nice work!

Unexpected token error

Hi guys, I got this error:

[07.06.2024 21:57.59.661] [ERROR] Whoops! There was an uncaught exception...
[07.06.2024 21:57.59.682] [ERROR] /opt/magic_mirror/modules/MMM-euro2024/node_helper.js:138
      const matches = fixtures?.matches || []
                               ^

SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at loadModule (/opt/magic_mirror/js/app.js:126:19)
    at loadNextModule (/opt/magic_mirror/js/app.js:164:5)
    at /opt/magic_mirror/js/app.js:166:6
[07.06.2024 21:57.59.687] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?

my config looks like this:

{
    disabled: false,
    module: "MMM-euro2024",
    position: "center",
    header: "Euro 2024",
    config: {
    updateInterval: 60 * 1000,
    token: "b1e67..myToken..67c8c5",
    }
},

Data are not fetched

Dear @0m4r
thank you for your great module!

after installing it at getting a API key, the module seems not to fetch the results :

Capture d’écran 2024-06-20 à 07 56 55

In the confirmation mail from API-key for football-data.org, where I can check the key, it really looks like that no retrieve of the data have been performed.

Capture d’écran 2024-06-20 à 07 56 24

Are you encoutering the same problem ?

Thanks for your interest and you help.

Kind regards,

Cédric

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.