abacritt / angularx-social-login

Social login and authentication module for Angular 17
636 stars 387 forks source link

latest version not compiling on angular 13 projects #602

Closed nik2208 closed 1 year ago

nik2208 commented 2 years ago

this is the message I get:

This application depends upon a library published using Angular version 14.2.0, which requires Angular version 14.0.0 or newer to work correctly.

I moved back to angularx-social-login@1.1.0 to make it work.

Is there any other solution (apart from moving to angular 14, I mean..)?

cduerkes commented 1 year ago

Because of breaking changes that were made to the compiler with v14, in order to support both Angular 13 and 14, you may need to build the project using Angular 13: https://github.com/angular/angular/issues/46748#issuecomment-1178827913

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

EliezerB123 commented 1 year ago

Because of breaking changes that were made to the compiler with v14, in order to support both Angular 13 and 14, you may need to build the project using Angular 13: angular/angular#46748 (comment)

As you say. The last version that supports Angular 13 appears to be version 1.2.3, before the dependencies were updated. (Which you can install with npm install @abacritt/angularx-social-login@1.2.3 --save )