Open1

Angular17について調べたこと

mskmsk

下のエラーが出てBrowserAnimationsModuleを使用したいとき

main.ts:5 ERROR Error: NG05105: Unexpected synthetic property @animationState found. Please make sure that:
  - Either `BrowserAnimationsModule` or `NoopAnimationsModule` are imported in your application.
  - There is corresponding configuration for the animation named `@animationState` defined in the `animations` field of the `@Component` decorator (see https://angular.io/api/core/Component#animations).

https://github.com/primefaces/primeng/issues/14207

ApplicationConfigのprovidersにprovideAnimationsAsync()を追加する。