Skip to content

[Docs]: the source build instructions switch to a branch that does not exist #40

Closed

Description

@antianqi

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:

  • node scripts/check-windows-source-location.mjs — exits 0
  • 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.

Activity

  1. added
    bug
    on Nov 12, 2026
  2. Fectivnfy112357 commented on Nov 20, 2026

    @Fectivnfy112357
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions