Angular build output is looked for one directory too high
Error recorded 14 times in PanelAlpha Engine deploys on Angular. 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.
Seen14 times
WhereAngular
StatusIn AnalysisOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
Angular 17 and later write the built site into a browser/ 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.
What the log looks like
Deploy log
Detected project type: AngularUsing strategy: angularCompiling static assets on host> [email protected] build> ng build✔ Building...Initial chunk files | Names | Raw size...Static build finished but dist/expense-tracker-app/index.html is missing