[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-main-module-github-com-yusing-godoxy-does-not":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":18,"titleAccent":19,"lead":20,"facts":23,"why":38,"log":43,"fix":72,"engine":81,"related":89,"pitch":96},"go","main-module-github-com-yusing-godoxy-does-not","Go deploy failed","Go",{"description":9},"Learn what causes Go deploy failed, how PanelAlpha Engine responds to it during deployment.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fgo",{"label":17},"Go deploy failed: invalid build target after submodule checkout","Go deploy failed: ","invalid build target after submodule checkout",[21],{"text":22},"Error recorded 1 times in PanelAlpha Engine deploys on Go. The deploy log below is the recorded failure output.",[24,29,32,34],{"label":25,"value":26,"tone":27,"tooltip":28},"Type","Error","err","An 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.",{"label":30,"value":31},"Seen","1 times",{"label":33,"value":7},"Where",{"label":35,"value":36,"tooltip":37},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":39,"body":40},"Why it happens",[41],{"text":42},"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 .\u002Fcmd\u002Fcli, 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.",{"heading":44,"block":45},"What the log looks like",{"header":46,"lines":47},"Deploy log",[48,52,56,60,64,68],{"segments":49},[50],{"text":51},"Submodule path 'webui' ...",{"segments":53},[54],{"text":55},"fatal: remote error: upload-pack: not our ref \u003Ccommit>",{"segments":57},[58],{"text":59},"Detected project type: Go",{"segments":61},[62],{"text":63},"PANELALPHA: several Go main packages ...; building .\u002Fcmd\u002Fcli.",{"segments":65},[66],{"text":67},"main module (github.com\u002Fyusing\u002Fgodoxy) does not contain package github.com\u002Fyusing\u002Fgodoxy\u002Fcmd\u002Fcli",{"segments":69},[70],{"text":71},"Deploy failed: Failed to start app",{"heading":73,"steps":74,"block":78},"How to fix it",[75],[76],{"text":77},"Repair the webui submodule reference so its commit exists in the remote, then push the corrected parent commit and redeploy. Confirm the repository builds from a clean recursive clone. If the intended executable is not the automatically selected package, set an explicit build command pointing to a valid main package, such as the appropriate directory under .\u002Fcmd.",{"header":79,"lines":80},"Fix by hand",[],{"heading":82,"body":83,"block":86},"How PanelAlpha Engine solves it",[84],{"text":85},"Stop or clearly fail the deployment when a required submodule cannot be fetched. Before building, validate the selected Go package with the module metadata and avoid selecting a missing or incomplete target. Surface the log-permission failure separately with an actionable diagnostic.",{"header":87,"lines":88},"",[],{"heading":90,"items":91},"Apps affected",[92],{"title":93,"badge":94,"tone":27,"href":95},"godoxy","1 occurrence","\u002Fapps\u002Fyusing\u002Fgodoxy",{"heading":97,"body":98,"footNote":99,"docsLabel":100,"docsHref":101},"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 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]