I know the answer to this question is already available on SOF but I can't use --legacy-peer-deps or --force on my production server that's why I want to learn the real reason behind why this error occurs and want to fix it.
On installing some libraries I am getting the following error, does anyone know how to resolve it without forcing it? I am working on Angular 14, If need be I can downgrade too.


The reason you get this error is because your dependency
[email protected]is depending on an@angular/commonversion between 8 - 13. But your app is on angular 14 with@angular/[email protected].You have two options:
If possible, upgrade
ngx-intl-tel-inputto a newer version, that makes use of@angular/[email protected]Downgrade your app to angular 13.
Edit You've added a second image. Here it seems you are just missing
@angular/animations. Trynpm i @angular/animations