Collection "@angular/material" cannot be resolved.

28 views
Skip to first unread message

sunil gupta

unread,
Jun 19, 2018, 11:40:38 AM6/19/18
to Angular and AngularJS discussion
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>)

sunil gupta

unread,
Jun 19, 2018, 11:40:38 AM6/19/18
to Angular and AngularJS discussion

jamester go

unread,
Jun 19, 2018, 9:34:46 PM6/19/18
to ang...@googlegroups.com
I think you are missing the material package you can try adding it first before building the project

--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages