Created
October 12, 2023 08:05
-
-
Save transcendr/547c41dc72395f33eab0b91b97a9572c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This error is caused by a mismatch in the required versions of @angular/compiler by different packages. The | |
root project requires @angular/compiler@~14.2.0, but @angular/[email protected] (which is a peer dependency of | |
@ng-bootstrap/[email protected]) requires @angular/[email protected]. | |
Here are a few potential solutions: | |
1 Update the version of @angular/compiler in your project to 14.3.0 to match the version required by | |
@angular/localize. | |
2 If the first solution is not possible, you could try installing the packages with the --force or | |
--legacy-peer-deps options as suggested by the error message. However, this could lead to incorrect and | |
potentially broken dependency resolutions. | |
3 Another solution could be to downgrade the version of @ng-bootstrap/ng-bootstrap to a version that | |
requires a compatible version of @angular/compiler. | |
Please let me know how you'd like to proceed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment