adrael / ngx-tweet

Angular component for displaying a Twitter tweet
MIT License
1 stars 8 forks source link

Not compatible with latest Angular version / Ivy #7

Open MickL opened 1 year ago

MickL commented 1 year ago

Describe the bug I just updated my project that uses ngx-tweet but it seems like ngx-tweet has not been updated for a long time (last commit from 2019) and is not compatible with latest Angular version. I get the following error now:

Error: src/app/shared/modules/social-media/social-media.module.ts:22:5 - error NG6002: 'NgxTweetModule' does not appear to be an NgModule class.

22 NgxTweetModule,


  node_modules/ngx-tweet/src/app/ngx-tweet.module.d.ts:1:22
    1 export declare class NgxTweetModule {
This likely means that the library (ngx-tweet) which declares NgxTweetModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

Desktop (please complete the following information):

Additional context I am on latest Angular 16.x