Failed to Deploy Next app to Pages. CPU time limit

16:26:46.581 Success: Assets published!
16:26:47.958 Error: Failed to publish your Function. Got error: Error: Script startup exceeded CPU time limit.

I tried using the Unbound usage model with same results.

Its a next app which is using 'experimental-edge' and the api routes are responding with a stream.

1 Like

Also don’t want to sting here but Vercel happily deploys the app with the free plan…

Your best bet would probably be to submit an issue at GitHub - cloudflare/next-on-pages: CLI to build and develop Next.js apps for Cloudflare Pages. This was an issue in the past but was mostly resolved with some changes a short while ago:

1 Like