Bugged with a Static injection error for a cordova --prod build on device. Cant figure out which module/service throws the error, while, it works on a debug build on device. With webpack4, is there a way to disable uglify and minify in under enableProd?
Error: StaticInjectorError(a)[k -> r]:
StaticInjectorError(Platform: core)[k -> r]:
NullInjectorError: No provider for r!
Info here:
Ionic:
ionic (Ionic CLI) : 4.12.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.2.3
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.5.1, (and 14 other plugins)
System:
Android SDK Tools : 26.1.1 (/home/abc/Android/Sdk)
NodeJS : v10.16.0 (/usr/bin/node)
npm : 6.4.1
OS : Linux 4.15