This version of CLI is only compatible with Angular versions ^13.0.0, but Angular version 12.2.13 was found instead.

Error occurs due to node.js and angular version are not compatible.

Run below command, it should work !!

This version of CLI is only compatible with Angular

npm i @angular-devkit/build-angular@12.2.13 --force 
npm i @angular/cli@12

bash: ng: command not found

 

bash: ng: command not found

HTTP Interceptors as Your Exception Handling Heroes

Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(AppModule) in Angular 8

Handling Angular 404 Errors on Page Refresh

Date Selection with matDatepicker in Angular 14’s mat-table

 

One Reply to “This version of CLI is only compatible with Angular versions ^13.0.0”

Leave a Reply

Your email address will not be published. Required fields are marked *