Closed
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
live reload using cordova and angular 14 does no longer work.
> ng.cmd run app:ionic-cordova-serve --host=localhost --port=8100 --platform=browser
[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.6 was found instead.
[ng]
[ng] Please visit the link below to find instructions on how to update Angular.
[ng] https://update.angular.io/
[ng]
[ERROR] ng has unexpectedly closed (exit code 3).
Most likely cause is that @ionic/cordova-builders is not updated to use Angular 14.
Expected Behavior
Live reload should work.
Steps to Reproduce
Try to run any given cordova/angular 14 app with the -l option.
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 6.20.1 (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 6.1.14
@angular-devkit/build-angular : 14.0.6
@angular-devkit/schematics : 14.0.6
@angular/cli : 14.0.6
@ionic/angular-toolkit : 6.1.0
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : android 11.0.0, browser 6.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 21 other plugins)
Utility:
cordova-res : 0.15.4
native-run : 1.6.0
System:
Android SDK Tools : 26.1.1 (C:\Users\xxxxxx\AppData\Local\Android\Sdk)
NodeJS : v16.15.1 (C:\Program Files\nodejs\node.exe)
npm : 8.14.0
OS : Windows 10
Additional Information
I have reported the issue also at https://github.com/ionic-team/[angular-toolkit](https://github.com/ionic-team/angular-toolkit) but that doesn't seem t be monitored.