I can see it working with ionic serve, but when i try to preform a ionic cordova run android I get the following error
An unhandled exception occurred: architect_1.createBuilder is not a function
See “C:\Users\DJ\AppData\Local\Temp\ng-baL6EH\angular-errors.log” for further details.
[ERROR] An error occurred while running subprocess ng.
ng.cmd run app:ionic-cordova-build --platform=android exited with exit code 127.
Then delete node_modules and your package-lock, and install things again. The other packages that have been removed are now listed as deps of build-angular and should managed by that.
I have done all that but i get the following error now/
ionic cordova run android
> ng.cmd run app:ionic-cordova-build --platform=android
An unhandled exception occurred: Cannot find module '@angular-devkit/architect'
See "C:\Users\DJ\AppData\Local\Temp\ng-0FczmQ\angular-errors.log" for further details.
[ERROR] An error occurred while running subprocess ng.
ng.cmd run app:ionic-cordova-build --platform=android exited with exit code 127.
Re-running this command with the --verbose flag may provide more information.