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
This happened to me after updating the project from v6 to v7. However, I missed updating @schematics/angular
to a newer version. Apparently, there was some compatibility mismatch that wasn't noted in the package.json
s that caused this issue.
The best way I've found to figure out what the versions of stuff should be is to create a new project with the version of Angular you are trying to use. Once created, look at it's package.json
to figure what versions should be compatible with what.