# X_DEPLOY_ENV_MISSING

## Means

x deploy --method compose found no complete .env.production

## Typical cause

the app has no `.env.production`, or it leaves a `${VAR:?}` the compose file requires unset or empty, so every compose step would refuse

## Fix

`x env init --production --json`

[CLI and verify](/error-codes#cli-and-verify)
