PHP deploy runs Composer without a composer.json
Error recorded 1 times in PanelAlpha Engine deploys on Php. 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.
Seen1 times
WherePhp
StatusFixed (2.1.0)Fixed in PanelAlpha Engine 2.1.0. The error is resolved on our side, so you will not run into it anymore.
Why it happens
The project was detected as PHP (no Composer), but the deploy still ran the Composer container during frontend asset compilation. The repository contains Node/Vite metadata, but no composer.json was found at the application root. The Composer command then exited and stopped the deploy.
What the log looks like
Deploy log
Detected project type: PHP (no Composer)Using strategy: phpCompiling frontend assets on hostStatus: Downloaded newer image for composer:2Composer could not find a composer.json file in /appDeploy failed