Skip to content

404 error when navigating with <Link> and v3_lazyRouteDiscovery on Vercel when using different runtimes per route #10492

Open
@styxlab

Description

@styxlab

Reproduction

  1. Deploy the following git repo to Vercel:
    https://github.com/styxlab/lazy-route-discovery-link-404-on-vercel

  2. Observe 404 error when clicking on "Navigate to About page and observe 404 error!" from index page.

Notes:

  • Problem exists when switching from edge to node and vice versa
  • v3_lazyRouteDiscovery must be enabled (bug vanishes when disabled)
  • No problem when hitting the route directly.

System Info

remix 2.15.3, deployed to Vercel, node 22

Used Package Manager

npm

Expected Behavior

No 404 error when using

Actual Behavior

404 error when using and v3_lazyRouteDiscovery

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions