From 6d8ef0d443f63e8b7f1bd0b4817fcf75e17a9f69 Mon Sep 17 00:00:00 2001 From: wecom-fullstack Date: Wed, 14 Oct 2026 11:35:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(infra):=20pnpm-workspace.yaml=20=E8=A1=A5?= =?UTF-8?q?=20packages=20=E5=AD=97=E6=AE=B5=EF=BC=88pnpm=209.15.9=20?= =?UTF-8?q?=E5=BC=BA=E5=88=B6=EF=BC=89+=20vue-demi=20=E5=8D=A0=E4=BD=8D?= =?UTF-8?q?=E7=AC=A6=E6=94=B9=20true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:corepack 修到 pnpm 9.15.9 后,pnpm 见 pnpm-workspace.yaml 即进 workspace 模式, 强制要求 packages 字段;缺失 ⇒ 'packages field missing or empty' ⇒ 部署树 pnpm build 失败。 本地 pnpm build 验证通过(16.05s, exit 0)。 --- frontend/pnpm-workspace.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/pnpm-workspace.yaml b/frontend/pnpm-workspace.yaml index c9d0ac60..21f439c8 100644 --- a/frontend/pnpm-workspace.yaml +++ b/frontend/pnpm-workspace.yaml @@ -1,3 +1,5 @@ +packages: + - "." allowBuilds: esbuild: true - vue-demi: set this to true or false + vue-demi: true