Angular 2 - Module not found: Error: Can't resolve '@angular/material'
I did that command again and everything ran smoothly
npm install --save @angular/material
npm install --save @angular/material
npm install --save @angular/cdk
restart dev server
(usually the console will tell you when there are dependencies, pay attention to it)
Simply add it to your project
ng add @angular/material