Module not found: Error: Can't resolve '@angular/animations' : <p>After using "npm install" and starting local server by "npm start" I started getting this error:-</p>

<pre><code>ERROR in ./~/@angular/material/@angular/material.es5.js
Module not found: Error: Can't resolve '@angular/animations' in '/home/ashvini/Desktop/HN-Angular2/node_modules/@angular/material/@angular'
 @ ./~/@angular/material/@angular/material.es5.js 20:0-81
 @ ./src/app/app.module.ts
 @ ./src/main.ts`enter code here`
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
webpack: Failed to compile.
</code></pre>

<p>This is related to angular material design but I am not able to understand what I need to do to resolve this issue.</p>

<p>Before "npm install" it was working fine.</p>
