Skip to content

--preset vercel not working #4012

@EliasGit117

Description

@EliasGit117

Which project does this relate to?

Start

Describe the bug

When I use npm run build --preset vercel, result is 404 Not found

This approach works:

  server: {
    preset: 'vercel',
  },

Your Example Website or App

https://github.com/tanstack/router/tree/main/examples/react/start-basic-react-query

Steps to Reproduce the Bug or Issue

  1. Clone Basic example
  2. Try to deploy on vercel with npm run build --preset vercel

Expected behavior

It should just work

Screenshots or Videos

No response

Platform

  • OS: MacOs
  • Browser: Chrome
  • Version: 91.1

Additional context

No response

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