T
TanStack•6mo ago
national-gold

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
like-gold
like-gold•6mo ago
This is how I have it setup
No description
national-gold
national-goldOP•6mo 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!
like-gold
like-gold•6mo ago
Yeah I’m also not using the turbo bits for deploying to vercel šŸ˜…

Did you find this page helpful?