rt anyrouter在官网公告部分更新了一个bash脚本 我运行之后调用claude命令出现了报错:
claude --dangerously-skip-permissions --teammate-mode in-process
error: Module not found ‘.js/$bunfs/root/src/entrypoints/cl’
Bun v1.3.11 (Linux x64 baseline)
请教下有没有相同情况的佬友该怎么修复
rt anyrouter在官网公告部分更新了一个bash脚本 我运行之后调用claude命令出现了报错:
claude --dangerously-skip-permissions --teammate-mode in-process
error: Module not found ‘.js/$bunfs/root/src/entrypoints/cl’
Bun v1.3.11 (Linux x64 baseline)
请教下有没有相同情况的佬友该怎么修复
[2026/03/06] 最新版本的 claude code 对 Tool Search 功能做了限制,要求 API 地址为 api.anthropic.com 才能使用。该功能可以减少上下文中工具定义占用的长度,尤其是对于使用较多 mcp 的用户可以提升模型的表现。npm 版本可以通过修改代码替换其中的域名解决,bun 版本无法替换,建议使用 npm 版本。Linux/macOS 用户可以使用以下 Bash 脚本解决该问题(每次升级需要重新执行),如果使用其他中转域名例如 a-ocnfniawgw.cn-shanghai.fcapp.run,请将脚本中的 anyrouter.top 替换为你的使用的域名,或设置环境变量 API_HOST(无需 https:// 前缀,如果配置了端口号需要写端口号)。
请使用 claude code 的 npm 版本,你现在使用的是 bun 版本,bash 脚本对 bun 版本没效果
看公告是Linux的脚本,Windows用执行脚本吗?
检查了一下发现装了native和npm 导致bash之后的claude指令指向native那个了
所以怎么解决的