七千二百袋水泥
七千二百袋水泥
发布于 2026-04-08 / 12 阅读
0

openclaw 2026.4.7 升级之后起不来

openclaw 2026.4.7 是用国内的网络升级之后依然会起不来

2026-04-08T11:24:48.716+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=3cb828cc-4d87-46ac-82dc-80e1eb9f660c
2026-04-08T11:24:48.907+08:00 [gateway-http] unhandled error in request handler: Error: Cannot find module '@buape/carbon'
Require stack:
- /home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/ui-CkA5arr1.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1456:15)
    at require.resolve (node:internal/modules/helpers:163:19)
    at jitiResolve (/home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:148703)
    at jitiRequire (/home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:150290)
    at /home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:157987
    at /home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/ui-CkA5arr1.js:17:15
    at eval_evalModule (/home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:155533)
    at jitiRequire (/home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:150967)
    at /home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:157987
    at /home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/channel-B4j0lZi5.js:30:18
    at eval_evalModule (/home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:155533)
    at jitiRequire (/home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:150967)
    at /home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:157987
    at /home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/extensions/discord/channel-plugin-api.js:1:304
    at eval_evalModule (/home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:155533)
    at jitiRequire (/home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:150967)
    at /home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/node_modules/jiti/dist/jiti.cjs:1:157987
    at loadBundledEntryModuleSync (file:///home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/channel-entry-contract-CqrwmlSA.js:150:35)
    at loadBundledEntryExportSync (file:///home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/channel-entry-contract-CqrwmlSA.js:155:17)
    at Object.loadChannelPlugin (file:///home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/channel-entry-contract-CqrwmlSA.js:164:34)
    at getBundledChannelPlugin (file:///home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/bundled-BUZYiQLp.js:232:24)
    at file:///home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/bundled-BUZYiQLp.js:213:18
    at Array.flatMap (<anonymous>)
    at listBundledChannelPlugins (file:///home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/bundled-BUZYiQLp.js:212:44)
    at resolvePluginGatewayAuthBypassPaths (file:///home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/server.impl-7L1b1IG7.js:25034:23)
    at handleRequest (file:///home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/server.impl-7L1b1IG7.js:25533:35)
    at Server.<anonymous> (file:///home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/server.impl-7L1b1IG7.js:25514:3)
    at Server.emit (node:events:508:28)
    at parserOnIncoming (node:_http_server:1210:12)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/cloudphone/media/0/openclaw/.local/lib/node_modules/openclaw/dist/ui-CkA5arr1.js'
  ]
}

这个问题吊诡的地方在,使用海外的网络不会有问题,只有国内的网络有问题,会缺包。解决方案:

npm install -g @buape/carbon @larksuiteoapi/node-sdk @slack/web-api grammy --registry=https://registry.npmmirror.com