You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angular 12: Use 12.x versions of this library (should also work with older Angular versions!).
Angular 11: Use 10.x versions of this library (should also work with older Angular versions!).
Angular 10: Use 10.x versions of this library (should also work with older Angular versions!).
Angular 9: Use 9.x versions of this library (should also work with older Angular versions!).
On the other hand if I try to use Version 12.x with an older Anglar version npm throws:
npm WARN [email protected] requires a peer of @angular/core@>=12.0.0 but none is installed. You must install peer dependencies yourself.
How does this fit together? Is it safe to ignore this warning?
To Reproduce
Generate plain new Angular Projekt with Angular Version 9, 10, or 11
Add "angular-oauth2-oidc": "^12.0.1", as a dependency in package.json
execute npm install
See error
Expected behavior
If the readme states it should work with older Angular Versions, version 12.x should not have peer dependency of @angular/core@>=12.0.0.
So expected behaviour would be no error output from npm
The text was updated successfully, but these errors were encountered:
we only test-lib version 12 with Angular 12 and lib version 11 with Angular 11 etc. However, as breaking changes are quite rare and as this library only uses services, chances are very high that everything works with older versions. We cannot guarantee it but chances are high.
Hello,
The README states the following:
On the other hand if I try to use Version 12.x with an older Anglar version npm throws:
npm WARN [email protected] requires a peer of @angular/core@>=12.0.0 but none is installed. You must install peer dependencies yourself.
How does this fit together? Is it safe to ignore this warning?
To Reproduce
"angular-oauth2-oidc": "^12.0.1",
as a dependency in package.jsonnpm install
Expected behavior
If the readme states it should work with older Angular Versions, version 12.x should not have peer dependency of @angular/core@>=12.0.0.
So expected behaviour would be no error output from npm
The text was updated successfully, but these errors were encountered: