Dependency installation error for Angular 15.0.1
emanuelep57 opened this issue · 2 comments
emanuelep57 commented
I know angular 15 is not supported yet, but I'm reporting in this case if anyone has the same issue
Os : Opensuse tumbleweed (linux x64)
Angular CLI : 15.0.1
Package Manager : npm 9.1.2
OS: linux 64
Command : > npm install --save @fullcalendar/angular
@fullcalendar/daygrid
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: frontend@0.0.0
npm ERR! Found: @angular/common@15.0.1
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"^15.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"9 - 14" from @fullcalendar/angular@5.11.3
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 /home/emanuele/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/emanuele/.npm/_logs/2022-11-24T09_29_43_237Z-debug-0.log
emanuelep57 commented
Working with :
npm install --save @fullcalendar/angular --legacy-peer-deps
Although I don't think it's a fix as much as a workaround.
acerix commented
Support for Angular 15 was added in v6 which is still in beta, it's working in that example project:
https://codesandbox.io/s/fervent-sid-bikwpv?file=/src/app/app.component.ts
https://github.com/fullcalendar/fullcalendar-example-projects/tree/v6/angular15