@sean What is that? I see its the code but what?
:::
@sean my code goes like this is this an error?
{.
Hdhdhdhdu
Hhdhdhfhdujd.
Hdhdhhdh
{
And the bracket never closes, is that an error?
@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 but i mean where is the brackets where the comma should be. For an example high up or low down in the code
@sean how do i know where the comma should be? I know im stupid :)
Thank you very much here is my config:
/* 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, 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”],
language: "en",
timeFormat: 24,
units: "metric",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "Uppkommande Högtider",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check",
url: "http://www.calendarlabs.com/templates/ical/us-holidays.ics"
}
]
}
},
{
module: "compliments",
position: "lower_third"
},
{
module: "currentweather",
position: "top_right",
config: {
location: "Alsike,Sweden",
locationID: "2726470"
appid: "c17305e68b5d2b54d3f2c8b5e2cc4002"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Vädret i Framtiden",
config: {
location: "Alsike,Sweden",
locationID: "2726470"
appid: "c17305e68b5d2b54d3f2c8b5e2cc4002"
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "New York Times",
url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;}
I have recently downloaded the magicmirror project and started to edit the config.js sample file. After i wrote in my information such as, weather, calendar, and compliments I tried to re start the project. The project started with still a notice saying edit you config file and I cant figure out where this problem comes from. A good thing to know is that the config.js file was the sample file so I saved it with out the sample. I have also run the code through the jshint and it says alot of things that idon’t understand :). PLEASE can someone help me