Hello, I’m creating a PWA using Ionic but I cant build it for prod.
Ionic CLI : 5.4.16 Ionic Framework : @ionic/angular 5.6.6 @angular-devkit/build-angular : 0.1102.13 @angular-devkit/schematics : 11.2.13 @angular/cli : 11.2.13 @ionic/angular-toolkit : 3.1.1 Utility: cordova-res : not installed native-run : not installed System: NodeJS : v10.13.0 npm : 6.4.1 OS : macOS Catalina
ionic build --prod
It logs errors regarding ionic templates
Here is my
I already have the IonicModule for the components but I am still having this issue
I also tried creating a new app with some component and with same dependencies, and it successfully build it in prod.
I also tried removing node_modules and doing
npm i again