I installed latest Angular CLI and was trying to create a new app i am getting the below error. I uninstalled , cleaned cache , cleaned by forcing it , installed , updated
I had a similar issue. I tried explicitly installing @schematics/angular
and setting my default cli collection using:
npm i @schematics/angular --save-dev
ng config cli.defaultCollection @schematics/angular
It did not work for me.
So instead, since I'm already using ngrx in my project, I opted for @ngrx/schematics
as my default.
npm i @ngrx/schematics -D
ng config cli.defaultCollection @ngrx/schematics
That worked for me.