I am trying to use the Angular schemats that are shown on this page. When I try to use this following command in the terminal at the root of the project ng generate @ang
Try the following cmds, It worked for me :
npm install --save @angular/material@6.2.1 @angular/cdk@6.2.1 ng add @angular/material@6.2.1