T
TanStack•3mo ago
conscious-sapphire

hosting monorepo vercel

I am trying to deploy a start app on vercel. I have added the preset: 'vercel' in the app.config.ts file. and on vercel I have setup this configuration for the build and deployement settings
Build command: cd ../.. && npm run web:build
Output directory: .vercel // I tried to leave it empty but I had a 404
Install command: npm i

Root directory: apps/web
Build command: cd ../.. && npm run web:build
Output directory: .vercel // I tried to leave it empty but I had a 404
Install command: npm i

Root directory: apps/web
with this configuration I got a blank page and no errors in the console how can I deploy an app in a monorepo on vercel?
3 Replies
metropolitan-bronze
metropolitan-bronze•3mo ago
This is how I have it setup
No description
conscious-sapphire
conscious-sapphireOP•3mo ago
thanks! I've played around and it seems it was my turbo config that was wrong I am now just using pnpm build without any tubo stuff in my way and it works!
metropolitan-bronze
metropolitan-bronze•3mo ago
Yeah I’m also not using the turbo bits for deploying to vercel šŸ˜…

Did you find this page helpful?