Hi @Farko,
Updating cordova-plugin-ionic to the latest version should fix this issue.
On a related note, this type of problem can also result from a deploy manifest file not being used in a project. For users experiencing a similar issue I recommend reviewing this documentation on this topic.
If the issue persists please reach out to Appflow support for further assistance. Thanks!