fullcalendar/fullcalendar-angular

Upgrade to Angular 13

zornic84 opened this issue · 5 comments

Reduced Test Case

You must paste a link to a REDUCED TEST CASE.
If you do not, this issue will automatically be closed.
To prevent this, include the text "not reproducible with a link" (assuming it's true).

Bug Description

I want to upgrade from Angular12 to Angular13, but I get the following error message when running "npm update":

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: serenity@12.2.0
npm ERR! Found: @angular/common@13.0.1
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"~13.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"9 - 12" from @fullcalendar/angular@5.10.1
npm ERR! node_modules/@fullcalendar/angular
npm ERR! @fullcalendar/angular@"^5.10.1" from the root project
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!

Screenshots

image

There's a PR for Angular 13 support which may work:

#386

From Angular 13:

Processing legacy "View Engine" libraries:

Hi,

After updating to angular @angular/cli 13.1.0 getting this ChunkLoadError. But everything is work on with 13.0.4 version.

ChunkLoadError: Loading chunk src_app_main_my-page_courses_calendar_courses-calendar_module_ts-src_app_main_school-course_s-b9f0e3 failed. (error: http://localhost:4200/src_app_main_my-page_courses_calendar_courses-calendar_module_ts-src_app_main_school-course_s-b9f0e3.js)

Hi @blueiceprj this is an issue related with @angular-devkit/build-angular, not the @fullcalendar/angular package. See my comment here for a possible solution.

I've released @fullcalendar/angular version 5.10.2, which supports angular 13.

Please post issues as other tickets.

For more discussion, see this thread