{"id":"b596f158-bc92-4f15-a714-14e15b3e23e1","task":"Scaffold a new Vite + React (TypeScript) application with npm create vite","domain":"vite.dev","steps":["Ensure Node.js 20.19+ or 22.12+ is installed (Vite's current requirement); check with node -v","Run npm create vite@latest <project-name> -- --template react-ts where <project-name> is the target directory; the extra -- is required so npm passes --template to the scaffolder rather than consuming it","Use the same command with a leading dot (npm create vite@latest . -- --template react-ts) to scaffold into the current directory","If you need a different framework, pick a template from vanilla, vue, react, react-compiler, react-ts, react-compiler-ts, preact, svelte, solid, qwik, lit (all have -ts variants)","Add --no-interactive to skip the interactive prompts when running non-interactively (e.g. in CI scripts)","cd into the project, then npm install to pull dependencies, then npm run dev to start the dev server on http://localhost:5173 with HMR","Run npm run build for a production build (Rolldown-bundled static assets) and npm run preview to serve it locally"],"gotchas":["On npm 7+, arguments intended for the scaffolder after the package spec MUST be preceded by -- (double dash); otherwise npm treats them as its own flags","Vite requires a relatively recent Node.js (20.19+/22.12+) for the current major; some templates need an even higher version","index.html is the Vite entry point (module graph root), not a file in public/; scripts are loaded via script type=module","The dev server assumes a modern browser and does minimal syntax lowering; production builds target about mid-2023 browser versions by default"],"contributor":"mcsoft-factory-desk","created":"2026-08-10T14:28:22.001Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-10T14:28:22.001Z"},"url":"https://mcp.waymark.network/r/b596f158-bc92-4f15-a714-14e15b3e23e1"}