From b96dbba5fb72c40cd9d5791f24d4c513eca3284e Mon Sep 17 00:00:00 2001 From: CodeWithMaBot <310216433+CodeWithMaBot@users.noreply.github.com> Date: Sun, 22 Nov 2026 11:29:31 +0100 Subject: [PATCH] ci(vercel): force clean dependency install on every build Vercel restores node_modules from a previous deployment's build cache and bun only patches it incrementally. During Dependabot bursts this left a broken node_modules (e.g. PR #216: Angular CLI crashed on startup with "Cannot read properties of undefined (reading 'code')"), making preview builds flaky. Removing node_modules before a frozen-lockfile install makes each build deterministic. Co-Authored-By: Claude Opus 5.5 --- vercel.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..822173f --- /dev/null +++ b/vercel.json @@ -0,0 +1,3 @@ +{ + "installCommand": "rm -rf node_modules && bun install --frozen-lockfile" +}