On a fresh installation of snc-cli 1.1.2, with a freshly installed ui-component extension, I cannot execute the ui-component command.
It gives me this error, no matter what:
The filename, directory name, or volume label syntax is incorrect.
It's not like the command itself does not exist, but the execution of the command is somehow failing.
Log content is not helpful:
2025-06-12T16:46:16+02:00 [DEBUG] [pid:29176] [profile:default] [command:snc ui-component] ui-component command has started at 2025-06-12 16:46:16.0879253 +0200 CEST m=+0.013597601
2025-06-12T16:46:16+02:00 [DEBUG] [pid:29176] [profile:default] [command:snc ui-component] Args: [--username=REMOVED --password=REMOVED --loginHost=REMOVED]
2025-06-12T16:46:16+02:00 [DEBUG] [pid:29176] [profile:default] [command:snc ui-component] ui-component command has ended at 2025-06-12 16:46:16.1204492
The older version, 1.1.0 is able to execute the command, but with that there are other issues. I'll open a separate issue for that.
c:\DOWNLOADS>snc version
{
"extensions": {
"ui-component": "27.4.5"
},
"snc": "1.1.2"
}
c:\DOWNLOADS>snc ui-component
The filename, directory name, or volume label syntax is incorrect.
c:\DOWNLOADS>snc version
{
"extensions": {
"ui-component": "27.4.5"
},
"snc": "1.1.0"
}
c:\DOWNLOADS>snc ui-component
Usage: <cmd> [args]
For help, run: '<cmd> --help'
Commands:
deploy Deploy your component to the instance [aliases: gd]
develop Run component in local development environment.
[aliases: dev]
generate-update-set Generates update-set XML for the component
[aliases: gus, generateUpdateSet]
project Creates and scaffolds a new project with all necessary
files to start development. [aliases: create]
capture-metrics Allows users to disable or enable the collection of usage
metrics from the CLI. [aliases: metrics, captureMetrics]
Options:
--version Show version number [boolean]
--help Show help [boolean]
For more information, please visit https://developer.servicenow.com/dev.do#!/ref
erence/next-experience/latest/cli/getting-started.

On a fresh installation of snc-cli 1.1.2, with a freshly installed ui-component extension, I cannot execute the ui-component command.
It gives me this error, no matter what:
The filename, directory name, or volume label syntax is incorrect.
It's not like the command itself does not exist, but the execution of the command is somehow failing.
Log content is not helpful:
The older version, 1.1.0 is able to execute the command, but with that there are other issues. I'll open a separate issue for that.