Cordova run on different configuration

I am running Cordova with command like below to use ‘prod’ configuration.

$ ionic cordova run android -l --verbose – -c prod

The error message is below;

[ng] Configuration ‘prod’ could not be found in project ‘app’.
[ng] Error: Configuration ‘prod’ could not be found in project ‘app’.
[ng] at Architect.getBuilderConfiguration (/Users/jaehosong/apps/philgo-chat/node_modules/@angular-devkit/architect/src/architect.

  • the prod configuration is exists on angular.json and I don’t know why it can’t find.

Please help.