I did update my ionic project to Angular 14.
Tested all and everything was working when I used ionic s
.
I wanted to test on my android device and ran ionic cordova run android
but got the following error
[ng] This version of CLI is only compatible with Angular versions ^13.0.0 || ^13.3.0-rc.0,
[ng] but Angular version 14.0.4 was found instead.
How can I fix this error?
I'm using :
Both of them should accept the angular v14...
I found here a similar topic for for Ionic cordova run ios
https://github.com/ionic-team/ionic-cli/issues/4876
For the moment, the only available fix is to
"downgrading "manually" until the package.json
, ionic info
and ng version
have angular 13.3.x."