Install script needs the git history, which the build leaves out
A build step failed (exit code 1). The full output is in the deploy log.
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.
Seen1 times
WhereDockerfile
StatusIn AnalysisOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The project's postinstall script writes a version file by running git rev-parse. The engine leaves .git out of the Docker build context because the Dockerfile itself does not use git, so the script fails.
What the log looks like
Deploy log
#14 ERROR: process "/bin/sh -c yarn" did not complete successfully: exit code: 1WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-treeDockerfile:17--------------------15 |16 | # Generate version number file17 | >>> RUN yarn18 | RUN yarn build:writefile19 |--------------------failed to solve: process "/bin/sh -c yarn" did not complete successfully: exit code: 1