Open magick93 opened 4 months ago
I am facing the same issue. I tried different commands for running it and it always ends in recursion.
Check if you change the build script to "next-on-pages". You shouldn't change the default build script. The script exec chain: npx next-on-pages -> vercel build -> npm run build -> next build. If you change the build script to next-on-pages, the chain will be npx next-on-pages -> vercel build -> npm run build -> next-on-pages -> vercel build. This makes error
next-on-pages environment related information
Running
npx @cloudflare/next-on-pages --info
results in:Description
When I run
pnpm exec next-on-pages
I get the following:Reproduction
I'm working on getting this for you
Pages Deployment Method
None
Pages Deployment ID
No response
Additional Information
I was trying to deploy using wrangler.
Would you like to help?