openclaw wechat docker 版本 咋设置

2026-04-11 12:201阅读0评论SEO资讯
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

我知道NPM安装
但是docker版本咋安装

npx -y @tencent-weixin/openclaw-weixin-cli@latest install 网友解答:


--【壹】--: smallAnYao:

openclaw channels login --channel openclaw-weixin

好像不行诶
image1920×310 129 KB


--【贰】--:

image1714×584 313 KB
我没搞错吧


--【叁】--:

这个不是快问快答,好像没找到最佳答案选项 佬


--【肆】--:

这个是那个微信插件版本与openclaw不兼容引起的。


--【伍】--:

重新跑一下


--【陆】--:

还是报错:

TapTap:

docker exec -it openclaw bash

npx -y @tencent-weixin/openclaw-weixin-cli@latest install

openclaw channels login --channel openclaw-weixin

openclaw gateway restart

openclaw channels login --channel openclaw-weixin

OpenClaw 2026.3.14 (unknown) — iMessage green bubble energy, but for everyone.

20:21:34 [plugins] telegram failed to load from /app/extensions/telegram/index.ts: Error: Cannot find module ‘../../src/plugin-sdk/telegram.js’
Require stack:

  • /app/extensions/telegram/runtime-api.ts
    20:21:36 [plugins] openclaw-weixin failed to load from /home/node/.openclaw/extensions/openclaw-weixin/index.ts: TypeError: (0 , _pluginSdk.resolvePreferredOpenClawTmpDir) is not a function
    [wecom] v1.0.13 loaded
    [openclaw] Failed to start CLI: PluginLoadFailureError: plugin load failed: telegram: Error: Cannot find module ‘../../src/plugin-sdk/telegram.js’
    Require stack:
  • /app/extensions/telegram/runtime-api.ts; openclaw-weixin: TypeError: (0 , _pluginSdk.resolvePreferredOpenClawTmpDir) is not a function
    at maybeThrowOnPluginLoadError (file:///app/dist/auth-profiles-Ctj-NPWe.js:334235:8)
    at loadOpenClawPlugins (file:///app/dist/auth-profiles-Ctj-NPWe.js:334795:2)
    at ensurePluginRegistryLoaded (file:///app/dist/plugin-registry-pms5oqOu.js:27:2)
    at Object.callback (file:///app/dist/program-EQNG4f_D.js:136:4)
    at async Command.parseAsync (/app/node_modules/commander/lib/command.js:1122:5)
    at async runCli (file:///app/dist/run-main-Btp31Bzt.js:413:3)
    (node:109) [OPENCLAW_PLUGIN_SDK_COMPAT_DEPRECATED] Warning: openclaw/plugin-sdk/compat is deprecated for new plugins. Migrate to focused openclaw/plugin-sdk/ imports. See Plugin SDK Migration - OpenClaw
    Bundled plugins must use scoped plugin-sdk subpaths. External plugins may keep compat temporarily while migrating. Migration guide: Plugin SDK Migration - OpenClaw
    (Use node --trace-warnings ... to show where the warning was created)

--【柒】--: TapTap:

openclaw gateway restart

按照大佬的搞定啦


--【捌】--: TapTap:

openclaw channels login --channel openclaw-weixin

我刚删除 重装了,第一步进入docker 输入命令就报错啦


--【玖】--:

进openclaw容器里面执行shell


--【拾】--:

给我个最佳答案吧


--【拾壹】--:

然后重启网关
openclaw gateway restart


--【拾贰】--:

我进去啦 但是不出QA码 没办法对接微信
openclaw-weixin │ ON │ SETUP │ no token


--【拾叁】--:

QR code login

openclaw channels login --channel openclaw-weixin

用这个


--【拾肆】--:

docker exec -it openclaw bash

npx -y @tencent-weixin/openclaw-weixin-cli@latest install

openclaw channels login --channel openclaw-weixin

openclaw gateway restart


--【拾伍】--:

openclaw channels login --channel openclaw-weixin
用这个二维码登录


--【拾陆】--:

执行完截图我看看


--【拾柒】--:

我也是容器里面运行的,我执行install不会显示二维码,会自动退出容器终端
后面我再次进入容器手动触发login就好了

问题描述:

我知道NPM安装
但是docker版本咋安装

npx -y @tencent-weixin/openclaw-weixin-cli@latest install 网友解答:


--【壹】--: smallAnYao:

openclaw channels login --channel openclaw-weixin

好像不行诶
image1920×310 129 KB


--【贰】--:

image1714×584 313 KB
我没搞错吧


--【叁】--:

这个不是快问快答,好像没找到最佳答案选项 佬


--【肆】--:

这个是那个微信插件版本与openclaw不兼容引起的。


--【伍】--:

重新跑一下


--【陆】--:

还是报错:

TapTap:

docker exec -it openclaw bash

npx -y @tencent-weixin/openclaw-weixin-cli@latest install

openclaw channels login --channel openclaw-weixin

openclaw gateway restart

openclaw channels login --channel openclaw-weixin

OpenClaw 2026.3.14 (unknown) — iMessage green bubble energy, but for everyone.

20:21:34 [plugins] telegram failed to load from /app/extensions/telegram/index.ts: Error: Cannot find module ‘../../src/plugin-sdk/telegram.js’
Require stack:

  • /app/extensions/telegram/runtime-api.ts
    20:21:36 [plugins] openclaw-weixin failed to load from /home/node/.openclaw/extensions/openclaw-weixin/index.ts: TypeError: (0 , _pluginSdk.resolvePreferredOpenClawTmpDir) is not a function
    [wecom] v1.0.13 loaded
    [openclaw] Failed to start CLI: PluginLoadFailureError: plugin load failed: telegram: Error: Cannot find module ‘../../src/plugin-sdk/telegram.js’
    Require stack:
  • /app/extensions/telegram/runtime-api.ts; openclaw-weixin: TypeError: (0 , _pluginSdk.resolvePreferredOpenClawTmpDir) is not a function
    at maybeThrowOnPluginLoadError (file:///app/dist/auth-profiles-Ctj-NPWe.js:334235:8)
    at loadOpenClawPlugins (file:///app/dist/auth-profiles-Ctj-NPWe.js:334795:2)
    at ensurePluginRegistryLoaded (file:///app/dist/plugin-registry-pms5oqOu.js:27:2)
    at Object.callback (file:///app/dist/program-EQNG4f_D.js:136:4)
    at async Command.parseAsync (/app/node_modules/commander/lib/command.js:1122:5)
    at async runCli (file:///app/dist/run-main-Btp31Bzt.js:413:3)
    (node:109) [OPENCLAW_PLUGIN_SDK_COMPAT_DEPRECATED] Warning: openclaw/plugin-sdk/compat is deprecated for new plugins. Migrate to focused openclaw/plugin-sdk/ imports. See Plugin SDK Migration - OpenClaw
    Bundled plugins must use scoped plugin-sdk subpaths. External plugins may keep compat temporarily while migrating. Migration guide: Plugin SDK Migration - OpenClaw
    (Use node --trace-warnings ... to show where the warning was created)

--【柒】--: TapTap:

openclaw gateway restart

按照大佬的搞定啦


--【捌】--: TapTap:

openclaw channels login --channel openclaw-weixin

我刚删除 重装了,第一步进入docker 输入命令就报错啦


--【玖】--:

进openclaw容器里面执行shell


--【拾】--:

给我个最佳答案吧


--【拾壹】--:

然后重启网关
openclaw gateway restart


--【拾贰】--:

我进去啦 但是不出QA码 没办法对接微信
openclaw-weixin │ ON │ SETUP │ no token


--【拾叁】--:

QR code login

openclaw channels login --channel openclaw-weixin

用这个


--【拾肆】--:

docker exec -it openclaw bash

npx -y @tencent-weixin/openclaw-weixin-cli@latest install

openclaw channels login --channel openclaw-weixin

openclaw gateway restart


--【拾伍】--:

openclaw channels login --channel openclaw-weixin
用这个二维码登录


--【拾陆】--:

执行完截图我看看


--【拾柒】--:

我也是容器里面运行的,我执行install不会显示二维码,会自动退出容器终端
后面我再次进入容器手动触发login就好了