BUILD_MISSING_DEPENDENCY
What it means. Build failed: a module the code imports is not in package.json.
What to do. Add the missing module to dependencies in package.json, then re-run deploy.
- HTTP status: 422
- Retryable after applying the fix: yes
Every failure from the CLI or an MCP tool has this shape:
{
"ok": false,
"code": "BUILD_MISSING_DEPENDENCY",
"message": "Build failed: a module the code imports is not in package.json.",
"fix": "Add the missing module to dependencies in package.json, then re-run deploy.",
"file": "<where to edit, when known>",
"retryable": true,
"docs": "https://docs.uarpie.app/errors/BUILD_MISSING_DEPENDENCY"
}
Apply fix (edit file when it is given), then run the same command again.