Ionic --prod error

i have some issues about compile my code with"ionci cordova run android myApp --prod --device",when i compiled with just " ionic cordova run android --device" is succesfull.What can i do for ths error;

Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exportedfunction (position 5:59 in the original .ts file), resolving symbol MeczanesReducer in /Users/…/meczanes.reducer.ts, resolving symbol AppModule in /Users/…/app.module.ts, resolving symbol AppModule in /Users/…/app.module.ts,
resolving symbol AppModule in /Users/…/app.module.ts

1 Like