MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. ascore5000
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    ascore5000

    @ascore5000

    0
    Reputation
    257
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    ascore5000 Unfollow Follow

    Latest posts made by ascore5000

    • 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!

      posted in Troubleshooting
      A
      ascore5000