Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
8920
angular-schematics error : Collection "@igniteui/angular-schematics" cannot be resolved
posted

Installed : C:\_ng\new_ig1>npm i -g @igniteui/angular-schematics

then run command below, and got the error, any advice why? 

ng new igGrid2sch --collection="@igniteui/angular-schematics" --template=side-nav

Log: 

[error] Error: Collection "@igniteui/angular-schematics" cannot be resolved.
at SchematicEngineHost.resolve (C:\node_modules\@angular-devkit\schematics\tools\node-module-engine-host.js:75:19)
at SchematicEngineHost._resolveCollectionPath (C:\node_modules\@angular-devkit\schematics\tools\node-module-engine-host.js:80:37)
at SchematicEngineHost.createCollectionDescription (C:\node_modules\@angular-devkit\schematics\tools\file-system-engine-host-base.js:118:27)
at SchematicEngine._createCollectionDescription (C:\node_modules\@angular-devkit\schematics\src\engine\engine.js:162:40)
at SchematicEngine.createCollection (C:\node_modules\@angular-devkit\schematics\src\engine\engine.js:155:43)
at NewCommand.getCollection (C:\node_modules\@angular\cli\models\schematic-command.js:143:35)
at NewCommand.initialize (C:\node_modules\@angular\cli\models\schematic-command.js:62:37)
at async NewCommand.validateAndRun (C:\node_modules\@angular\cli\models\command.js:121:22)
at async Object.runCommand (C:\node_modules\@angular\cli\models\command-runner.js:224:24)
at async default_1 (C:\node_modules\@angular\cli\lib\cli\index.js:70:31)

Also what would be the reason to use angular-schematics vs Ignite UI Cli , they seems like do the same..  I did not have problem to create new pj with Ignite UI CLI

Parents Reply Children