From c746bc9ecbd9de0f00426dd11684411c2274ff23 Mon Sep 17 00:00:00 2001 From: kovakmedya Date: Thu, 21 May 2026 23:41:29 +0300 Subject: [PATCH] fix(deploy): pin packageManager to pnpm@11.1.2 so Coolify uses the right pnpm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Last build crashed with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH on patchedDependencies — Nixpacks bundles pnpm 9.15.9 by default, but our lockfile is in pnpm 11's settings/patchedDependencies format. Adding the 'packageManager' field tells corepack-aware tooling (Nixpacks included) to install pnpm 11.1.2 in the build container, matching what we use locally. After this, 'pnpm i --frozen-lockfile' reads the same lockfile format the project was developed with and the patched dependency declaration lines up. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 779dbd2..9920a32 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "lab", "version": "0.1.0", "private": true, + "packageManager": "pnpm@11.1.2", "scripts": { "dev": "next dev", "build": "next build",