Troubleshooting
Show help#
The documentation for using the Uniform CLI.
Show available commands#
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.
Show help for a specific command#
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]
Error messages#
This section covers error messages you may see when using the Uniform CLI.
Unknown arguments#
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.
Show versions#
The Uniform CLI can report its version number.
Show the current version#
This command shows version information of the CLI you are using.
Command
uniform --version
Response
19.37.0