遇到环境报错?粘贴就行
把报错命令和错误信息复制或截图进来 EnvDoctor 帮你找到原因,给出能直接复制粘贴的修复步骤。
EnvDoctor
三步拿到修复方案
1粘贴报错
2告诉我们你的系统和工具
3收到诊断结果和修复步骤
你粘贴的报错
$ pnpm install
ERR_PNPM_FETCH_404
ENOTFOUND registry.npmjs.org
EnvDoctor 给出的下一步
直接复制到终端里验证
确认 registry 和 DNS 是否能连通
修正 pnpm 源或本地网络配置
运行验证命令,确认开发服务器恢复
复制修复步骤
覆盖常用开发工具
Claude Code
Codex
OpenCode
OpenClaw
Hermes
Node.js
pnpm
Python
Git
Vercel
把报错变成下一步
不用整理,不用解释“大概是什么问题”。粘贴报错,直接给你修复步骤。
不用整理,粘贴就行
不用组织语言,不用描述“大概是什么问题”。直接把报错和命令扔进来。
Claude Code logpaste
$ claude --continue
Tool use failed: Bash
input.command is required
tool_use_id: toolu_01...
EnvDoctor reads the failed Claude Code tool call directly.
Likely layer: Bash payload schema. Next proof: capture the missing command field.
不会动你的配置
需要补充信息时,只会让你跑只读命令——比如查版本、查 DNS——不会修改你现有的任何配置文件。
能直接照做的建议
每次诊断都会说明:大概率哪里坏了、为什么会这样、下一步查什么、怎么验证结果。复制粘贴就能用。
EnvDoctor session
Claude Code + OpenClaw
1
Symptom
Claude Code loops after OpenClaw starts a repo task.
2
Likely cause
OpenClaw's filesystem MCP exits before handshake.
3
Repair step
Pin the Node path in the OpenClaw MCP command.
4
Verify
Run openclaw doctor, then retry claude --continue.
5
Rollback
Restore the timestamped openclaw.json backup.
$ openclaw doctor --json
$ claude --continue
$ claude --continue
常见报错都见过
依赖装不上、开发服务器起不来、构建失败、部署出错——这些都能从这里排查。
截图直接传也行
报错在图里复制不了?上传截图,EnvDoctor 识别内容后继续分析。
不问废话
不会给你塞一堆表单,只在真正需要时追问一两个问题。
帮你判断是哪里的问题
根据你的系统信息和命令输出,判断是本地配置的问题,还是部署平台那边的问题。
历史诊断随时查
登录后所有诊断记录都保留,方便追踪同类问题、对比前后变化。