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.

    MMM-FlightRadarTracker Syntax Error

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 218 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.
    • S Offline
      Spac3man 0
      last edited by

      Hello,

      I am not a programmer and cannot figure out what file/source is the cause of this error. Does anyone have any hints?

      [09.02.2024 11:52.30.462] [ERROR] evalmachine.<anonymous>:1
      {"aircraft":[],"full_count":0,"version":5}
                 ^
      
      SyntaxError: Unexpected token ':'
          at new Script (node:vm:94:7)
          at createScript (node:vm:251:10)
          at runInNewContext (node:vm:292:10)
          at parseJSONPNode (C:\Users\Space\MagicMirror\modules\MMM-FlightRadarTracker\node_modules\parse-jsonp\dist\node.js:14:2)
          at C:\Users\Space\MagicMirror\modules\MMM-FlightRadarTracker\node_modules\flightradar24-client\lib\radar.js:75:16
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      
      
      KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
      • KristjanESPERANTOK Offline
        KristjanESPERANTO Module Developer @Spac3man 0
        last edited by

        This module is abandoned. In issue 14 you can read that the API stopped working. Try MMM-Flights instead.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          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