PHP strategy incorrectly ran Composer for a Vite app
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 repository contains a Node/Vue/Vite application, but deployment selected the PHP “no Composer” strategy. That strategy attempted to run Composer in /app, where no composer.json exists. The failure is a platform-detection or strategy-selection mismatch, not a repository clone failure.
What the log looks like
Deploy log
Detected project type: PHP (no Composer)Using strategy: phpPreparing shared PHP base image panelalpha/php:8.3-apache-bookworm-pa20260910Compiling frontend assets on hostComposer could not find a composer.json file in /appDeploy failed: Composer could not find a composer.json file in /app