Incompatible CLI/Angular versions

After update to Ionic CLI 6.18.2 I cannot build app to Android device.

I get the error:

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

I have tried to re-install v. 6.18.1 of the CLI
I have also tried to run

npm i @angular-devkit/build-angular@12.1.1 --force

without any success.

I did find this in the package-lock:

"@ionic/cordova-builders": {
      "version": "6.0.0",
      "resolved": "https://registry.npmjs.org/@ionic/cordova-builders/-/cordova-builders-6.0.0.tgz",
      "integrity": "sha512-pNP8yOCtqbMF8SyBRyg5QHwOjEgnLhXvP378ohY5f6Y/w6ll4Ki7m758qdbAUO9jXcXGGBYGRjtfTDK7toy3fA==",
      "requires": {
        "@angular-devkit/architect": "^0.1300.1",
        "@angular-devkit/build-angular": "^13.0.1",
        "@angular-devkit/core": "^13.0.1",
        "cheerio": "^1.0.0-rc.10",
        "colorette": "^2.0.16",
        "copy-webpack-plugin": "^9.0.1",
        "ws": "^8.2.3"
      }

So I tried to install a lower version of the angular-toolkit and I also re-installed Ionic all together,
but still no success.

The app is still building fine for the iOS platform.

My Ionic info:

Ionic:

   Ionic CLI                     : 6.18.1 (/Users/madsm.l.henriksen/.nvm/versions/node/v14.19.0/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.9.1
   @angular-devkit/build-angular : 12.1.1
   @angular-devkit/schematics    : 12.2.17
   @angular/cli                  : 12.2.17
   @ionic/angular-toolkit        : 6.0.0

Cordova:

   Cordova CLI       : 10.0.0 (cordova-lib@10.1.0)
   Cordova Platforms : android 10.1.1, ios 6.2.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 20 other plugins)

Utility:

   cordova-res : 0.15.4
   native-run  : 1.5.0

System:

   Android SDK Tools : 26.1.1 (/Users/madsm.l.henriksen/Library/Android/sdk)
   ios-deploy        : 1.11.4
   ios-sim           : 8.0.2
   NodeJS            : v14.19.0 (/Users/madsm.l.henriksen/.nvm/versions/node/v14.19.0/bin/node)
   npm               : 6.14.16
   OS                : macOS Monterey
   Xcode             : Xcode 13.3 Build version 13E113