Next.js deploy fails: the Yarn monorepo never answers health checks
Error recorded 15 times in PanelAlpha Engine deploys on Nextjs, 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.
Seen15 times · 3 variants
WhereNextjs, 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 Next.js, but the deployment did not expose a healthy HTTP service on port 3000. The log shows extensive Yarn peer-dependency warnings, but the available telemetry does not confirm they caused the failure. The repository also includes Docker Compose and a workspace-style monorepo, which may not match the selected Next.js strategy.
What the log looks like
Deploy log
➤ YN0000: · Yarn 4.13.0➤ YN0000: ┌ Post-resolution validation➤ YN0060: │ @nestjs/graphql ... doesn't satisfy @graphql-yoga/nestjs➤ YN0002: │ twenty-emails@workspace:packages/twenty-emails doesn't provide react...Health check: port 3000HTTP response: noneService status: unhealthy