Deployments fail with Unknown internal error

I've been trying to get a pages deploy to work, but the deploys are failing with the error:

  Failed to publish your Function. Got error: Unknown internal error occurred.


...which is unfortunately not very useful.

It's a small next-on-pages app that I scaffolded yesterday. The deploys started failing after I tried to set up middleware. The build I'm trying to deploy runs locally.

I hope someone from the Cloudflare team can help 🙂

Account ID: c72833155503232d3dad14af6db9c962
Project name: my-next-app
Deployment ID: 65d4ec76-b4f7-4377-9a37-46809bb0515a (one of many)
Was this page helpful?