Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

This version of CLI is only compatible with Angular versions

How To Solve This version of CLI is only compatible with Angular versions ^13.0.0, but Angular version 12.2.13 was found instead Error?

 Here You just need to change angular-devkit/build-angular version from ^13.0.2 to ^12.2.8 and Now your problem must be solved. Second solution Just need to change @angular-devkit/build-angular in Package.json. Just open Your package.json file and find this line: “@angular-devkit/build-angular”: “^13.0.2” replace above line with this Line: “@angular-devkit/build-angular”: “~0.1102.3” Now, Run Your app and Your error must be solved.


Solution 1: Change build-angular

Here You just need to change angular-devkit/build-angular version from ^13.0.2 to ^12.2.8 and Now your problem must be solved.

Solution 2: run This command

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


Solution 3: Change @angular-devkit/build-angular in Package.json

Just need to change @angular-devkit/build-angular in Package.json. Just open Your package.json file and find this line.

```
"@angular-devkit/build-angular": "^13.0.2"
```
 
PREVIOUS NEXT
Tagged: #This #version #CLI #compatible #Angular #versions
ADD COMMENT
Topic
Name
8+2 =