Fix Build Failure - Build fails in sandbox due to missing build toolchain (#831)

This commit is contained in:
Abhi
2025-06-08 01:04:20 -04:00
committed by GitHub
parent f11eb41383
commit 6e4b84a60d
3 changed files with 27 additions and 1 deletions

View File

@@ -209,7 +209,7 @@ function entrypoint(workdir: string): string[] {
process.env.NODE_ENV === 'development'
? process.env.DEBUG
? 'npm run debug --'
: 'npm run start --'
: 'npm rebuild && npm run start --'
: process.env.DEBUG // for production binary debugging
? `node --inspect-brk=0.0.0.0:${process.env.DEBUG_PORT || '9229'} $(which gemini)`
: 'gemini';