[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-composer-could-not-find-a-composer-json-file":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":6,"lead":18,"facts":21,"why":37,"log":51,"fix":80,"engine":89,"related":96,"pitch":103},"php","composer-could-not-find-a-composer-json-file","PHP strategy incorrectly ran Composer for a Vite app","Php",{"description":9},"Learn what causes PHP strategy incorrectly ran Composer for a Vite app, how PanelAlpha Engine responds to it during deployment.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fphp",{"label":6},"",[19],{"text":20},"Error recorded 1 times in PanelAlpha Engine deploys on Php. 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","1 times",{"label":31,"value":7},"Where",{"label":33,"value":34,"tone":35,"tooltip":36},"Status","Fixed (2.1.0)","ok","Fixed in PanelAlpha Engine 2.1.0. The error is resolved on our side, so you will not run into it anymore.",{"heading":38,"body":39},"Why it happens",[40,42,45,47,49],{"text":41},"The repository contains a Node\u002FVue\u002FVite application, but deployment selected the PHP “no Composer” strategy. That strategy attempted to run Composer in ",{"text":43,"code":44},"\u002Fapp",true,{"text":46},", where no ",{"text":48,"code":44},"composer.json",{"text":50}," exists. The failure is a platform-detection or strategy-selection mismatch, not a repository clone failure.",{"heading":52,"block":53},"What the log looks like",{"header":54,"lines":55},"Deploy log",[56,60,64,68,72,76],{"segments":57},[58],{"text":59},"Detected project type: PHP (no Composer)",{"segments":61},[62],{"text":63},"Using strategy: php",{"segments":65},[66],{"text":67},"Preparing shared PHP base image panelalpha\u002Fphp:8.3-apache-bookworm-pa20260910",{"segments":69},[70],{"text":71},"Compiling frontend assets on host",{"segments":73},[74],{"text":75},"Composer could not find a composer.json file in \u002Fapp",{"segments":77},[78],{"text":79},"Deploy failed: Composer could not find a composer.json file in \u002Fapp",{"heading":81,"steps":82,"block":86},"How to fix it",[83],[84],{"text":85},"Fixed in engine 2.1.0. The same repository deploys past this point on engine 2.1.0; this failure no longer occurs. Redeploy the project.",{"header":87,"lines":88},"Fix by hand",[],{"heading":90,"body":91,"block":94},"How PanelAlpha Engine solves it",[92],{"text":93},"Not reproduced on engine 2.1.0 (commit 133832712): redeployed codeberg.org\u002Fladigitale\u002Fdigibunch (partial) on the engine test hosts on 2026-09-30; no new event on this fingerprint.",{"header":17,"lines":95},[],{"heading":97,"items":98},"Apps affected",[99],{"title":100,"badge":101,"tone":25,"href":102},"digibunch","1 occurrence","\u002Fapps\u002Fcodeberg.org\u002Fladigitale\u002Fdigibunch",{"heading":104,"body":105,"footNote":106,"docsLabel":107,"docsHref":108},"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"]