正文
问题描述
执行 mmx auth login 命令时出现两个错误:
- 终端报错:
Error: Bun is not defined
- 自动跳转的授权 URL 返回 404 Not Found:
https://platform.minimax.io/oauth/authorize
无法完成 MiniMax 授权登录。
复现步骤
输出:
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 授权页面
- 可以正常完成登录授权
正文
问题描述
执行
mmx auth login命令时出现两个错误:Error: Bun is not definedhttps://platform.minimax.io/oauth/authorize无法完成 MiniMax 授权登录。
复现步骤
输出:
环境信息
报错信息
附加信息
已确认本地正常安装 Bun:
系统信息:
期望行为
mmx auth login不报错