Troubleshooting

The documentation for using the Uniform CLI.

This command shows help for the available CLI commands.

Command

uniform --help

Response

Commands: uniform optimize <command> Uniform Optimize commands [aliases: opt] Options: --version Show version number [boolean] --help Show help [boolean]

info

You will see additional commands listed if you have Uniform packages installed that provide more commands.

This command shows help for a specific CLI commands.

Command

uniform <command> --help

Response

uniform optimize --help
Uniform Optimize commands Commands: uniform optimize manifest <command> Intent manifest commands Options: --version Show version number [boolean] --help Show help [boolean]

This section covers error messages you may see when using the Uniform CLI.

If you get the following error message, this means a package is missing. For example, the following error will occur if you do not have the @uniformdev/canvas dependency installed:

Command

uniform canvas component pull ./my-package.yaml

Response

Unknown arguments: canvas, component, pull, ./my-package.yaml

solution

To fix this problem, install the required dependency.

The Uniform CLI can report its version number.

This command shows version information of the CLI you are using.

Command

uniform --version

Response

19.37.0