CLI

Troubleshooting

The documentation for using the Uniform CLI.

This command shows help for the available CLI commands.

Command

Response

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

Response

uniform optimize --help

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

Response

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

Response