BenTech
BenTech

Reputation: 131

angular FullCalendar Cannot read property

premise I'm new and I still have a lot to learn. I downloaded from git fullcalendar (https://github.com/fullcalendar/fullcalendar-angular), after opening the project, after doing npm install and ng serve I get this error message:

TypeError: Cannot read property 'start' of undefined
at Object.addParseSpanInfo
at AstTranslator.visitMethodCall 
at MethodCall.visit 
at AstTranslator.translate 
at Object.astToTypescript 
at TcbEventHandlerTranslator.TcbExpressionTranslator.translate 
at tcbEventHandlerExpression 
at tcbCreateEventHandler 
at TcbUnclaimedOutputsOp.execute 
at Scope.executeOp 

do you have any suggestions on how to solve the problem? thanks a lot to everyone

Upvotes: 2

Views: 700

Answers (1)

S.Bozzoni
S.Bozzoni

Reputation: 1002

Use:

npm install --save @fullcalendar/angular @fullcalendar/daygrid

This is the new version of fullcalendar, the old one is deprecated.

For further reference: https://fullcalendar.io/docs/angular

Upvotes: 2

Related Questions