[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-static-build-finished-but-dist-index-html-is":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":18,"titleAccent":6,"lead":19,"facts":22,"why":37,"log":55,"fix":80,"engine":99,"related":113,"pitch":131},"static","static-build-finished-but-dist-index-html-is","Vite build succeeds, but the expected static output is missing","Static site, Vite",{"description":9},"Learn what causes Vite build succeeds, but the expected static output is missing, how PanelAlpha Engine responds to it during deployment.",[11,14,17],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":15,"href":16},"Static site","\u002Fapps\u002Fstacks\u002Fstatic",{"label":6},"",[20],{"text":21},"Error recorded 11 times in PanelAlpha Engine deploys on Static site, Vite. The deploy log below is the recorded failure output.",[23,28,31,33],{"label":24,"value":25,"tone":26,"tooltip":27},"Type","Error","err","An 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.",{"label":29,"value":30},"Seen","11 times · 2 variants",{"label":32,"value":7},"Where",{"label":34,"value":35,"tooltip":36},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":38,"body":39},"Why it happens",[40,42,45,47,49,51,53],{"text":41},"The Vite build completed successfully, but it wrote the site to ",{"text":43,"code":44},"build\u002Fassets\u002Fweb",true,{"text":46},", not the default ",{"text":48,"code":44},"dist",{"text":50}," directory. Engine startup then looked for ",{"text":52,"code":44},"dist\u002Findex.html",{"text":54}," and failed. This is an output-directory mismatch, not a compilation failure.",{"heading":56,"block":57},"What the log looks like",{"header":58,"lines":59},"Deploy log",[60,64,68,72,76],{"segments":61},[62],{"text":63},"✓ 2297 modules transformed.",{"segments":65},[66],{"text":67},"rendering chunks...",{"segments":69},[70],{"text":71},"build\u002Fassets\u002Fweb\u002Findex.html  6.35 kB │ gzip: 1.71 kB",{"segments":73},[74],{"text":75},"✓ built in 1.15s",{"segments":77},[78],{"text":79},"Deploy failed: Failed to start app: Static build finished but dist\u002Findex.html is missing",{"heading":81,"steps":82,"block":96},"How to fix it",[83],[84,86,87,89,90,92,94],{"text":85},"Configure the deployment to serve ",{"text":43,"code":44},{"text":88},", or update the Vite configuration\u002Fbuild command to generate ",{"text":52,"code":44},{"text":91},". Confirm the configured static root contains ",{"text":93,"code":44},"index.html",{"text":95},", then redeploy.",{"header":97,"lines":98},"Fix by hand",[],{"heading":100,"body":101,"block":111},"How PanelAlpha Engine solves it",[102,104,106,108,109],{"text":103},"Read and validate Vite's configured ",{"text":105,"code":44},"build.outDir",{"text":107}," after the build, then use that directory as the static root instead of assuming ",{"text":48,"code":44},{"text":110},". Report the detected output path in the failure message.",{"header":18,"lines":112},[],{"heading":114,"items":115},"Apps affected",[116,120,124,128],{"title":117,"badge":118,"tone":26,"href":119},"tiki","7 occurrences","\u002Fapps\u002Fgitlab.com\u002Ftikiwiki\u002Ftiki",{"title":121,"badge":122,"tone":26,"href":123},"OJS3","2 occurrences","\u002Fapps\u002Fpkp\u002Fojs",{"title":125,"badge":126,"tone":26,"href":127},"My Mind","1 occurrence","\u002Fapps\u002Fondras\u002Fmy-mind",{"title":129,"badge":126,"tone":26,"href":130},"thelounge","\u002Fapps\u002Fthelounge\u002Fthelounge",{"heading":132,"body":133,"footNote":134,"docsLabel":135,"docsHref":136},"Try PanelAlpha Engine yourself.","The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.","Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]