I created a new Angular project and get the following 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
My Angular version is: 9.0.7
As suggested here I tried to remove the node_modules
and reinstall it, but it didn't help.
From issue comment from angular repository https://github.com/angular/angular/issues/29960#issuecomment-484420080
If you set "target": "es5" in your tsconfig.app.json, then this bug does not happen.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With