UXDL Docs

Build Failures

Triage dependency, typecheck, environment, and CI build failures.

When CI fails or local builds break, follow this triage process to identify and fix the root cause quickly.

Triage steps

  1. Identify the failing job and step in CI logs.
  2. Compare lockfile and dependency changes in the PR.
  3. Check for missing or incorrect environment variables.
  4. Run the same command locally to reproduce.
  5. Attach logs to the PR or support thread.

Local reproduction

bash
pnpm install --frozen-lockfile
pnpm typecheck
pnpm build

Common causes

SymptomLikely causeFix
Module not foundMissing dependency or wrong import pathCheck package.json and import statements
Type errors after upgradeBreaking change in dependencyCheck changelog, update types
ENOENT .envMissing env file in CIAdd secrets to GitHub Actions
Build timeoutLarge bundle or slow testsCheck bundle analyzer, optimize imports
EACCES permission errorFile permission issueCheck Docker volume mounts

CI debug tips

  • Check the "Actions" tab in GitHub for full logs
  • Re-run failed jobs with debug logging enabled
  • Compare with the last successful build on main
  • Ask in #engineering-support if stuck after 30 minutes