MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED MMM-GoogleBirthdaysProvider giving Error

    Troubleshooting
    2
    2
    283
    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.
    • L
      lu-need last edited by

      Re: MMM-GoogleBirthdaysProvider No red birthday cakeScreen Shot 2021-08-16 at 3.22.36 PM.png

      Hi! I am new here, building my first project and I am stuck. I cannot get the googlebirthdaysprovider to work. Here is the config:

      			module: "calendar",
      			header: "Upcoming Birthdays",
      			position: "top_left",
      			config: {
      				displayRepeatingCountTitle: true,
      				calendars: [
      						{
      						
      							url: 'http://localhost:8080/mmm-googlebirthdaysprovider',
      							symbol: "birthday-cake",
      							repeatingCountTitle: "Birthday",
      							color: '#f00',
      							colored: true,
      							coloredSymbolOnly: true,
      						}	
      					]
      			}
      		}, code_text
      

      it’s gotta be user error – what am I doing wrong? Thank you so much!

      J 1 Reply Last reply Reply Quote 0
      • J
        joey @lu-need last edited by

        @lu-need

        Just to make sure, do you have the opening curly bracket before your first line above? Also, why do you have “code_text” after the comma at the end?

        I also notice that you use single quote marks instead of double-quotes in the config: block. I am not sure that matters, but all of the examples use double-quotes. (Single quotes should work, but there is always the chance that npm, MM, or some other component is expecting double-quotes.)

        When you say you cannot get it working, does having that block of code in your config.js cause MM not to launch correctly at all? (Ie., do you get a black screen or the “create a config or check the existng one for errors” message?) Or does MM launch correctly, and the module does not show up? Or it shows up, but just has a “Loading” message instead of the expected calendar?

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy