#hosting monorepo vercel

3 messages · Page 1 of 1 (latest)

gloomy iron
#

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

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?

pure depot
#

This is how I have it setup

gloomy iron
#

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!