404 only on 1 specific page but rest work

Hello,

I just build my first react-native app with expo and I am trying to make a web build in vercel.

The build is successful and all static html files are generated but for whatever reason all the “routes/files” work except /account

The logs show the account route was created but it is not being picked at all when I navigate to it

also u can see that the account.html is generated

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.

Hi @tomaslucena, welcome to the Vercel Community!

From my limited knowledge about the Expo router, I think (tabs)/account and /account routes might be interfering because (tabs) is just for grouping, so the URL for both pages will be /account. I am following these docs: Expo Router notation - Expo Documentation

But, I see you have /activities and (tabs)/activities as well. Does that route work?

If you need more help, please share your public repo or a minimal reproducible example. That will let us all work together from the same code to figure out what’s going wrong.

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