You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature or enhancement request related to a problem or limitation? Please describe
In order to run CLI system tests with cli-test-utils on Windows, it is required to select the option below when installing Git Bash:
If this step is missed and Git Bash is installed with default options, then CLI system tests may fail with a cryptic error like TypeError: Cannot read properties of null (reading 'toString').
Describe your enhancement idea
To improve the experience for CLI plug-in developers, the cli-test-utils runScript method could detect if sh is missing from the PATH, and if show a more helpful error message such as:
Detected that "sh" is missing from your PATH.
If you are using Windows, ensure that Git Bash has been installed with the option to "Use Git and Unix Tools from Windows Command Prompt".
Describe alternatives you've considered
Open a Git Bash terminal to execute the npm command that runs system tests so that sh is present in the environment.
Provide any additional context
For CLI developers, we have documentation related to this in our readme:
In addition to Node.js, you must have a means to execute .sh (bash) scripts, which are required for running integration tests. On Windows, you can install "Git Bash" (bundled with the standard Git installation - check "Use Git and Unix Tools from Windows Command Prompt" installation option).
The text was updated successfully, but these errors were encountered:
Thank you for raising this enhancement request.
The community has 90 days to vote on it.
If the enhancement receives at least 5 upvotes, it is added to our development backlog.
If it receives fewer votes, the issue is closed.
Is your feature or enhancement request related to a problem or limitation? Please describe
In order to run CLI system tests with cli-test-utils on Windows, it is required to select the option below when installing Git Bash:
If this step is missed and Git Bash is installed with default options, then CLI system tests may fail with a cryptic error like
TypeError: Cannot read properties of null (reading 'toString')
.Describe your enhancement idea
To improve the experience for CLI plug-in developers, the cli-test-utils
runScript
method could detect ifsh
is missing from the PATH, and if show a more helpful error message such as:Describe alternatives you've considered
Open a Git Bash terminal to execute the npm command that runs system tests so that
sh
is present in the environment.Provide any additional context
For CLI developers, we have documentation related to this in our readme:
The text was updated successfully, but these errors were encountered: