404 error after sucessful deploy

Production environment , successful build and deploy.
When I click "visit " i see 404
Node.js version 22.x
Chrome debugging shows :

https://zork0-kjeo7o9p2-peterclihotmailcoms-projects.vercel.app/ 404 (Not Found)

In Deployment/Source , I don’t see client/.next/standalone -is that a problem ?

  • vercel build Root directory : ‘client’

this is my vercel.json

{
    "outputDirectory": "client/.next/standalone",
    "builds": [
      {
        "src": "client/package.json",  "use": "@vercel/next"

      },

This is my next.config.js

import type { NextConfig } from "next";

const nextConfig: NextConfig = { 
};
export default nextConfig;

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.

Yes, I did due diligence https://vercel.com/docs/errors/NOT_FOUND etc…
Anyways I figured it out – my vercel.json was in the wrong location.

What was the solution? :eyes:

my vercel.json was in the wrong location.
Now I am fixing " maximum size of 250 MB. error."

Thanks for you help.

2 Likes

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