FullCalendar (Angular 13) 安装出现 npm 错误

FullCalendar (Angular 13) installation with npm error

当运行:

npm i @fullcalendar/angular

我收到以下错误:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: mon-premier-projet@0.0.0
npm ERR! Found: @angular/common@13.0.2
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"~13.0.2" 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@"*" 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!
npm ERR! See C:\Users\PC\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\PC\AppData\Local\npm-cache\_logs21-11-24T12_37_33_454Z-debug.log

我该如何解决这个问题?谢谢解答

Screenshot of error

使用这个:

npm i @fullcalendar/angular --legacy-peer-deps