Skip to content

Railway Deployment #11cb69 fix: approve esbuild build scripts#7

Open
railway-app[bot] wants to merge 1 commit into
masterfrom
railway/fix-deploy-11cb69
Open

Railway Deployment #11cb69 fix: approve esbuild build scripts#7
railway-app[bot] wants to merge 1 commit into
masterfrom
railway/fix-deploy-11cb69

Conversation

@railway-app
Copy link
Copy Markdown

@railway-app railway-app Bot commented May 12, 2026

Problem

The installer service build fails with ERR_PNPM_IGNORED_BUILDS: Ignored build scripts: esbuild@0.27.7 because pnpm 10.x changed this from a warning to a fatal error. The esbuild package (a transitive dependency of tsx) requires a postinstall script to download its platform-specific binary, but pnpm blocks it by default without explicit approval.

Solution

Added "pnpm": { "onlyBuiltDependencies": ["esbuild"] } to apps/installer/package.json. This explicitly approves esbuild to run its postinstall script, resolving the fatal error without disabling pnpm's build script security feature for all packages.

Changes

  • Modified apps/installer/package.json

Context

  • Deployment: #11cb69
  • Failed commit: bc2a307

Generated by Railway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants