I've been encountering issues during the deployment process of my [login to view URL] app on Cloudflare Pages. Specifically, a build failure error surfaces whenever I try to deploy.
Invalid prerender config for /[uri]
⚡️ Invalid prerender config for /_next/data/E2QK4OzDZR-6Ocf_NUpkt/[uri].json
⚡️ ERROR: Failed to produce a Cloudflare Pages build from the project.
⚡️
⚡️ The following routes were not configured to run with the Edge Runtime:
⚡️ - /[uri]
⚡️ - /_next/data/E2QK4OzDZR-6Ocf_NUpkt/[uri].json
⚡️
⚡️ Please make sure that all your non-static routes export a config object specifying the edge runtime, like:
⚡️ export const config = { runtime: 'edge' };
⚡️
I applied this
export const config = { runtime: 'edge' };
but it still gives the same error
The ideal candidate should:
- Have proven problem-solving skills in [login to view URL] and Cloudflare environments.
- Be capable of troubleshooting and fixing build failure errors.
- Have a vast understanding and ability to interpret and fix error messages efficiently.
The goal is to successfully build and deploy without any errors.
Dear Client, thanks for your detailed description. After reviewing your requirements, I am confident that I am the best one who you are looking for. With 5 years of experience in developing web site, I have deep understanding about Next.js. Just give me a CHANCE. I believe we will make good results. I hope to CHAT with you for discussing the project.
Waiting for you...