Skip to content

An option has a value it can't use

error: 'x' isn't a value for --concurrency
hint: Use a number such as 4, or a share such as 50%.

The value after an option isn’t one it accepts. If the value is missing altogether, the message is --filter needs a value, with that option’s name.

The same happens when an AXLE_* variable, such as AXLE_CONCURRENCY, AXLE_CACHE or AXLE_CACHE_MAX_SIZE, holds a value its setting doesn’t accept:

error: 'x' in AXLE_CACHE isn't a value for --cache
hint: Use local: and remote: with rw, r, w or off, such as local:rw,remote:r, or none.

The code also covers a remote cache address Axle can’t use, such as an s3:// address without a bucket or a scheme it doesn’t know, a team name with characters it doesn’t take, and, for axle login, an empty token or an address that isn’t a server’s. For axle release, it covers a --group that isn’t one of the [[release.groups]] in axle.toml, and a --pre name npm can’t use as a tag, such as latest, 1 or v2.

Use one of the values in the hint; see axle run, axle cache, the remote cache and system environment variables.