Please check this troubleshooting guide: How to debug your build locally / "It works on my Mac/PC but not on bitrise.io"
And see this Ionic/Cordova setup guide: How to build Ionic 2 apps
Let us know if you have any questions, or if you can find the cause of the issue!