Error rendering dynamic pages: Internal Server Error
I get this error when trying to render a dynamic page on Cloudflare workers.
[wrangler:info] GET /forms/public/superteam-feedback-35aed5d7 500 Internal Server Error (11ms)
✘ [ERROR] Error: No such module "next-on-pages-dist/functions/forms/public/[slug].func.js".
I have tried all solutions found online and AI suggested fixes. The issue persists.
Here’s a post on Cloudflare community about this issue
https://community.cloudflare.com/t/500-internal-server-error-on-dynamic-pages/816350
Could this be related with compatibility issue with Next 15?
1 Reply
I have tried switching to opennextjs/cloudflare,
It builds fine, when I try accessing the page via the exposed port, it just keeps loading indefinitely, no error message, nothing to help or point out an issue