Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3.2.0 appears to only work on Angular 12+ #447

Closed
Austinb opened this issue Apr 22, 2022 · 3 comments
Closed

Version 3.2.0 appears to only work on Angular 12+ #447

Austinb opened this issue Apr 22, 2022 · 3 comments
Labels
dependencies Pull requests that update a dependency file valid ✅ issue valid/confirmed

Comments

@Austinb
Copy link

Austinb commented Apr 22, 2022

Does not compile properly for Angular 11. Installing @3.1.3 works as expected. Would recommend rescinding the 3.2.0 version and jump to 3.2.1 or 3.3.x with updated package.json limiting installations to Angular 12+

Errors running 3.2.0 on Angular 11.2.x:

Error: node_modules/ngx-intl-tel-input/lib/data/country-code.d.ts:4:21 - error TS2694: Namespace '"/path/to/project/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

4     static ɵfac: i0.ɵɵFactoryDeclaration<CountryCode, never>;
                      ~~~~~~~~~~~~~~~~~~~~

And so on. According to another package we use ɵɵFactoryDeclaration is not available until Angular 12 (ref: angular/angular#44366 (comment))

@cmckni3 cmckni3 added the dependencies Pull requests that update a dependency file label Jan 17, 2025
@cmckni3
Copy link
Collaborator

cmckni3 commented Jan 30, 2025

The issue appears to be valid to me. I am releasing separate library versions to align with the Angular version.

It has been a while, but I think your issue involves the new Ivy rendering engine introduced in Angular 12.x.

@cmckni3 cmckni3 added the valid ✅ issue valid/confirmed label Jan 30, 2025
@cmckni3
Copy link
Collaborator

cmckni3 commented Jan 30, 2025

Ran into the same issue with Angular 13 test app. I built and published a beta with ng 14 and it threw the same error when running in ng 13.

@cmckni3 cmckni3 mentioned this issue Jan 30, 2025
6 tasks
@cmckni3
Copy link
Collaborator

cmckni3 commented Jan 31, 2025

Bumped 3.2.1 and 13.0.0 and published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file valid ✅ issue valid/confirmed
Projects
None yet
Development

No branches or pull requests

2 participants