Found the synthetic property @flyInOut. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.
See original GitHub issueIncluded BrowserAnimations correctly and followed all the steps in the Readme file, but still facing the same issue -->
import { BrowserModule, DomSanitizer } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule]
})
FYI…I have implemented a custom toast component.
_Originally posted by @wsh92 in https://github.com/scttcper/ngx-toastr/issues/136#issuecomment-439276200_
Issue Analytics
- State:
- Created 5 years ago
- Comments:10
Top Results From Across the Web
'Found the synthetic property @panelState. Please include ...
Found the synthetic property @panelState. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application. Screenshot of error.
Read more >Getting Error in Angular 8, “ERROR Error: Found the synthetic ...
Please include either “BrowserAnimationsModule” or “NoopAnimationsModule” in your application.” While working on one of the web application ...
Read more >Error: Found the synthetic property @triggerName. Please ...
Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application. at checkNoSyntheticProp. Add Answer | View In TPC Matrix.
Read more >Found The Synthetic Property @Panelstate. Please Include ...
Found the synthetic property @panelState. Please include either BrowserAnimationsModule or NoopAnimationsModule in your application.' This error message is.
Read more >Found the synthetic property @flyInOut. Please include either ...
Found the synthetic property @flyInOut. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you’re still looking for the solution, do the following;
Import BrowserAnimationsModule to your app.module.ts page. Like this below; import { BrowserAnimationsModule } from ‘@angular/platform-browser/animations’;
Add the module to your list of imports. Like this below; imports: [ BrowserAnimationsModule ]
This should work perfectly.
Have you included the animations to your custom component? Components in Angular cannot inherit animations from other components. Although it still somehow causes the error you’ve gotten.
Your best bet is to copy the animations from our
Toast
component and add it to your custom component and customize it, if desired.