peterbraden/ical.js

Uncaught TypeError: Cannot read property 'fromString' of undefined

francoisauclair911 opened this issue · 4 comments

Hitting these errors when trying to run the basic example

node-ical.js?38f9:34 Uncaught TypeError: Cannot read property 'fromString' of undefined
    at Object.ical.objectHandlers.END (node-ical.js?38f9:34)
    at Object.handleObject (ical.js?0ad9:253)
    at Object.parseICS (ical.js?0ad9:294)
    at Request.eval [as _callback] (node-ical.js?38f9:11)
    at Request.self.callback (request.js?4b05:199)
    at Request.EventEmitter.emit (events.js?faa1:84)
    at Request.eval (request.js?4b05:1036)
    at Request.EventEmitter.emit (events.js?faa1:96)
    at exports.IncomingMessage.eval (request.js?4b05:963)
    at exports.IncomingMessage.EventEmitter.emit (events.js?faa1:96)

I faced this too. pretty weird it didn't cover basic .ics rules.

@francoisauclair911 when did you break for you? with multi-day or recurring events?

I have the same issue

Снимок экрана 2019-12-11 в 19 19 47

Any ideas how to fix it?

Solved by upgrading to 0.6.0