Error: Pages only supports files up to 25 MiB in size
I got this error for an app that I bought (nextjs using pnpm). They suggests to work with vercel, but I want to keep working with CF.
If I upgrade this project, can this issue be fixed?
Or maybe I should use other output folder
I am using
.next
now. Which folder should I use for the output?
my structure is:
Thanks,
5 Replies
Anyone?
The docs for next says you need to use
.vercel/output/static
:
https://developers.cloudflare.com/pages/framework-guides/nextjs/ssr/get-started/Cloudflare Docs
Get started | Cloudflare Pages docs
Deploy a full-stack Next.js app to Cloudflare Pages
I tried that too. It didn't work. I ended up moving to vercel. Thanks anyway.
Are you using next-on-pages?
https://github.com/cloudflare/next-on-pages
https://developers.cloudflare.com/pages/framework-guides/nextjs/ssr/get-started/#existing-apps
GitHub
GitHub - cloudflare/next-on-pages: CLI to build and develop Next.js...
CLI to build and develop Next.js apps for Cloudflare Pages - cloudflare/next-on-pages
Cloudflare Docs
Get started | Cloudflare Pages docs
Deploy a full-stack Next.js app to Cloudflare Pages
I'll try later, thanks.