sl-kevin
(Sl Kevin)
April 2, 2025, 10:07am
1
Why my website does not show up? The dashboard shows its running (the green button) but actually when I opening the URL it shows 404 error…
The website works fine in my PC in dev and also in build run, but in vercel the website didn’t working.
Framework - NextJS
system
(system)
April 2, 2025, 10:07am
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 .
anshumanb
(Anshuman Bhardwaj)
April 2, 2025, 10:53am
3
Hi @sl-kevin , welcome to the Vercel Community!
Sorry that things didn’t work as expected. From your build settings I see that the framework preset isn’t setup correctly.
Can you ensure that it is set to Next.js for all environments?
sl-kevin
(Sl Kevin)
April 4, 2025, 8:46am
4
But I have setup the all things
sl-kevin
(Sl Kevin)
April 4, 2025, 8:55am
5
It seems to be there’s another problem too,
The file which makes error I have removed it from github and commited, but vercel didn’t updated according to that, How can I fix this?
anshumanb
(Anshuman Bhardwaj)
April 4, 2025, 9:15am
6
Hi @sl-kevin , I see. Did pushing the change to GitHub initiate a new build? If so, the changes must have been picked. Can you share the new error logs?
sl-kevin
(Sl Kevin)
April 4, 2025, 9:24am
7
As I saw no more errors, but why the webpage does not show when I opens it?
Console logs(current)
✓ Generating static pages (9/9)
Finalizing page optimization …
Collecting build traces …
Route (app) Size First Load JS
┌ ○ / 8.68 kB 134 kB
├ ○ /_not-found 977 B 102 kB
├ ○ /memoai 4.05 kB 110 kB
anshumanb
(Anshuman Bhardwaj)
April 4, 2025, 9:29am
8
Hi @sl-kevin , this build is from 3 days ago. If you scroll down on this page and expand Deployment Summary , you’ll notice that the deployment only has Static assets because when it was built Vercel didn’t recognize any framework associated with it.
That’s why I’m requesting you to set Next.js as the framework preset and try building the project again.
sl-kevin
(Sl Kevin)
April 4, 2025, 9:30am
9
Thank you so much! It just worked
1 Like