ng-sm / title

Angular - page title module based on ngx-translate
2 stars 1 forks source link

Compability with Angular Ivy #3

Open grzegorzbernat opened 4 years ago

grzegorzbernat commented 4 years ago

I am trying to add this module to app based on Angular 9 (with ivy). I am getting this error:

    ERROR in node_modules/@ngsm/title/lib/title.module.d.ts:4:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.

    This likely means that the library (@ngsm/title) which declares TitleModule has not been processed correctly by ngcc, or 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.

    4 export declare class TitleModule {
                           ~~~~~~~~~~~

Module is imported with: import { TitleModule } from '@ngsm/title';, I am not using @ngsm/i18n

sebastianmusial commented 4 years ago

@grzegorzbernat I published a new version please check it now.

grzegorzbernat commented 4 years ago

@sebastianmusial Ok, now project is compiling, but there is the same problem as here