Static Node build completed without dist/index.html
Error recorded 2 times in PanelAlpha Engine deploys on Node.js. 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.
Seen2 times
WhereNode.js
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The project was detected as a static SPA, so Engine expected a built site at dist/index.html. Its build command runs only tsc, and no dist/index.html was produced. The build therefore finished, but the static site could not be started.
What the log looks like
Deploy log
Detected project type: Static SPA (bundler build)Using strategy: nodeCompiling static assets on host> [email protected] build> tscDeploy failed: Failed to start app: Static build finished but dist/index.html is missing