bitte-ein-bit / MMM-iCloud-Client

MIT License
26 stars 3 forks source link

Error #6

Open snbe82 opened 7 years ago

snbe82 commented 7 years ago

Hi. New to this so it's probably something simple but when I start my mirror I receive the following error:

Whoops! There was an uncaught exception... TypeError: Cannot read property 'forEach' of undefined at Class. (/home/pi/MagicMirror/modules/MMM-iCloud-Client/node_helper.js:135:21) at Request._callback (/home/pi/MagicMirror/modules/MMM-iCloud-Client/node_modules/icloud/index.js:117:13) at Request.self.callback (/home/pi/MagicMirror/modules/MMM-iCloud-Client/node_modules/request/request.js:188:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request. (/home/pi/MagicMirror/modules/MMM-iCloud-Client/node_modules/request/request.js:1171:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage. (/home/pi/MagicMirror/modules/MMM-iCloud-Client/node_modules/request/request.js:1091:12) at Object.onceWrapper (events.js:290:19) MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?

Nothing shows up in the calendar except for the default holidays. This is my config file for the calendar:

{
            module: 'calendar',
            header: 'Dates',
            position: 'top_left',
            config: {
                calendars: [
                    {
                        symbol: 'birthday-cake',
                        url: 'http://localhost:8080/MMM-iCloud-Client/birthdays',
                    },
                    {
                        symbol: 'calendar-check-o ',
                        url: 'http://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                    },

                ],
                        maximumEntries: 6
            }
        },