From 62d765a77bbce8de92f5460a8ee3e2e0a3fdc08e Mon Sep 17 00:00:00 2001 From: chan Date: Fri, 15 May 2026 11:31:10 +0900 Subject: [PATCH] fix(frontend): fallback to standard npm install in docker runtime scripts to bypass pnpm cross-device hardlink limitations --- adminfront/scripts/runtime-mode.sh | 2 +- devfront/scripts/runtime-mode.sh | 2 +- orgfront/scripts/runtime-mode.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adminfront/scripts/runtime-mode.sh b/adminfront/scripts/runtime-mode.sh index 3ec5ec5a..95ba9e53 100644 --- a/adminfront/scripts/runtime-mode.sh +++ b/adminfront/scripts/runtime-mode.sh @@ -61,7 +61,7 @@ ensure_frontend_dependencies() { echo "Installing frontend dependencies..." if [ "$WORKSPACE_DIR" = "/common" ]; then npm install -g pnpm - (cd /common && rm -rf node_modules .pnpm-store && echo "node-linker=hoisted" > .npmrc && CI=true pnpm install --store-dir /root/.pnpm-store) + (cd /common && npm install --legacy-peer-deps --no-fund --no-audit) else npm ci fi diff --git a/devfront/scripts/runtime-mode.sh b/devfront/scripts/runtime-mode.sh index ce0d1d97..cfcb285f 100644 --- a/devfront/scripts/runtime-mode.sh +++ b/devfront/scripts/runtime-mode.sh @@ -61,7 +61,7 @@ ensure_frontend_dependencies() { echo "Installing frontend dependencies..." if [ "$WORKSPACE_DIR" = "/common" ]; then npm install -g pnpm - (cd /common && rm -rf node_modules .pnpm-store && echo "node-linker=hoisted" > .npmrc && CI=true pnpm install --store-dir /root/.pnpm-store) + (cd /common && npm install --legacy-peer-deps --no-fund --no-audit) else npm ci fi diff --git a/orgfront/scripts/runtime-mode.sh b/orgfront/scripts/runtime-mode.sh index 77d6ea97..7d35fd0b 100644 --- a/orgfront/scripts/runtime-mode.sh +++ b/orgfront/scripts/runtime-mode.sh @@ -61,7 +61,7 @@ ensure_frontend_dependencies() { echo "Installing frontend dependencies..." if [ "$WORKSPACE_DIR" = "/common" ]; then npm install -g pnpm - (cd /common && rm -rf node_modules .pnpm-store && echo "node-linker=hoisted" > .npmrc && CI=true pnpm install --store-dir /root/.pnpm-store) + (cd /common && npm install --legacy-peer-deps --no-fund --no-audit) else npm ci fi