makibu
August 26, 2024, 2:11pm
1
I do encounter “NOT_FOUND” 404 error on deployed site.
Deployment is successful without any logs and errors,
I’m building the project with root directory as /frontend for fullstack app
vercel.json is configured correctly, including /frontend
everything such as building commands and folder name (dist), aswell as project settings on vercel to run proper commands.
I’m the owner of the project, I’m not misspelling the URL because I’m using the hiperlink from vercel
there is only one error in the console:
Failed to load resource: the server responded with a status of 404 ()
App is created on Vite, using react + typescript, with react-router,
Local deployment looks fine, so there aren’t any issues in code
https://brain-games-dun.vercel.app/
amyegan
(Amy Egan)
August 26, 2024, 3:29pm
2
Hi @makibu . I wrote down some 404 troubleshooting tips that I use to solve most common causes of these errors. Please give these a try and let me know if they help you figure out why the error is happening.
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…
system
(system)
Closed
August 29, 2024, 5:29pm
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.