So I followed the instructions to deploy a next.js static site but I’m getting this error:
“Error: Could not find a production build in the ‘/opt/render/project/src/build’ directory. Try building your app with ‘next build’ before starting the static export. next-export-no-build-id | Next.js”
Could you let me know what your Build Command and Publish directory settings are, or share your render.yaml?
I’d also suggest forking/copying the example repo directly, confirming you can deploy that as a static site, then using it as a reference to help understand what might be happening in your static site.