1
votes

in the past , I use below code in my angular project :

import {BrowserAnimationsModule} from "@angular/platform-browser/animations";

but now , when I want use the BrowserAnimationsModule , I get this error :

Cannot find @angular/platform-browser/animations module

what can I do ?

1

1 Answers

0
votes

Try installing angular/animations again with :

npm install --save @angular/animations