curl -fsSL https://openclaw.ai/install.sh | bashiwr -useb https://openclaw.ai/install.ps1 | iex问题 1:'iwr' 不是内部或外部命令
原因:在 CMD 中运行了 PowerShell 命令。sha
解决:改用 PowerShell(蓝色窗口)执行安装命令。
问题 2:cannot be loaded because running scripts is disabled
原因:PowerShell 执行策略限制。
解决:管理员 PowerShell 执行Set-ExecutionPolicy RemoteSigned -Force。
问题 3:Gateway start blocked: existing config is missing gateway.mode
原因:配置文件不完整。
解决:运行openclaw onboard --mode local重新配置。
问题 4:not connected to gateway
原因:Gateway 未运行或被关闭。
解决:检查 Gateway 窗口是否在运行,没有则重新执行openclaw gateway。
问题 5:send failed: gateway request timeout
原因:API Key 无效、账户无余额或网络问题。
解决:
- 登录 DeepSeek 平台检查账户余额
- 确认 API Key 正确
- 尝试换模型:
openclaw config set model deepseek-chat
问题 6:streaming watchdog: no stream updates for 30s
原因:连接空闲或后端断开了。
解决:发送一条新消息(如 “hi”)重新建立连接。
问题 7:TUI 输入卡顿
原因:CMD/PowerShell 对 TUI 渲染支持不佳。
解决:
- 安装 Windows Terminal(推荐)
- 或改用 Web 控制台:浏览器访问
http://127.0.0.1:18789/
问题 8:Unhandled promise rejection: CIAO PROBING CANCELLED
原因:bonjour 插件引起。
解决:
cmd
openclaw plugins disable bonjour openclaw gateway –skip-plugins