I have a problem with installing the calendar in my ionic angular app


Quite easy. I need to create a project; write a calendar/schedule app which shows(and is editable) the schedule/division of professor in my institute up to daily view.

First Question, do you have better ideas, ways or software then me to code it?


  • I installed a new fresh ionic app via "ionic start scheduleapp blank"
  • choose angular
  • cd file
  • npm i angular-calendar angular-calendar-week-hours-view @angular/animations

and here already i get the following error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ER*your text*R!
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/core
npm ERR!   @angular/core@"^15.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/core@"6.1.10" from @angular/[email protected]
npm ERR! node_modules/@angular/animations
npm ERR!   @angular/animations@"*" from the root project
npm ERR!   peer @angular/animations@">=5.0.0 <7.0.0" from [email protected]
npm ERR!   node_modules/angular-calendar
npm ERR!     angular-calendar@"*" from the root project
npm ERR!     1 more (angular-calendar-week-hours-view)
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\...

thats it.
luv you guys for helping me, you know how much apprechiated it is!?
Jonas I F

tried to google it, didnt find. now im here 🙂


First question:

This calendar is pretty good for ionic: ion2-calendar (documentation).

Check it out to see if it’s useful for your needs.

Install it with npm install ion2-calendar moment --legacy-peer-deps



npm i angular-calendar angular-calendar-week-hours-view @angular/animations --legacy-peer-deps

Answered By – Miguel

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published