Java Gradle build failed because npm is missing

Error recorded 7 times in PanelAlpha Engine deploys on Java. The deploy log below is the recorded failure output.

Seen7 times · 6 variants
WhereJava

Why it happens

The Java/Gradle build evaluates /app/gradle/utils.gradle, which requires the npm executable. The selected Gradle image contains Java and Gradle but does not have npm on its PATH. The build stops before the application can start.

What the log looks like

Deploy log
Detected project type: Java (Gradle)Using strategy: javaLoaded base image gradle:8-jdk21 from host cacheCompiling application on hostFAILURE: Build failed with an exception.* Where:Script '/app/gradle/utils.gradle' line: 11* What went wrong:> npm executable not found. Install it and ensure it is on PATH (lookup used 'which npm').BUILD FAILED in 40s

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 CPURead the documentation