Open martian0x80 opened 1 month ago
Fixed: It was just a DNS issue on my machine, And a coincidence that an ENV var needed updating on the cf pages project.
Nvm, still a DNS issue with cloudflare workers. I randomly get a client side exception just like I do on localhost because of the DNS issues.
next-on-pages environment related information
Description
Hi, so, I have been trying to migrate a site from Vercel to CF pages, but it's a new problem at every step, first was an issue with the bun version that cf uses, and now this.
Ran
npx @cloudflare/next-on-pages@latest
without any serious warnings or errors. After deployment, I got aApplication error: a client-side exception has occurred (see the browser console for more information).
Then checked the runtime logs with
npx wrangler pages deployment tail
, which gives meCan't make any external API requests from the site. So, I started wrangler dev locally with
npx wrangler pages dev .vercel/output/static
, and this is what I get everytime,I added a comment on an issue that looks similar in the workerd repo here.
I am not sure if the local errors (in wrangler dev) are related to the one in the deployment, so does anyone have any clue?
Reproduction
No response
Pages Deployment Method
Pages CI (GitHub/GitLab integration)
Pages Deployment ID
No response
Additional Information
No response
Would you like to help?