Vite build succeeds, but the expected static output is missing
Error recorded 11 times in PanelAlpha Engine deploys on Static site, Vite. The deploy log below is the recorded failure output.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen11 times · 2 variants
WhereStatic site, Vite
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The Vite build completed successfully, but it wrote the site to build/assets/web, not the default dist directory. Engine startup then looked for dist/index.html and failed. This is an output-directory mismatch, not a compilation failure.
What the log looks like
Deploy log
✓ 2297 modules transformed.rendering chunks...build/assets/web/index.html 6.35 kB │ gzip: 1.71 kB✓ built in 1.15sDeploy failed: Failed to start app: Static build finished but dist/index.html is missing