robisim74 / angular-l10n

Angular library to translate texts, dates and numbers
MIT License
380 stars 59 forks source link

Function calls are not supported in decorators but 'L10nTranslationModule' was called #326

Closed benzhuo closed 1 year ago

benzhuo commented 3 years ago

I'v run into an error when build my project in product mode. ERROR in Error during template compile of 'BzadmModule' Function calls are not supported in decorators but 'L10nTranslationModule' was called

the code in NgModule like

imports: [ L10nTranslationModule.forRoot( l10nConfig, { translationLoader: HttpTranslationLoader } ) }

I am using angular-l10n@9.0.0

Is there anyone know how to solve this ?

robisim74 commented 3 years ago

@benzhuo Please provide more details or a reproduction.

robisim74 commented 1 year ago

Closed due to inactivity