Hi there, I am working in an app with Ionic 4, and everything works fine with ionic serve, ionic cordova run browser and ionic cordova run android, but when I add --prod --release I get this error and I cannot identify what is wrong.
This is my Ionic info:
Ionic:
Ionic CLI : 5.2.4 (C:\Users\XXXX\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.7.1
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.0.0
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : not available
Cordova Plugins : not available
Utility:
cordova-res : 0.4.0
native-run : 0.2.2
System:
Android SDK Tools : 26.1.1 (C:\Users\XXXX\AppData\Local\Android\Sdk)
NodeJS : v10.16.0 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10