I just updated to ionic 6. I can use the command ionic codova run android
without any issue. If I add --livereload
it complains about the angular version.
ionic cordova run android --livereload --consolelogs --serverlogs --ssl
> ng run app:ionic-cordova-serve --host=localhost --port=8100 --ssl --platform=android --consolelogs --consolelogs-port=53703
[ng] This version of CLI is only compatible with Angular versions ^13.0.0,
Everything should be on version 12 so I’m not sure what’s going on. Here’s my ionic info. Any help would be greatly appreciated.
ionic info
Ionic:
Ionic CLI : 6.16.3 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.0.10
@angular-devkit/build-angular : 12.2.16
@angular-devkit/schematics : 12.2.16
@angular/cli : 12.2.16
@ionic/angular-toolkit : 6.0.0
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : not available
Cordova Plugins : not available
Utility:
cordova-res (update available: 0.15.4) : 0.15.3
native-run : 1.5.0
System:
ios-deploy : 1.11.4
ios-sim : 8.0.2
NodeJS : v14.15.5 (/usr/local/bin/node)
npm : 6.14.11
OS : macOS Monterey
Xcode : Xcode 13.2.1 Build version 13C100