Gatsby v5 not working when deployed to vercel but works locally

After deploying existing gatsby v5 to vercel it fails to load any site resourses. I only see 404 pages.
Gatsby build v5 locally works fine.

Currently all network request to site pages, assets etc gives 404.
It should load all these resouses correctly.

I deployed the existing gatsby v5 project using the vercel cli.

https://public-2s818ydf7-nimit-sevaks-projects.vercel.app/

There’s another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes.

A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.

I have tried it but it is not working. I can see my site can be accessed at gatsby-test path instead of root path. How do I remove the gatsby-test path and allow it to be accessed from root.

Depending on your repo setup, you may need to specify a specific folder as the Root Directory for your project. Please give that a try and let me know how it goes :slightly_smiling_face: