I need to work on Angular 4 animation so i followed the usual steps like importing the BrowserAnimationsModule module in the root module and importing it in the component. I have also installed npm modules but I am getting an error as
node_modules/@angular/animations/browser"' has no exported member '?DomAnimationEngine'
Please let me know what i need to do to solve it.
Check your package.json file, and remove the ^ from the angular/animations dependency: before:
"@angular/animations": "^4.1.3",
after:
"@angular/animations": "4.1.3",
then delete your node_modules folder and run
npm install
If it doesn't work try following the issue recommendations on https://github.com/angular/angular/issues/17400
I had the same problem, and after some struggling it worked.
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