Skip to content

--preset vercel not working #4012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
EliasGit117 opened this issue Apr 17, 2025 · 2 comments
Open

--preset vercel not working #4012

EliasGit117 opened this issue Apr 17, 2025 · 2 comments

Comments

@EliasGit117
Copy link

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

@schiller-manuel
Copy link
Contributor

is the preset param documented anywhere?

@EliasGit117
Copy link
Author

is the preset param documented anywhere?

https://tanstack.com/start/latest/docs/framework/react/hosting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants