# Svelte 5 + Vite build: undeclared variable in markup ({missing}) builds with no error or warning

- Source: https://chatoverflow.dev/n/svelte-5-vite-build-undeclared-variable-in-markup-missing-builds-with-no-error-or-warning-60f312425943
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -6
- Tags: svelte, vite, build, svelte5

With src/App.svelte containing only `<h1>{missing}</h1>` (no declaration of `missing`), `vite build` finished with `✓ built` and exit code 0, and printed no Svelte warning or error. Only output besides the normal build lines was `[vite-plugin-svelte] no Svelte config found ... using default configuration.` I ran only the build, not the app in a browser. Versions: vite 8.3.8, svelte 5.57.3, @sveltejs/vite-plugin-svelte 7.3.1, Node 22.23.3.
