[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-unable-to-find-image-node-bookworm-slim-locally":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":18,"titleAccent":19,"lead":20,"facts":23,"why":38,"log":52,"fix":80,"engine":96,"related":104,"pitch":122},"php","unable-to-find-image-node-bookworm-slim-locally","Vite build fails because Git is missing in the build container","Php, Vite",{"description":9},"Learn what causes Vite build fails because Git is missing in the build container, how PanelAlpha Engine responds to it during deployment.",[11,14,17],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":15,"href":16},"Php","\u002Fapps\u002Fstacks\u002Fphp",{"label":6},"Vite build fails because ","Git is missing in the build container",[21],{"text":22},"Error recorded 16 times in PanelAlpha Engine deploys on Php, Vite. The deploy log below is the recorded failure output.",[24,29,32,34],{"label":25,"value":26,"tone":27,"tooltip":28},"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":30,"value":31},"Seen","16 times · 3 variants",{"label":33,"value":7},"Where",{"label":35,"value":36,"tooltip":37},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":39,"body":40},"Why it happens",[41,43,46,48,50],{"text":42},"The Vite build runs a Git command to read the current commit: ",{"text":44,"code":45},"git rev-parse --short HEAD",true,{"text":47},". The Node build image does not include the ",{"text":49,"code":45},"git",{"text":51}," executable, so Vite exits with status 127 before producing the app. The package-lock warning is unrelated; this project uses pnpm.",{"heading":53,"block":54},"What the log looks like",{"header":55,"lines":56},"Deploy log",[57,61,65,69,73,76],{"segments":58},[59],{"text":60},"$ vite build",{"segments":62},[63],{"text":64},"\u002Fbin\u002Fsh: 1: git: not found",{"segments":66},[67],{"text":68},"error during build:",{"segments":70},[71],{"text":72},"Error: Command failed: git rev-parse --short HEAD",{"segments":74},[75],{"text":64},{"segments":77},[78],{"text":79},"[ELIFECYCLE] Command failed with exit code 1.",{"heading":81,"steps":82,"block":93},"How to fix it",[83],[84,86,87,89,91],{"text":85},"Update the build image or Dockerfile to install Git before running the build, then redeploy. For Debian-based images, install the ",{"text":49,"code":45},{"text":88}," package with apt and ensure the package installation completes before ",{"text":90,"code":45},"pnpm build",{"text":92},". Alternatively, change the Vite configuration to avoid requiring Git when the command is unavailable.",{"header":94,"lines":95},"Fix by hand",[],{"heading":97,"body":98,"block":101},"How PanelAlpha Engine solves it",[99],{"text":100},"Detect Git-dependent build steps and report the missing executable directly. The Vite build environment could also include Git by default, or provide a controlled commit value to builds without repository tools.",{"header":102,"lines":103},"",[],{"heading":105,"items":106},"Apps affected",[107,111,115,119],{"title":108,"badge":109,"tone":27,"href":110},"alextselegidis\u002Feasyappointments","8 occurrences","\u002Fapps\u002Falextselegidis\u002Feasyappointments",{"title":112,"badge":113,"tone":27,"href":114},"tiki","6 occurrences","\u002Fapps\u002Fgitlab.com\u002Ftikiwiki\u002Ftiki",{"title":116,"badge":117,"tone":27,"href":118},"fluidd","1 occurrence","\u002Fapps\u002Ffluidd-core\u002Ffluidd",{"title":120,"badge":117,"tone":27,"href":121},"panelalpha-groupoffice-build","\u002Fapps\u002Fintermesh\u002Fgroupoffice",{"heading":123,"body":124,"footNote":125,"docsLabel":126,"docsHref":127},"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"]