Read the statement by Michael Teeuw here.
MMM-SoccerLiveScore pleas help
-
@Manu85 MMM-SoccerLive is still running, and is still running the old node_helper.js
0|MagicMir | [2020-04-08 07:23:29.709] [ERROR] [31m[1m2020-04-08T07:23:29 SyntaxError: Unexpected token u in JSON at position 0[22m[39m
0|MagicMir | [31m[1m at JSON.parse ()[22m[39m
0|MagicMir | [31m[1m at Request._callback (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:146:29)[22m[39m -
@sdetweil What can I do?
-
@Manu85 the module is still active in the config.js
-
this is how it is in the config.js
{
disabled:false,
module: ‘MMM-SoccerLiveScore’,
position: ‘top_right’,
header: ‘Scores en direct’,
config: {
leagues: [34, 1, 8],
showNames: true,
showLogos: true,
debug:true,
displayTime: 60 * 1000,
showTables: true
}
}, -
-
ok I did “disabled: true,” and I restarted the MM, the module no longer appears
-
this is how it is in the config.js
{
disabled:true,
module: ‘MMM-SoccerLiveScore’,
position: ‘top_right’,
header: ‘Scores en direct’,
config: {
leagues: [34, 1, 8],
showNames: true,
showLogos: true,
debug:true,
displayTime: 60 * 1000,
showTables: true
}
}, -
@Manu85 ok… looks good…
however, the node_helper in the module folder is also the old one… not the new that you were supposed to have copied…
-
@sdetweil yet I followed your instructions, but I may have made a mistake! what should I do?
-
cd ~/MagicMirror/modules mv MMM-SoccerLiveScore MMM-SoccerLiveScore.old mv NewSoccerLive MMM-SoccerLiveScore cd MMM-SoccerLiveScore npm install
then u can change disabled: back to false