[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-static-build-finished-but-dist-expense-tracker-app":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":6,"lead":18,"facts":21,"why":36,"log":41,"fix":82,"engine":91,"related":107,"pitch":114},"angular","static-build-finished-but-dist-expense-tracker-app","Angular build output is looked for one directory too high","Angular",{"description":9},"Learn what causes Angular build output is looked for one directory too high, how PanelAlpha Engine responds to it during deployment.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fangular",{"label":6},"",[19],{"text":20},"Error recorded 14 times in PanelAlpha Engine deploys on Angular. The deploy log below is the recorded failure output.",[22,27,30,32],{"label":23,"value":24,"tone":25,"tooltip":26},"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":28,"value":29},"Seen","14 times",{"label":31,"value":7},"Where",{"label":33,"value":34,"tooltip":35},"Status","In Analysis","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":37,"body":38},"Why it happens",[39],{"text":40},"Angular 17 and later write the built site into a browser\u002F subdirectory of the output path. The engine looks for index.html directly in the output path, so a successful build is reported as missing its index.html.",{"heading":42,"block":43},"What the log looks like",{"header":44,"lines":45},"Deploy log",[46,50,54,58,62,66,70,74,78],{"segments":47},[48],{"text":49},"Detected project type: Angular",{"segments":51},[52],{"text":53},"Using strategy: angular",{"segments":55},[56],{"text":57},"Compiling static assets on host",{"segments":59},[60],{"text":61},"> expense-tracker-app@0.0.0 build",{"segments":63},[64],{"text":65},"> ng build",{"segments":67},[68],{"text":69},"✔ Building...",{"segments":71},[72],{"text":73},"Initial chunk files | Names | Raw size",{"segments":75},[76],{"text":77},"...",{"segments":79},[80],{"text":81},"Static build finished but dist\u002Fexpense-tracker-app\u002Findex.html is missing",{"heading":83,"steps":84,"block":88},"How to fix it",[85],[86],{"text":87},"Until the engine is fixed, set outputPath in angular.json to an object with an empty browser folder, for example {\"base\": \"dist\u002F\u003Capp>\", \"browser\": \"\"}, and redeploy.",{"header":89,"lines":90},"Fix by hand",[],{"heading":92,"body":93,"block":105},"How PanelAlpha Engine solves it",[94,96,99,101,103],{"text":95},"After a successful Angular build, Engine should read and validate the configured ",{"text":97,"code":98},"outputPath",true,{"text":100}," before assuming ",{"text":102,"code":98},"dist\u002F\u003Cproject-name>",{"text":104},". It could report the detected output directory and offer it as the publish directory, or fail earlier with a clear output-path mismatch message.",{"header":17,"lines":106},[],{"heading":108,"items":109},"Apps affected",[110],{"title":111,"badge":112,"tone":25,"href":113},"expense-tracker-app","14 occurrences","\u002Fapps\u002Fmanthanank\u002Fexpense-tracker-app",{"heading":115,"body":116,"footNote":117,"docsLabel":118,"docsHref":119},"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"]