Go deploy failed: invalid build target after submodule checkout

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

Seen1 times
WhereGo

Why it happens

The repository’s webui submodule could not be fetched because the referenced commit is missing from its remote. The checkout continued with incomplete source, and automatic detection selected ./cmd/cli, which the main Go module does not contain. The log also reports a log-permission error, but the invalid Go package is the reported deployment failure.

What the log looks like

Deploy log
Submodule path 'webui' ...fatal: remote error: upload-pack: not our ref <commit>Detected project type: GoPANELALPHA: several Go main packages ...; building ./cmd/cli.main module (github.com/yusing/godoxy) does not contain package github.com/yusing/godoxy/cmd/cliDeploy failed: Failed to start app

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