From bc95a9c9afa61ec8b44b1d8583e4c250392e67dd Mon Sep 17 00:00:00 2001 From: martyy-code Date: Fri, 9 Oct 2026 15:59:35 +0200 Subject: [PATCH] fix(vercel): set outputDirectory to .next (Root Directory is apps/web) With Root Directory = apps/web, Vercel interprets outputDirectory relative to apps/web. The previous value 'apps/web/.next' produced a doubled path /vercel/path0/apps/web/apps/web/.next and the deployment failed with 'Next.js output directory was not found'. Keep 'installCommand: pnpm install' so the deployment is reproducible from vercel.json alone; ENABLE_EXPERIMENTAL_COREPACK=1 is set on the Vercel dashboard and pins pnpm to 10.34.5 via the packageManager field in package.json. --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index 43a7ed3..f77b372 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,5 @@ { "buildCommand": "pnpm --filter web build", - "outputDirectory": "apps/web/.next", - "installCommand": "pnpm install" + "installCommand": "pnpm install", + "outputDirectory": ".next" }