T
TanStack•9mo ago
magic-amber

Vercel deployment: routes-manifest.json couldn't be found

I can't understand what is wrong, I try to deploy my app on Vercel but I get this error at the end:
Error: The file "<MY_PROJECT_PATH>/.vercel/output/routes-manifest.json" couldn't be found. This is often caused by a misconfiguration in your project.
Error: The file "<MY_PROJECT_PATH>/.vercel/output/routes-manifest.json" couldn't be found. This is often caused by a misconfiguration in your project.
I use vinxi build --preset vercel command to build. Indeed it seems it doesn't produce that file. Is it expected?
7 Replies
narrow-beige
narrow-beige•9mo ago
can you set the preset in app.config.ts and check whether that works?
magic-amber
magic-amberOP•9mo ago
It works!
narrow-beige
narrow-beige•9mo ago
cool
magic-amber
magic-amberOP•9mo ago
Should I create a issue for the --preset arg not working?
narrow-beige
narrow-beige•9mo ago
sure if you can fix it, do that no a PR šŸ˜„
magic-amber
magic-amberOP•9mo ago
šŸ˜‚
narrow-beige
narrow-beige•9mo ago
but sure, create an issue

Did you find this page helpful?