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
{{ message }}
Repository navigation
void init changes files and then exits 13 when stdin is closed #953
Running void init without a terminal, as in CI or with < /dev/null, writes void.config.ts and edits tsconfig.json and .gitignore, then stops at a prompt that never resolves:
$ void init --toolchain vite --no-git --deploy none < /dev/null
…
Warning: Detected unsettled top-level await at file:///…/node_modules/void/dist/cli/cli.mjs:87
▲ Setup did not finish. Files changed so far:
+ void.config.ts
~ tsconfig.json extends .void/tsconfig.json, added void/env to types
~ .gitignore added Void defaults
Node exits with code 13, and the project is left half set up.
Clack never settles a prompt once its input ends (bombshell-dev/clack#615), and init asks for the database only after it has written these files.
Activity
fix(init): settle every choice before writing when stdin isn't a term…