# Fix ship.no_package_json

ship.no_package_json
Recorded exits: 2 (usage). [1]

docs_rev: 6fd264d5335b1cda
applies_to: source at 4aca9a8; agc >=0.3.0
verified: 4aca9a8
Generated from: fix/ship.no_package_json, reference/error-code-catalog

## Steps

Cause: `ship`
Next action: ‹what› has no package.json at its root, and no Dockerfile or uv project, so Agent Cloud would build it with its default Node image, which installs dependencies and starts the app from package.json. The build would fail.‹ Its pyproject.toml declares no [projec… | ‹Commit\ | Add› a package.json at the app root with a start script, like {"scripts": {"start": "node server.js"}}, or bring a Dockerfile at the root (or name one with [service.web] build in agentcloud.toml). Then ship ‹that commit\ | again›. | commands/ship.ts:751
[2]

## Errors

See the cited canonical pages for errors.

## Not available yet

Availability follows the cited sources; this answer does not establish additional capabilities.

## Sources

[1] [fix/ship.no_package_json — Reference](/docs/fix/ship.no_package_json.md#reference) (shipped; source at 4aca9a8; 4aca9a8)
[2] [reference/error-code-catalog — Reference](/docs/reference/error-code-catalog.md#reference) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)

## Known issues

- [reference/error-code-catalog](/docs/reference/error-code-catalog/known-issues.md)

<!-- feedback:start -->
---
Wrong, outdated or unclear? Run `agc feedback docs "fix/ship.no_package_json: <what is wrong>; error ship.no_package_json" --body <file>` with the sentence quoted in the file. No code or app data is sent.
<!-- feedback:end -->
