Skip to content

mmx auth login 命令执行报错:Bun is not defined + 授权链接 404 Not Found #57

@rinh

Description

@rinh

正文

问题描述

执行 mmx auth login 命令时出现两个错误:

  1. 终端报错:Error: Bun is not defined
  2. 自动跳转的授权 URL 返回 404 Not Found:https://platform.minimax.io/oauth/authorize
    无法完成 MiniMax 授权登录。

复现步骤

mmx auth login

输出:

Opening browser to authenticate with MiniMax...
Error: Bun is not defined

环境信息

  • 操作系统:macOS 26.3.1 (a) / BuildVersion: 25D771280a
  • Bun 版本:已安装 Bun v1.3.5+1e86cebd7
  • Python 环境:py311m3

报错信息

mmx auth login
Opening browser to authenticate with MiniMax...

Error: Bun is not defined

附加信息

已确认本地正常安装 Bun:

$ bun
Bun is a fast JavaScript runtime, package manager, bundler, and test runner. (1.3.5+1e86cebd7)
...

系统信息:

$ sw_vers
ProductName:	macOS
ProductVersion:	26.3.1
ProductVersionExtra:	(a)
BuildVersion:	25D771280a

期望行为

  • 执行 mmx auth login 不报错
  • 跳转到正确的 MiniMax 授权页面
  • 可以正常完成登录授权

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions