Skip to content

CELL_ARGUMENT_INVALID ​

Messages ​

  • Node.js executables cannot be cross-compiled: --compile-target is for bun and deno.
  • Unknown check '…'. Checks: ….
  • Unknown agent action '…'.
  • Invalid --format '…'.
  • Invalid --compile '…'.
  • --compile-target needs --compile.
  • Unknown command '…'.
  • Invalid --target '…'.
  • Invalid --port '…'.
  • cell docs needs a query.
  • Invalid --limit '…'.
  • cell init takes a template and a directory.
  • Invalid configuration key '…'.
  • The project has no … target.
  • Invalid mode '…'.
  • '…' is not a valid package name.
  • Invalid arguments for '…': …

How to fix ​

  • Build on the platform you target, or use --compile bun --compile-target <target>.
  • Pass a check name to --skip.
  • Use cell agent sync.
  • Use --format esm or --format cjs.
  • Use --compile, --compile bun, --compile node or --compile deno.
  • Use --compile bun --compile-target bun-linux-x64, for example.
  • Use cell config get <key>, e.g. cell config get cell.server.port.
  • Use --target backend or --target frontend.
  • Pass a port number, e.g. --port 3000.
  • For example: cell docs transactional
  • Pass a positive number, e.g. --limit 5.
  • For example: cell init backend my-app
  • Pass a dotted key, e.g. cell.server.port.
  • Its targets: ….
  • A mode names the file cell.<mode>.yml: use letters, digits, - and _ only.
  • Pass --name with lowercase letters, digits, - and . (e.g. --name my-app).
  • Pass a dotted key, e.g. cell.server.port or items[0].name.
  • Call tools/list for the input schema.

Where it is raised ​

← All error codes

Generated from the source of Cell 4.1.0; messages and hints are what the code prints.