angular-l10n icon indicating copy to clipboard operation
angular-l10n copied to clipboard

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

Open benzhuo opened this issue 4 years ago • 1 comments

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 [email protected]

Is there anyone know how to solve this ?

benzhuo avatar Jun 10 '21 07:06 benzhuo

@benzhuo Please provide more details or a reproduction.

robisim74 avatar Jun 10 '21 19:06 robisim74

Closed due to inactivity

robisim74 avatar May 14 '23 07:05 robisim74