Skip to content

strictTemplates, Angular 9: compability with Ivy #18637

@andzejsw

Description

@andzejsw

Enabling the new strictTemplates flag in Angular 9's compiler options generates the following build error:
This likely means that the library (@angular/platform-browser/animations) which declares BrowserAnimationsModule 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.
Error appears for multiple components:

  1. @angular/platform-browser/animations
  2. @angular/router
  3. @angular/material/sort
  4. @angular/material/paginator
  5. @angular/material/datepicker
  6. @angular/material/icon
  7. @angular/material/core
  8. @angular/forms

And maybe in some other. But these ones i am using in my project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions