[PR #6] [MERGED] Fix Vercel pnpm install failure #7

Closed
opened 2026-10-31 22:05:58 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/comfyci-dashboard/pull/6
Author: @marawan206
Created: 6/9/2026
Status: ✅ Merged
Merged: 6/12/2026
Merged by: @marawan206

Base: main ← Head: ui-revamp


📝 Commits (2)

  • f26eaf3 Fix pnpm install failure on Vercel
  • 3ab3aa5 Pin pnpm to 9.15.9 and bump Next to 14.2.35

📊 Changes

3 files changed (+53 additions, -52 deletions)

View changed files

📝 package.json (+5 -1)
📝 pnpm-lock.yaml (+48 -48)
➖ pnpm-workspace.yaml (+0 -3)

📄 Description

The production deploy on main is failing at pnpm install with ERROR packages field missing or empty.

Cause

pnpm-workspace.yaml declared only build-script approval and had no packages field. On the deploy target (pnpm 9.x, which Vercel selects by project creation date) the presence of that file forces workspace mode, which requires a packages field — so install aborts.

Changes

  • Remove pnpm-workspace.yaml; move build-script approval to pnpm.onlyBuiltDependencies in package.json (read by pnpm 9.x).
  • Add a packageManager field pinning pnpm to 9.15.9 so local and Vercel use the same version, eliminating the config drift that caused the break.
  • Bump Next 14.2.6 → 14.2.35 for the latest 14.x bug and security fixes (no major-version change).

Verification

  • pnpm install --frozen-lockfile (the command Vercel runs) exits 0 with the pinned pnpm 9.15.9.
  • pnpm run build compiles and prerenders all pages.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/comfyci-dashboard/pull/6 **Author:** [@marawan206](https://github.com/marawan206) **Created:** 6/9/2026 **Status:** ✅ Merged **Merged:** 6/12/2026 **Merged by:** [@marawan206](https://github.com/marawan206) **Base:** `main` ← **Head:** `ui-revamp` --- ### 📝 Commits (2) - [`f26eaf3`](https://github.com/Comfy-Org/comfyci-dashboard/commit/f26eaf3f0be252b5f42386f2fa26825eccffbcc6) Fix pnpm install failure on Vercel - [`3ab3aa5`](https://github.com/Comfy-Org/comfyci-dashboard/commit/3ab3aa5e37323b4a10cbbd5eaf77eeb1e1697dd3) Pin pnpm to 9.15.9 and bump Next to 14.2.35 ### 📊 Changes **3 files changed** (+53 additions, -52 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+5 -1) 📝 `pnpm-lock.yaml` (+48 -48) ➖ `pnpm-workspace.yaml` (+0 -3) </details> ### 📄 Description The production deploy on `main` is failing at `pnpm install` with `ERROR packages field missing or empty`. ## Cause `pnpm-workspace.yaml` declared only build-script approval and had no `packages` field. On the deploy target (pnpm 9.x, which Vercel selects by project creation date) the presence of that file forces workspace mode, which requires a `packages` field — so install aborts. ## Changes - Remove `pnpm-workspace.yaml`; move build-script approval to `pnpm.onlyBuiltDependencies` in `package.json` (read by pnpm 9.x). - Add a `packageManager` field pinning pnpm to `9.15.9` so local and Vercel use the same version, eliminating the config drift that caused the break. - Bump Next `14.2.6` → `14.2.35` for the latest 14.x bug and security fixes (no major-version change). ## Verification - `pnpm install --frozen-lockfile` (the command Vercel runs) exits 0 with the pinned pnpm 9.15.9. - `pnpm run build` compiles and prerenders all pages. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 22:05:58 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/comfyci-dashboard#7
No description provided.