You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Docs]: the source build instructions switch to a branch that does not exist #40
The "Build from source" section of README.md / README_ZH.md starts with:
git clone https://github.com/mcode-webui/minimax-code.git
cd minimax-code
git switch webui
There is no webui branch. The repository has 23 branches — main, chore/*, fix/*, feat/* and dependabot/* — and none of them is webui. The upstream MiniMax-AI/minimax-code does not have one either; its default branch is main and it has no webui head. Someone following the README gets fatal: invalid reference: webui on the first command after the clone.
The rest of that section checks out on main. Verified on a Windows host:
pnpm install --frozen-lockfile — fine with pnpm 9.12.0, which is what the section asks for and what CI pins
pnpm build:webui — fine
pnpm --filter @mavis/webui dev:server — the service comes up on http://127.0.0.1:2233/, answers 200, serves the client with #webui-root in it, and hands out a WebSocket URL with a per-start credential
So the fix is the one line: switch to main (or drop the line), unless there is a webui branch that was never pushed.
Reproduced fatal: invalid reference: webui in an isolated clone. Switching to main succeeded. PR #50 updates both source-build guides. Closing as addressed by the submitted PR, pending merge.
Activity
Fectivnfy112357 commentedon Nov 20, 2026
Reproduced
fatal: invalid reference: webuiin an isolated clone. Switching tomainsucceeded. PR #50 updates both source-build guides. Closing as addressed by the submitted PR, pending merge.