Skip to content

not-found.tsx fails to load in Vercel deployment only #181

@dovkoy

Description

@dovkoy

Bug
When navigating to any 404 route in a Vercel deployment of this template, the not-found.tsx component flashes and the page goes blank. There are no error/warning logs server-side.

A couple errors are surfaced in the browser (note the rendered "not found" component is received, however):

Image

Reproducing

  • Navigate to any 404 route in a Vercel deployment from this template. For example: https://next-saas-start.vercel.app/fakeroute
  • Confirmed on Chrome for desktop and iOS.
  • Does not occur locally, even with npm run build and npm run start

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions