PHP install fails because Composer is unavailable
Error recorded 23 times in PanelAlpha Engine deploys on Php, Sveltekit, Vite. 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.
Seen23 times · 3 variants
WherePhp, Sveltekit, Vite
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The repository was detected as a PHP app without Composer, but its pnpm install runs PHP package postinstall scripts. Those scripts invoke composer install, and Composer is not installed or not available on PATH in the build environment. The deployment then stops during dependency installation.
What the log looks like
Deploy log
packages/php/blueprint postinstall$ XDEBUG_MODE=off composer install --quietpackages/php/email-editor postinstall$ sh vendor-prefixed/setup.sh && XDEBUG_MODE=off composer install --quietpackages/php/blueprint postinstall: sh: 1: composer: not found…