1

I have installed this angular calendar module in my angular 5 application , by this command .

npm install --save angular-calendar@0.24.1 date-fns.

I'm getting this error

error

I see there is no docs for angular 5 .

Can anyone help me in this how to use this in angular 5.

Note: I have installed version 0.24.1 for angular 5.

Thanks in advance.

Community
  • 1
  • 1
Asad
  • 3,070
  • 7
  • 23
  • 61
  • I think [this](https://github.com/mattlewis92/angular-bootstrap-calendar) is the version you want to use. Since the one you linked is for Angular 6+. Also have you added the `CalendarModule.forRoot({ provide: DateAdapter, useFactory: adapterFactory })` part to your module? – O.MeeKoh Mar 19 '19 at 13:22
  • you have given me the link to angularJs (angular 1). I'm asking about angular 5 @O.MeeKoh – Asad Mar 19 '19 at 13:26
  • Did you try adding those lines of code to your imports array in your app.module.ts file for example? – O.MeeKoh Mar 19 '19 at 13:27
  • Yes @O.MeeKoh . If you see the link there is section where it tells about version 0.24.1 for angular 5. – Asad Mar 19 '19 at 13:30
  • @Asad any luck about this issue? – Asif Mar 19 '19 at 21:35
  • not yet but I will update you when i get something @Asif – Asad Mar 20 '19 at 11:21
  • @Asad by the way you can use https://fullcalendar.io library. – Asif Mar 20 '19 at 21:34
  • for the time being Im using this `https://github.com/ng-fullcalendar/ng-fullcalendar` @Asif – Asad Mar 21 '19 at 07:21
  • Yes I have used the sameJS library but not this module as this is not compatible with Angular4. – Asif Mar 22 '19 at 18:35

0 Answers0