Saturday, January 11, 2020

cannot find module '@angular/animations'.


Hi Guys ,

This blog is about the error
cannot find module '@angular/animations'.

You may get this error while using angular animation .

Below are the few steps which will help you fix this error .

Check if the angular animation module is  present in your application .

If angular animation is not present install angular animation using the following command .
npm install @angular/animations

After that import BrowserAnimationsModule in appmodule.ts file .

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


Hope this helps in resolving the issue .

No comments:

Post a Comment

ec2-user@ec2 Permission denied