Expo App Deployment

Need Help: Deploying Expo App with Tabs to Vercel (Getting 404 Error)

Hello Expo and Vercel community!

I’m working on an Expo app that uses tabs, and I’m trying to deploy it to Vercel. I’ve followed the Expo documentation on publishing websites and used the suggested vercel.json configuration.

The deployment to Vercel succeeds without errors, but when I visit the site, I get:

404: NOT_FOUND
Code: NOT_FOUND

I need help troubleshooting this issue. Specifically, I think the issue is with app entry point - so help with;

  1. Ensuring the correct vercel.json structure for an Expo app with tabs.
  2. Proper build and output settings to make sure the app is served correctly.

Has anyone encountered this issue before? Any tips, sample configurations, or best practices would be greatly appreciated!

More info

Inside app.json

    "web": {
      "bundler": "metro",
      "output": "server",
      "favicon": "./src/assets/images/favicon.png"
    },

Vercel source output

client/
│── _expo/
│── assets/
│── favicon.ico
│── middleware/

server/
│── (tabs)/
│── _expo/
│── admin/
│── auth/
│── (tabs)
│── +not-found
│── _sitemap
│── admin
│── auth
│── middleware/

middleware/

Thank you in advance for your help!

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.