Package '@angular/animations' is not a dependency. code example Example: angular/animations install npm npm install @angular/animations@latest --save