A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MM says my config is wrong.
-
Hey there!
When I try to add this
fade: false
to my config.js
{ module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Aalborg", locationID: "2624886", appid: "a59083d2a1c9da6e99d2395fb61d8979" } },
So it becomes
{ module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Aalborg", locationID: "2624886", appid: "a59083d2a1c9da6e99d2395fb61d8979" fade: false } },
Then MM says that my config is wrong.
WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:73 fade: false SyntaxError: Unexpected identifier at new Script (vm.js:74:7) at createScript (vm.js:246:10) at Object.runInThisContext (vm.js:298:10) at Module._compile (internal/modules/cjs/loader.js:678:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:559:12) at Function.Module._load (internal/modules/cjs/loader.js:551:3) at Module.require (internal/modules/cjs/loader.js:658:17) at require (internal/modules/cjs/helpers.js:20:18) ^^^^
Not sure on how to fix this, since I believe I’m writing it correctly. Anyone with a quick fix?
I’m trying to remove the fade effect on the modules, aint working too great for me.
-
Add a comma after the appid line.
-
Wow, that was awkward. Thanks man haha