Collection "@angular/material" cannot be resolved.
Error: Collection "@angular/material" cannot be resolved.
at NodeModulesEngineHost._resolveCollectionPath (G:\afzal\hello\node_modules\@angular-devkit\schematics\tools\node-module-engine-host.js:88:15)
at NodeModulesEngineHost.createCollectionDescription (G:\afzal\hello\node_modules\@angular-devkit\schematics\tools\file-system-engine-host-base.js:106:27)
at SchematicEngine._createCollectionDescription (G:\afzal\hello\node_modules\@angular-devkit\schematics\src\engine\engine.js:78:40)
at SchematicEngine.createCollection (G:\afzal\hello\node_modules\@angular-devkit\schematics\src\engine\engine.js:71:43)
at Object.getCollection (G:\afzal\hello\node_modules\@angular\cli\utilities\schematics.js:28:31)
at GenerateCommand.getOptions (G:\afzal\hello\node_modules\@angular\cli\models\schematic-command.js:193:41)
at GenerateCommand.<anonymous> (G:\afzal\hello\node_modules\@angular\cli\commands\generate.js:38:53)
at Generator.next (<anonymous>)
at G:\afzal\hello\node_modules\@angular\cli\commands\generate.js:7:71
at new Promise (<anonymous>)