cordova-res was not found on your PATH code example
Example: cordova-res' is not recognized as an internal or external command
npm i -g cordova-res
ionic cordova resources --cordova-res
npm i -g cordova-res
ionic cordova resources --cordova-res