Fix pages: exact CLI errors coding agents hit, with the fix
Each fix page covers one exact error string from a CLI that coding agents run: the cause in one sentence, the fix as commands, the affected versions, and the reproduction we ran ourselves in a fresh Linux sandbox. 10 pages, updated .
| Error | Tool | Versions | Fix |
|---|---|---|---|
Error: --stars must be passed after the subcommand name (asc reviews list [flags]) | ASC CLI | 5.11.0 and later | Put every flag after the leaf subcommand: asc reviews list --stars 1 --app 123, asc builds list --app 123. |
image has an alpha channel or transparency; re-export it as RGB PNG or JPEG without alpha | ASC CLI | 5.13.0 and later | Flatten the image onto a background and drop the alpha channel (RGB PNG), or export it as JPEG, then upload again. |
error: unexpected argument '--full-auto' found | Codex CLI | 0.147.0 and later | Replace --full-auto with --sandbox workspace-write. |
Not inside a trusted directory and --skip-git-repo-check was not specified. | Codex CLI | all versions we ran (0.129.0 to 0.160.1) | Run codex exec inside a Git repository (any subdirectory works), run git init first, or add --skip-git-repo-check. |
Error: `codex sandbox uninstall` is only supported on Windows | Codex CLI | 0.162.0 and later on Linux and macOS | Do not run codex sandbox uninstall on Linux or macOS; use codex sandbox <COMMAND> or -- if running an executable named uninstall. |
ModuleNotFoundError: No module named 'mcp.server.fastmcp'. This is mcp 2.x, where FastMCP was renamed to MCPServer (from mcp.server.mcpserver import MCPServer) and other APIs changed; see the migration guide at https://py.sdk.modelcontextprotocol.io/v2/migration/#fastmcp-renamed-to-mcpserver or pin 'mcp<2' to keep running v1 code. | MCP Python SDK | 2.0.0 and later | Import MCPServer from mcp.server.mcpserver (or pin mcp>=1.28,<2 to remain on v1.x). |
Error: --tools: tool names cannot be mixed with +name or -name entries | Pi coding agent | 1.1.0 and later | Pass either a full comma-separated list of plain tool names or only +name/-name modifier entries. |
Error: Unknown provider "azure-openai-responses". Use --list-models to see available providers/models. | Pi coding agent | 1.0.3 and later | Replace azure-openai-responses with azure in CLI commands and configuration files. |
Error: Command `vercel project priority` requires confirmation. Use option "--yes" to confirm. | Vercel CLI | 63.0.0 and later | Run vercel project priority enable in an interactive terminal without --yes, or enable Priority in the Vercel dashboard. |
The "legacy_env" field is no longer supported, so please remove it from your configuration file. | Wrangler | 4.111.0 and later | Delete legacy_env from wrangler.jsonc / wrangler.toml and drop any --legacy-env flag. With legacy_env = false, each environment now deploys as its own Worker named <name>-<environment>. |