Read the statement by Michael Teeuw here.
IO reference error on calendar & newsfeed
-
Hi everybody,
i have a problem with my magic mirror implementation.
If I use a fresh download of MM2 and activate in the config file the newsfeed or the calendar, I got an error on the console:
ReferenceError: io is not defined
Stack:
MMSocket() socketclient.js:11 Module<.socket() module.js:160 Module<.sendSocketNotification() module.js:298 .addCalendar() calendar.js:279 .start() calendar.js:67 startModules() loader.js:55 loadModules/loadNextModule/<() loader.js:40 loadFile/stylesheet.onload() loader.js:190
The error occurs on socetclient.js on line 11.
My config file:
{ module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, { module: 'calendar', header: 'US Holidays', position: 'top_right', config: { calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics' } ] } },
If I comment this lines out, the time and the weather is working.
I hope you can help me, thank you!
ascore5000
Note from admin: Please use Markdown on code snippets for easier reading!