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/
system
(system)
March 14, 2025, 6:28pm
2
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.
Sometimes things don’t go as expected when deploying a website. If you see a 404 on your site, that means the page or resource couldn’t be found.
There are many possible causes, and the absence of something can be tricky debug if you don’t know where to look. Here are some things you can do to find the cause and fix it.
Debugging Tips
Check the error code
If you see a mostly white screen with 404: NOT_FOUND along with a Code and and ID then you can click the blue info box below the error deta…
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.
amyegan
(Amy Egan)
March 17, 2025, 9:32pm
4
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