From c0383f54406a96eb5975c56ba19ddb5c98639430 Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Sun, 30 Nov 2025 05:07:28 +1000 Subject: [PATCH] fix(vercel): run install command from monorepo root to access workspace packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Problem:** Vercel deployments were failing with: ``` ERR_PNPM_NO_MATCHING_VERSION_INSIDE_WORKSPACE: No matching version found for @tpmjs/eslint-config@* inside the workspace ``` The `installCommand` was running `pnpm install` from `apps/web`, which couldn't access workspace packages defined at the monorepo root. **Solution:** Change `installCommand` from `pnpm install` to `cd ../.. && pnpm install` to run from the monorepo root, matching the `buildCommand` behavior. **Impact:** - Vercel can now find and install all workspace packages - Deployments should succeed - All previous tool execution fixes can now actually deploy 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/web/vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/vercel.json b/apps/web/vercel.json index 4b04a84..073fcfe 100644 --- a/apps/web/vercel.json +++ b/apps/web/vercel.json @@ -1,5 +1,5 @@ { "$schema": "https://openapi.vercel.sh/vercel.json", "buildCommand": "cd ../.. && pnpm install && pnpm --filter=@tpmjs/web... build", - "installCommand": "pnpm install" + "installCommand": "cd ../.. && pnpm install" }