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:
@@ -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]}
|
||||
|
||||
Reference in New Issue
Block a user