Ionic3 browserAnimationMOdule

i try

i try to import BrowserAnimaionModule in my project
1- i install npm install web-animations-js @4.0.0 --save
2- i import polyfill in main.ts import ‘web-animations-js/web-animations.min’;
3- and when i try to add BrowserAnimationModule in app.module.ts into imports[] i got this error Object prototype may only be an Object or null: undefined

Are you trying to add web animations or BrowserAnimationsModule? As you say you want BrowserAnimationsModule, but you’re trying to install web animations.

If you want BrowserAnimationsModule, I believe you need to install @angular/animations and then
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

Then add BrowserAnimationsModule to your imports.