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 config.js file
-
Hi,
I#m not very used with programming so i can’t solve the problem in my config.js{ module: "MMM-Hoymiles-Wifi", position: "top_left", config: { width: "300px", height: "320px", updateInterval: 60000, // in milli seconds frames : [ { src: 'http://192.168.178.150:5000'}, ] }, }, }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") { module.exports = config; } I always get errors like this;npm run config:check
magicmirror@2.33.0 config:check
node js/check_config.js[2025-11-01 15:16:44.895] [INFO] Checking config file /home/florian/MagicMirror/config/config.js …
[2025-11-01 15:16:44.994] [ERROR] Your configuration file contains syntax errors :(
Line 232 column 1: Parsing error: Unexpected token }Thanks a lot if everybody could help me.
Kinds regards
Florian
-
@Jose1701 so, at the top we have
var config = { modules: [ { module: x config: { } }. repeat for each module and at the bottom ( all of this is missing ) ] // end of modules list } // end of config variable /* ...... */ -
Thanks a lot. Got it working!
-
The
};
needs to be
},
So a comma iso of a semicolon.
