Worker exceeded startup limits cloudflare
I am using Solidstart with SSR on deploy i started getting this weird error
β [ERROR] Your Worker failed validation because it exceeded startup limits.
It only happens with SSR enabled. I do not have big app and cpuprofile is below 200ms i added photo.
This only happens sometimes even rebuild can fix this problem.
Would love to have permament solution.
4 Replies
i have noticed that nitro.mjs is huge

You probably import a big lib thatβs not treeshakeable
its gigantic with my empty app - around 260 kb
Scan package.json β Bundlephobia
Scan dependencies in your package.json to find the largest and heaviest npm packages in your frontend javascript bundle.