Cannot determine the module for class IonicApp command: ionic cordova build <platform> --prod --release failure

Yes, sorry for my oot, i solved my problem simply avoiding declaration of a variable as “Page” interface.
So, instead of:

let page : Page;

using

let page;

the AOT compiler does not encounter errors.
I think it is an anomalous behavior to report.

1 Like