Error: Failed to publish your Function. Got error: Error: Script startup exceeded CPU time limit

Hi everyone ! I am facing issue while deploying the next js ssr site with edge run time on cloudflare pages But it shows the following error and cant get through it. Error: Failed to publish your Function. Got error: Error: Script startup exceeded CPU time limit.
1 Reply
Erisa
Erisa15mo ago
This means too much activity is happening in the global scope of the generated Worker: https://developers.cloudflare.com/workers/platform/limits#worker-startup-time Very tricky to debug, especially if the code is generated by next-on-pages, maybe you could raise an issue there or look for anything your own code has in global scope?