1
0
forked from baron/baron-sso

fix(frontend): pnpm TTY error and lockfile mismatch in non-interactive environments

- Set CI=true in Dockerfiles and pnpm commands to avoid TTY issues
- Use --no-frozen-lockfile in runtime scripts to allow lockfile updates during development/startup
- Resolves #890
This commit is contained in:
2026-05-27 13:10:35 +09:00
parent 53830b20d8
commit 35e51910c6
9 changed files with 17 additions and 5 deletions

View File

@@ -201,7 +201,7 @@ set +e
if ! command -v pnpm >/dev/null 2>&1; then
run_with_retry 3 npm install -g pnpm
fi
run_with_retry 3 pnpm install -C ../common --no-frozen-lockfile --store-dir "$pnpm_store_dir"
run_with_retry 3 CI=true pnpm install -C ../common --no-frozen-lockfile --store-dir "$pnpm_store_dir"
fi
) 2>&1 | tee reports/adminfront-install.log
install_exit_code=${PIPESTATUS[0]}