A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
problem with module MMM-Pollen-FR on github
-
pi@raspberrypi:~/MagicMirror $ npm run config:check > magicmirror@2.27.0 config:check > node js/check_config.js [2024-06-19 15:54:24.553] [INFO] Checking file... /home/pi/MagicMirror/config/config.js [2024-06-19 15:54:24.602] [ERROR] Your configuration file contains syntax errors :( [2024-06-19 15:54:24.603] [ERROR] Line 143 column 8: Parsing error: Unexpected token : pi@raspberrypi:~/MagicMirror $ pi@raspberrypi:~/MagicMirror $ npm run config:check
it’s the line of begining of module MMM-Pollen
-
@benoit73 said in problem with module MMM-Pollen-FR on github:
[2024-06-19 15:54:24.602] [ERROR] Your configuration file contains syntax errors :(
[2024-06-19 15:54:24.603] [ERROR] Line 143 column 8: Parsing error: Unexpected token :can you show lines 130-150
please xxx out any sensitive info -
@sdetweil said in problem with module MMM-Pollen-FR on github:
can you show lines 130-150
please xxx out any sensitive infoshowLogos: true, displayTime: 60 * 1000, showStandings: true, showTables: true, showScorers: false, scrollVertical: true, language: 'en', // supported values are en, de, it } }, { module: "updatenotification", position: "top_bar" }, modules: [ { module: "MMM-Pollen-FR", position: "top_left", header: "Météo Pollen France", config: { updateInterval: 3 * 60 * 60 * 1000, // every 3 hours region_code: "59", minLevel: 0 } }, ]
it’s beginin line 130
-
@benoit73 said in problem with module MMM-Pollen-FR on github:
},
modules: [
{yes, the author module example shows that it goes inside the modules:[ list
modules: [ { module: "MMM-Pollen-FR", position: "top_left", header: "Météo Pollen France", config: { updateInterval: 3 * 60 * 60 * 1000, // every 3 hours region_code: "59", minLevel: 0 } }, ]
but you already have that…
you only need the module part{ module: position: config:{ . . . } }
-
thank you it’s ok