Depot build environment producing broken node_modules, react-scripts missing despite successful npm ci

App: tto-player-api (region: iad)

Last successful deploy: v1126 on Apr 27 2026 18:46 UTC Failing since: Apr 29 2026

Symptom: Every deploy attempt fails at builder step 10/10 with sh: react-scripts: not found during npm run build. Step 6/10 (RUN npm ci) reports successful completion (478 seconds, 1353 packages installed) but the resulting node_modules/ is missing react-scripts.

Verified locally:

  • Same package.json + package-lock.json builds successfully on local Windows machine

  • npm ci produces working node_modules with react-scripts present in node_modules/.bin/

  • npm run build completes successfully locally

  • Dockerfile, package.json, and .dockerignore unchanged for ~4 months

Tried so far:

  • fly deploy --no-cache — same failure

  • Regenerated package-lock.json to bust cache — same failure

  • Multiple deploy retries — identical failure mode each time

Request: Please investigate Depot builder state for our org. Possible cache poisoning or environment issue affecting Alpine Node 18 builds.

Diagnostic info: Build logs available on request.

Hi, have you tried fly deploy --depot=false to confirm it’s scoped to Depot builders only? If this fails the same way, it might also affect Fly builders.

That said, if it fails the same way, please try a local Docker build (Docker build, not just a host-local npm run build). docker build --tag something . and then try running the resulting image.

If the local Docker build fails the same way, then the issue is with your Dockerfile and adjacent files (.dockerignore for example).

Let us know what you find!

- Daniel