Deployment to pages fails without error message

Trying to deploy a pages project. If I deploy only 4 functions, the deployment works. If I deploy 5 functions, it fails. I've deployed a few times with different functions, it looks like its not about which functions I deploy, but about how many, it always breaks at 5+.

More problematic is the lack of any error. Deployment with wrangler completes without issues. The dashboard just states a failure, but no message is to be found anywhere.
Was this page helpful?