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
In my CI pipeline, I have the command pnpm slidev build.
If the theme is not installed, this leads to the following prompt:
? The theme "slidev-theme-xyz" was not found in your project, do you want to install it now? › (Y/n)
However, in CI, there is no stdin, so confirming is not possible. Instead, the process exits. The status code is 0 (success), meaning that the CI pipeline thinks the build was successful and continues.
Minimal reproduction
This is reproducible locally using npx slidev build < /dev/null.
Steps to reproduce the behavior:
Check out any slidev project locally (https://sli.dev/new is not enough, because the shell does not support input redirection)
If you are using Slidev globally (i.e. npx slidev or npm i -g slidev), please try to reproduce the issue in a local project (i.e. npm create slidev@latest).
The text was updated successfully, but these errors were encountered:
Describe the bug
In my CI pipeline, I have the command
pnpm slidev build
.If the theme is not installed, this leads to the following prompt:
However, in CI, there is no stdin, so confirming is not possible. Instead, the process exits. The status code is 0 (success), meaning that the CI pipeline thinks the build was successful and continues.
Minimal reproduction
This is reproducible locally using
npx slidev build < /dev/null
.Steps to reproduce the behavior:
npm install
.npx slidev build < /dev/null
in bash.echo $?
)See example CI build: step Static HTML export with Slidev.
Environment
If you are using Slidev globally (i.e.
npx slidev
ornpm i -g slidev
), please try to reproduce the issue in a local project (i.e.npm create slidev@latest
).The text was updated successfully, but these errors were encountered: