事倍功半是蠢蛋82 openclaw的gateway服务闪退

260307更新:https://github.com/ValueCell-ai/ClawX
别特么自己装了,用这个。

结论:配置后无法启动这个时候什么都不要做 127启动不了 但是这个时候你可以手动在cmd上输入

openclaw gateway

启动它。

其他你用不上但是我写在这的命令和学习openclaw 并开发openclaw插件的过程,请忽略:

https://clawd.org.cn/plugin.html#write-a-new-messaging-channel-step‐by‐step

openclaw onboard --install-daemon

openclaw doctor --fix

image

切换第三方模型
https://zhuanlan.zhihu.com/p/2006338316094682795

卸载openclaw
https://gist.github.com/bewithdhanu/a5b960ef4a9550afa4a27020eeea1b85

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

https://github.com/ZHONGJJ-BIT/openclaw-installer

https://github.com/miaoxworld/openclaw-manager

cmd

openclaw config set gateway.controlUi.allowedOrigins "["*"]"
openclaw gateway restart

powershell

openclaw config set gateway.controlUi.allowedOrigins '["*"]'
openclaw gateway restart

openclaw devices list
openclaw devices approve [requestid]

切成

cd C:\Users\Administrator\Desktop
npx serve
http://localhost:3000/openclaw2.html

openclaw gateway重启json就没了是因为你的json语法有错误。

clawX打包
pnpm run build

npx pnpm@10.29.2 install; npx pnpm@10.29.2 run package:win

"plugins": {
"enabled": true,
"allow": [
"relay"
],
"entries": {
"relay": {
"enabled": true
}
},
"load": {
"paths": [
"d:\workplace\2026\openclaw\openclaw-channel-main\openclaw-channel-main"
]
}
},

===========================================
docker compose build openclaw && docker compose up -d --no-deps openclaw

当openclaw有什么离谱的需求的时候 尝试改他的SOUL.MD跟Agents.MD

posted @ 2026-02-27 15:57  空心橙子  阅读(464)  评论(0)    收藏  举报