[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-php-strategy-selected-but-composer-json-is-missing":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":15,"titleAccent":6,"lead":16,"facts":19,"why":32,"log":37,"fix":62,"engine":71,"related":78,"pitch":92},"all","php-strategy-selected-but-composer-json-is-missing","Vite project is detected as PHP, so the deploy stops without composer.json","PanelAlpha Engine",{"description":9},"Learn what causes Vite project is detected as PHP, so the deploy stops without composer.json, how PanelAlpha Engine responds to it during deployment.",[11,14],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":6},"",[17],{"text":18},"Error recorded 13 times in PanelAlpha Engine deploys. The deploy log below is the recorded failure output.",[20,25,28],{"label":21,"value":22,"tone":23,"tooltip":24},"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":26,"value":27},"Seen","13 times",{"label":29,"value":30,"tooltip":31},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":33,"body":34},"Why it happens",[35],{"text":36},"The repository was cloned successfully and contains package.json and package-lock.json for a Vue\u002FVite application. Engine strategy selection chose PHP, then stopped because composer.json was not present. The selected strategy did not match the detected project files.",{"heading":38,"block":39},"What the log looks like",{"header":40,"lines":41},"Deploy log",[42,46,50,54,58],{"segments":43},[44],{"text":45},"Starting stage: running",{"segments":47},[48],{"text":49},"Running setup commands (panelalpha-after-clone.sh)",{"segments":51},[52],{"text":53},"Setup commands finished",{"segments":55},[56],{"text":57},"PHP strategy selected but composer.json is missing.",{"segments":59},[60],{"text":61},"Deploy failed: PHP strategy selected but composer.json is missing.",{"heading":63,"steps":64,"block":68},"How to fix it",[65],[66],{"text":67},"Choose a Node\u002FVite deployment strategy instead of PHP. Review the project’s deployment settings and any after-clone hook that may override detection. Confirm the repository includes the required build configuration and that the selected strategy’s build and start settings match the app.",{"header":69,"lines":70},"Fix by hand",[],{"heading":72,"body":73,"block":76},"How PanelAlpha Engine solves it",[74],{"text":75},"Prioritize the parsed package.json\u002FVite signals over a PHP fallback when selecting a strategy. Report the strategy-selection rule and expose an actionable mismatch warning before running the deploy.",{"header":15,"lines":77},[],{"heading":79,"items":80},"Apps affected",[81,85,89],{"title":82,"badge":83,"tone":23,"href":84},"Phorge","11 occurrences","\u002Fapps\u002Fwe.phorge.it\u002Fsource\u002Fphorge",{"title":86,"badge":87,"tone":23,"href":88},"Pmwiki","1 occurrence","\u002Fapps\u002Fl2dy-sonarcloud\u002Fpmwiki",{"title":90,"badge":87,"tone":23,"href":91},"digibunch","\u002Fapps\u002Fcodeberg.org\u002Fladigitale\u002Fdigibunch",{"heading":93,"body":94,"footNote":95,"docsLabel":96,"docsHref":97},"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"]