Previously I compiled the app source with --type=ionic-angular
But this method is for ionic 3 with angular 5 based on official IONIC Documentation .
So as I need to make my app faster I need ionic 4 with --type=angular
But shows error:
[ERROR] Error loading @ionic/angular package.json: Error: Cannot find module '@ionic/angular/package'
my ionic Info
Ionic CLI : 5.4.16
Ionic Framework : not installed
@angular-devkit/build-angular : 0.1000.3
@angular-devkit/schematics : 10.0.3
@angular/cli : 10.0.3
@ionic/angular-toolkit : 2.2.0
Hi harry as your ionic info shows you are created app project with --type=ionic-angular NOT --type=angular
is it possible to create with second type I mean -- type=angular
the way you are created is Ok for me but my purpose is to boast speed with ionic 4 type.
If you confirm me the only way is to use flag: --type=ionic-angular so my question is done!