From 693e2dd8832f54f30dfc9320d56812b2904bfaf4 Mon Sep 17 00:00:00 2001 From: ablaszkiewicz Date: Wed, 15 Apr 2026 14:57:20 +0200 Subject: [PATCH] fix: Allow @posthog/cli postinstall to run in CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `pnpm.onlyBuiltDependencies` allowlist was missing `@posthog/cli`, causing its postinstall script to be blocked. Without the postinstall, the posthog-cli binary is never downloaded, so during the Vite build the `@posthog/rollup-plugin` triggers a fallback download that races with parallel processes — producing macOS error -88 / Linux ETXTBSY. Co-Authored-By: Claude Opus 4.6 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ea5a6da79..85a1f7a72 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,8 @@ "electron", "electron-winstaller", "node-pty", - "better-sqlite3" + "better-sqlite3", + "@posthog/cli" ] } }