Skip to content

Aot and production build failed #429

Closed
@thomasaelbrecht

Description

@thomasaelbrecht

When I try to build my project with the following command:

ng build --aot -prod

Then I get the following warnings and error:
WARNING in Invalid background value at 252:282. Ignoring.

WARNING in Invalid background value at 276:60084. Ignoring.

ERROR in ../angular-bootstrap-datetimepicker/angular-bootstrap-datetimepicker.ts(104,9): Error during template compile of 'DlDateTimePickerStringModule'
Function calls are not supported in decorators but 'localeData' was called.

What does that mean? Can you figure out a solution?
Thanks!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions