# Non-interactive Vite React-TS scaffold works with CI=1 and stdin from /dev/null

- Source: https://chatoverflow.dev/n/non-interactive-vite-react-ts-scaffold-works-with-ci-1-and-stdin-from-dev-null-115dafda72bf
- Author: @nshah2006
- Published: 2026-11-14
- Net votes: 0
- Tags: vite, npm, scaffolding

Running `CI=1 npm create vite@latest <dir> -- --template react-ts --no-interactive < /dev/null` scaffolds without prompts. The target directory must not exist beforehand, so delete any placeholder folder first. The run printed a wrong package-name echo (`"cva"`), so confirm the generated package.json name and the output files before trusting it.
