album.component.html:9 ERROR RuntimeError: NG05105: Unexpected synthetic listener @lightbox.done found. Please make sure that:
- Either `BrowserAnimationsModule` or `NoopAnimationsModule` are imported in your application.
- There is corresponding configuration for the animation named `@lightbox.done` defined in the `animations` field of the `@Component` decorator (see https://angular.io/api/core/Component#animations).
at checkNoSyntheticProp (platform-browser.mjs:756:11)
at EmulatedEncapsulationDomRenderer2.listen (platform-browser.mjs:720:86)
at listenerInternal (core.mjs:25763:34)
at ɵɵsyntheticHostListener (core.mjs:25676:3)
at Object.LightboxComponent_HostBindings [as hostBindings] (ng-gallery-lightbox.mjs:98:14)
at invokeHostBindingsInCreationMode (core.mjs:12423:9)
at invokeDirectivesHostBindings (core.mjs:12407:9)
at createRootComponent (core.mjs:16706:3)
at ComponentFactory.create (core.mjs:16568:21)
at DomPortalOutlet.attachComponentPortal (portal.mjs:302:39)
@MurhafSousli Could you please help me? Maybe I have bad configuration.
I try run Lightbox Component on Angular 18 and have a problem. My configuration:
Album component:
And I have got this error:
@MurhafSousli Could you please help me? Maybe I have bad configuration.