MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    config file issue

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 798 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O Offline
      oj96
      last edited by

      when magic mirror loads it displays config file issue, when i remove the wunderlist code it stops and run fine. can anyone point out the issue
      please```
      //modules: [
      {
      module: ‘MMM-Wunderlist’,
      position: ‘top_right’, // This can be any of the regions. Best results in left or right regions.
      header: ‘UPCOMING REMINDERS’, // This is optional
      config: {
      clientID: ‘xxxxxxxxxxxxxx’,
      accessToken: ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’
      lists: [ “inbox”],
      interval: 60
      fade: true
      }
      },
      ]
      modules: [
      {
      module: “alert”,
      },
      {
      module: “updatenotification”,
      position: “top_bar”
      },
      {
      module: “clock”,
      position: “top_left”
      },
      {
      module: “calendar”,
      header: “UK Holidays”,
      position: “top_left”,
      config: {
      calendars: [
      {
      symbol: "calendar-check-o ",
      url: “webcal://www.calendarlabs.com/templates/ical/UK-Holidays.ics”
      }
      ]
      }
      },
      {
      module: “compliments”,
      position: “lower_third”
      },
      {
      module: “currentweather”,
      position: “top_right”,
      config: {
      location: “New York”,
      locationID: “”, //ID from http://www.openweathermap.org/help/city_list.txt
      appid: “YOUR_OPENWEATHER_API_KEY”
      }
      },
      {
      module: “weatherforecast”,
      position: “top_right”,
      header: “Weather Forecast”,
      config: {
      location: “New York”,
      locationID: “5128581”, //ID from http://www.openweathermap.org/help/city_list.txt
      appid: “YOUR_OPENWEATHER_API_KEY”
      }
      },
      {
      module: “newsfeed”,
      position: “bottom_bar”,
      config: {
      feeds: [
      {
      title: “Threatpost”,
      url: “https://threatpost.com/feed/”
      }
      ],
      showSourceTitle: true,
      showPublishDate: true
      }
      },
      ]

      };

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil
        last edited by

        @oj96 said in config file issue:

        accessToken: ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’
        lists: [ “inbox”],
        interval: 60
        fade: true
        }
        },
        ]
        modules: [

        well, a bunch of problems…

        1 you have the wrong single and double quotes here… do NOT use a word processing editor… only a text editor… (nano or gedit or vi)…
        2. missing comma after accesstoken line and interval line

        and u have two modules: [ blocks…

        quick way to test your config for syntax… copy/paste it all to jslint.com
        check long lines, single quotes, and whitespace mess at the bottom, then press jslint

        then copy/paste it back to the config.js file.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0

        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
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy