A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Config.fs
-
@scoller Well, that is a just grammar of JavaScript. So…
Hmmm…
Just remember these.- Every bracket(
[]
,{}
) should be closed somewhere. - Nested brackets should be matched their opening and closing.
- All Items should be separated with comma
- All text string should be quoted by quotation mark (`, " or ')
- true/false (boolean value) and number should not be quoted.
These are common rules for config.js
- Every bracket(
-
@sean thank’s for the help will try that
-
@scoller
You have twolocationID: "2726470"
in your code. both should be modified. -
@sean Specific for my code can you point it out cause I can’t find it, may be because of my lack of knowledge :)
-
@sean my code goes like this is this an error?
{.
Hdhdhdhdu
Hhdhdhfhdujd.
Hdhdhhdh
{
And the bracket never closes, is that an error? -
{ module: "currentweather", position: "top_right", config: { location: "Alsike,Sweden", locationID: "2726470", // < - I think here comma missed. appid: "c17305e68b5d2b54d3f2c8b5e2cc4002" } }, { module: "weatherforecast", position: "top_right", header: "Vädret i Framtiden", config: { location: "Alsike,Sweden", locationID: "2726470", // < - Here also. appid: "c17305e68b5d2b54d3f2c8b5e2cc4002" } },
-
@sean What is that? I see its the code but what?
:::
-
@scoller
Exchange those with your currentcurrentweather
andweatherforecast
in config.js -
@sean Thank you again. Is that the problem?
-