jclarke0000 / MMM-MyScoreboard

Module for MagicMirror to display today's scores for your favourite teams across multiple sports.
MIT License
65 stars 31 forks source link

scoreboard disappear despite games on #81

Open 1a2a3a1q2s3c opened 6 months ago

1a2a3a1q2s3c commented 6 months ago

hi the scoreboard is not working for me suddenly despite the games are on right now.

dev showing this error:

main.js:671 module tries to update the DOM without being displayed. updateDom @ main.js:671 updateDom @ module.js:335 (anonymous) @ calendar.js:161 setInterval (async) (anonymous) @ calendar.js:160 setTimeout (async) start @ calendar.js:158 startModules @ loader.js:25 loadNextModule @ loader.js:220 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadNextModule @ loader.js:213 await in loadNextModule (async) loadModules @ loader.js:223 init @ main.js:595 await in init (async) (anonymous) @ main.js:738 MMM-MyScoreboard.js:575 [MMM-MyScoreboard] Updating Scores module.js:367 Parameter mismatch in module.hide: callback is not an optional parameter! hide @ module.js:367 getDom @ MMM-MyScoreboard.js:565 (anonymous) @ main.js:138 updateDom @ main.js:118 updateDom @ main.js:676 updateDom @ module.js:335 socketNotificationReceived @ MMM-MyScoreboard.js:578 (anonymous) @ module.js:234 (anonymous) @ socketclient.js:38 Emitter.emit @ index.mjs:136 emitEvent @ socket.js:498 onevent @ socket.js:485 MMSocket.socket.onevent @ socketclient.js:32 onpacket @ socket.js:455 Emitter.emit @ index.mjs:136 (anonymous) @ manager.js:204 Promise.then (async) (anonymous) @ websocket-constructor.browser.js:5 ondecoded @ manager.js:203 Emitter.emit @ index.mjs:136 add @ index.js:146 ondata @ manager.js:190 Emitter.emit @ index.mjs:136 onPacket @ socket.js:341 Emitter.emit @ index.mjs:136 onPacket @ transport.js:98 onData @ transport.js:90 ws.onmessage @ websocket.js:68 module.js:185 MMM-MyScoreboard is suspended.