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.

    Bad question

    Scheduled Pinned Locked Moved General Discussion
    64 Posts 5 Posters 58.8k Views 4 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @Fonfon
      last edited by

      @Fonfon

      the 2nd { in the calendar module should be deleted for starters

      Create a working config
      How to add modules

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @Mykle1
        last edited by

        Like this

        {
        	module: 'calendar',
        	header: 'US Holidays',
        	position: 'top_left',
        	config: {
        		calendars: [
        			{
        				symbol: 'calendar-check-o ',
        				url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
        			}
        		]
        	}
        },
        

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • F Offline
          Fonfon
          last edited by

          Can you give me a correct config file for starting or where i can find it ?

          F Mykle1M 2 Replies Last reply Reply Quote 0
          • F Offline
            Fonfon @Fonfon
            last edited by

            @Fonfon and when i start npm , my config file name is config.js or config.js.sample ?

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Fonfon
              last edited by

              @Fonfon said in Bad question:

              Can you give me a correct config file for starting or where i can find it ?

              Well, that one should work if you make the correction I noted. Otherwise, in the config folder is a file called config.js.sample. Make a copy of it and rename it to config.js. Then you’ll have to add your other modules and API keys

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @Fonfon
                last edited by

                @Fonfon said in Bad question:

                @Fonfon and when i start npm , my config file name is config.js or config.js.sample ?

                config.js or it won’t work

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • F Offline
                  Fonfon
                  last edited by Fonfon

                  ok i understand my another problem is with the whitelist but i try to solve 1 problem after 1 problem
                  thank mykle1

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @Fonfon
                    last edited by

                    @Fonfon yup, one thing at a time. Lets get your config.js working first

                    Create a working config
                    How to add modules

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      Fonfon @Mykle1
                      last edited by

                      @Mykle1 can you give me the original config file please

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @Fonfon
                        last edited by

                        @Fonfon ok, one sec

                        Create a working config
                        How to add modules

                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 3 / 7
                        • 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