Problem with nextJs deployment

Hello , I am new to render.com and this is my first try to deploy my portfolio.
I followed the instructions and in the deploy process I got no errors


then when I try to take a look at the deployed site it says not found
I could take a SS from the not found screen but apparently new users cannot upload more than 1 embedded media…
sorry in advance if this issue has been discussed before

Hi there,

Thanks for reaching out.

If you’re getting a Static Site showing “Not found”, it’s usually due to the “Publish Directory” being incorrect/your build is not where you expect. The Publish Directory needs to be set to where the root index.html file is generated. Maybe run npm run build locally to see where your Static Files are generated.

Kind regards

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.