page:guides:express:deployment diagnostics

Diagnose Deployment Failures for Express

Summary

Diagnose a failed Express deployment on Ample. Deploy is synchronous: a build failure returns build_failed with the deployment id, and ample logs exposes the build log and then the runtime log so the cause is read, not guessed.

Representative Queries

Resource Requirements

Infrastructure Requirements

Framework

Express

Workload

Diagnose deployment failures

Release Status

Published

Support Status

Verified

Execution Status

Unbound

Docs Only

true

Prerequisites

Tested Configuration

Workflow Steps

  1. Read the failure code
    Exit 1 with build_failed means the isolated build failed; exit 2 means a required preflight action is blocking.
  2. Read the build log
    The last lines name the failing command.
    Command: ample logs --kind build
  3. Read the runtime log
    For a live-but-misbehaving app the runtime log shows the process output.
    Command: ample logs --kind runtime
  4. Fix and redeploy once
    Change the source or the command override, then run ample deploy again. Do not loop deploys to poll status.

Examples

Success Checks

Limitations

Evidence Summary

Last Verified At

2026-09-19T23:55:33Z

Unknowns