Read the statement by Michael Teeuw here.
My config.js file is messed up. someone want to help? :P
-
var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' }, { module: 'calendar', header: 'US Holidays', position: 'top_left', config: { calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics' } ] } }, { module: 'MMM-SoccerLiveScore', position: 'top_left', header: 'Live-Scores', config: { leagues: [17, 17, 17], showNames: true, showLogos: true, displayTime: 60 * 1000, showTables: true }, { module: 'MMM-Globe', position: 'center', config: { style: 'europeDiscNat', imageSize: 600, ownImagePath:'', updateInterval: 10*60*1000 } }, { module: 'helloworld', position: 'bottom_right', // This can be any of the regions. config: { // See 'Configuration options' for$ text: 'MIA by Karl M. Holst' } }, { module: 'MMM-Carousel', config: { transitionInterval: 30000, ignoreModules: ['clock', 'alert', 'currentweather'], mode: 'slides', slides: [ ['calendar', 'MMM-Globe', 'weatherforecast', 'helloworld'], ['weatherforecast', 'MMM-Globe', 'MMM-SoccerLiveScore', 'helloworld'], ['MMM-iHaveBeenThere'] ], }, { module: 'MMM-ethereum', position: 'top_right', config: { updateInterval: 30000, exchange: "bitfinex" } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;} -
@KMH0 check for missing { } one is missing @ soccer live score
{ module: 'MMM-SoccerLiveScore', position: 'top_left', header: 'Live-Scores', config: { leagues: [17, 17, 17], showNames: true, showLogos: true, displayTime: 60 * 1000, showTables: true } }, -
same problem for the carousel module
-
Hi KMHO,
-
you have some missing indentations (how are these things called in english again??) making it hard to read. It’s advisable always to make the right indentations.
Also, you didn’t include the whole config in code tags. Making it also harder to read. -
a good way to check your config is running
npm run config:checkfrom the MagicMirror folder. This gives you the lines of the errors and the errors in the config.
You can then run e.g.sudo nano -c config/config.jsThe -c gives you the line numbers in nano.
Always only check and correct the FIRST error shown.
Then run the config:check again.
The successive errors can easily be errors resulting from the first one. -
-
var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' }, { module: 'calendar', header: 'US Holidays', position: 'top_left', config: { calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics' } ] } }, { module: 'MMM-SoccerLiveScore', position: 'top_left', header: 'Live-Scores', config: { leagues: [17, 17, 17], showNames: true, showLogos: true, displayTime: 60 * 1000, showTables: true } }, { module: 'MMM-Globe', position: 'center', config: { style: 'europeDiscNat', imageSize: 600, ownImagePath:'', updateInterval: 10*60*1000 } }, { module: 'helloworld', position: 'bottom_right', // This can be any of the regions. config: { text: 'MIA by Karl M. Holst' } }, { module: 'MMM-Carousel', config: { transitionInterval: 30000, ignoreModules: ['clock', 'alert', 'currentweather'], mode: 'slides', slides: [ ['calendar', 'MMM-Globe', 'weatherforecast', 'helloworld'], ['weatherforecast', 'MMM-Globe', 'MMM-SoccerLiveScore', 'helloworld'], ['MMM-iHaveBeenThere'] ], } }, { module: 'MMM-ethereum', position: 'top_right', config: { updateInterval: 30000, exchange: "bitfinex" } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login