Closed 24lbragg closed 4 years ago
You're missing a closing } there in the 5th to last line, it should look like this:
showByDivision: true,
fadeSpeed: 2000,
}
}
],
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
Thanks! That Fixed the problem!
Hi guys,
my issue is that when i run npm run config: check, i get this: Line 132 col 2 Parsing error: Unexpected token ]
it is at the end of the config that bracket is the one signifying the end of the module list. the code is as follows:
/ Magic Mirror Config Sample
*/
var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
};
/ DO NOT EDIT THE LINE BELOW / if (typeof module !== "undefined") {module.exports = config;}
any help would be appreciated Thanks