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

@@ -106,7 +106,7 @@ ensure_frontend_dependencies() {
return 0
fi
if [ "$WORKSPACE_DIR" = "/workspace/common" ]; then
(cd /workspace/common && pnpm install --filter "${APP_WORKSPACE_FILTER}..." --frozen-lockfile --ignore-scripts)
(cd /workspace/common && CI=true pnpm install --filter "${APP_WORKSPACE_FILTER}..." --no-frozen-lockfile --ignore-scripts)
else
npm ci
fi