Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Message.say() received unknown msg: FileBox#Base64 #310

Open
treeguard opened this issue Sep 6, 2020 · 11 comments
Open

Error: Message.say() received unknown msg: FileBox#Base64 #310

treeguard opened this issue Sep 6, 2020 · 11 comments

Comments

@treeguard
Copy link

Important:Please file the issue follow the template, or we won't help you to solve the problem.

0. Report Issue Guide

  1. Please run the following command and check whether the problem has been fixed:
npm install wechaty-puppet-padplus@next
  1. Please search in the issue first, and make sure your problem had not been reported before

1. Versions

  • What is your wechaty version?
    Answer: [email protected]

  • What is your wechaty-puppet-padplus version?
    Answer: [email protected]

  • What is your node version? (run node --version)
    Answer: v13.12.0

  • What os are you using
    Answer: Mac OS

2. Describe the bug

I think the bug was introduced recently since my code ran well before.

(node:4548) UnhandledPromiseRejectionWarning: Error: Message.say() received unknown msg: FileBox#Base64<test.png>
    at WechatifiedMessage.say (/.../node_modules/wechaty/dist/src/user/message.js:439:19)

3. To Reproduce

Here is my code

  let data =  FileBox.fromDataURL(dataURL, "test.png")
  await msg.say(data)

4. Expected behavior

The bot is expected to send the png image but fails now.

5. Actual behavior

If applicable, add screenshots to help explain your problem. But do not paste log screenshots here.

6. Full Output Logs

Set env WECHATY_LOG=silly in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)

We need full log instead of log screenshot or log fragments!

Show Logs
$ WECHATY_LOG=silly node yourbot.js

Question: Paste your FULL(DO NOT ONLY PROVIDE FRAGMENTS) log messages
Answer:

7. Additional context

Add any other context about the problem here.

[bug]

@treeguard
Copy link
Author

@su-chang do you mind taking at a look this issue

@su-chang
Copy link
Member

function process(fileBox: FileBox, name: string) {
  return FileBox.fromBase64(await fileBox.toBase64(), name)
}

Please have a try in this way, and share your result in comment, thank you.

@treeguard
Copy link
Author

@su-chang just tried it again, I tried the same way a few days ago, it has the same error:

(node:4548) UnhandledPromiseRejectionWarning: Error: Message.say() received unknown msg: FileBox#Base64<test.png>
    at WechatifiedMessage.say (/.../node_modules/wechaty/dist/src/user/message.js:439:19)

The thing I did recently was to upgrade my wechaty libraries to fix some other issues, so I guess it's a library issue since my code works well before?

@yiouyou
Copy link

yiouyou commented Sep 13, 2020

@su-chang with "wechaty-puppet-padplus": "^0.6.6", I met the same problem:

let f_path = path.resolve(__dirname, "./imgs/pay.png")
const pay_png = FileBox.fromFile(f_path)
await msg.say(pay_png)
log.info('Bot', `onMessage: 打赏 ${f_path}`)
log.info('Bot', `onMessage: 打赏 -> ${pay_png}`)

log.info:

16:02:55 INFO Bot onMessage: 打赏 /mnt/d/wxBot-dorm-seller/bot/imgs/pay.png
16:02:55 ERR Bot onMessage: Error: Message.say() received unknown msg: FileBox#File<pay.png>

As I remember, it was working before, but it fails very time now.
Could you help us?
Thanks

@su-chang
Copy link
Member

@yiouyou Sorry, I have not reproduced this problem, please upgrade [email protected] and [email protected].

BTW, please try these commands:

rm -rf node_modules package-lock.json
npm i wechaty
npm i wechaty-puppet-padplus
npm i

@yiouyou
Copy link

yiouyou commented Sep 16, 2020

@su-chang After to do exactly the same commands, there still is the problem, Error: Message.say() received unknown msg: FileBox#File<pay.png> . All I can do now is to bypass it using UrlLink.

code

...
else if (content === "打赏" || parseInt(content) === 5) {
    //打赏,这里换成自己的赞赏二维码
    //FileBox
    let f_path = path.resolve(__dirname, "./imgs/pay.png")
    log.info('Bot', `onMessage: 打赏 ${f_path}`)
    let pay_png = FileBox.fromFile(f_path) //FileBox.fromUrl('https://wechaty.github.io/wechaty/images/bot-qr-code.png')
    try {
      await delay(400)
      await msg.say(pay_png)
      log.info('Bot', `onMessage: 打赏 -> ${pay_png}`)
    } catch (e) {
      log.error('Bot', 'onMessage: %s', e)
    }
    //UrlLink
    let pay_png_link = "https://images.shobserver.com/news/690_390/2019/9/4/5b5d2b74-cced-4cbd-8828-75ccc1724a37.jpg"
    let urlLink = new UrlLink({
      title: '二维码',
      description: 'image',
      thumbnailUrl: "https://s1.ax1x.com/2020/09/08/wQALpq.jpg",
      url: pay_png_link
    })
    await delay(400)
    await msg.say(urlLink)
    log.info('Bot', `onMessage: 打赏 -> ${urlLink}`)
    //多谢老板
    await delay(400)
    await msg.say("多谢老板 🙏")
  }
... 

printout:

sz@pc:/mnt/d/wxBot-dorm-seller/bot$ rm -rf node_modules/
sz@pc:/mnt/d/wxBot-dorm-seller/bot$ cat package.json
{
  "name": "wxbot-test",
  "version": "1.0.0",
  "description": "",
  "main": "app.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "sz <[email protected]>",
  "license": "MIT",
  "dependencies": {
    "cheerio": "^1.0.0-rc.3",
    "file-box": "^0.12.8",
    "finis": "^0.4.4",
    "hot-import": "^0.2.14",
    "js-md5": "^0.7.3",
    "node-fetch": "^2.6.1",
    "node-schedule": "^1.3.2",
    "path": "^0.12.7",
    "qrcode-terminal": "^0.12.0",
    "superagent": "^6.1.0",
    "urlencode": "^1.1.0",
    "wechaty": "^0.48.10",
    "wechaty-puppet-padplus": "^0.6.6"
  }
}
sz@pc:/mnt/d/wxBot-dorm-seller/bot$ cnpm install wechaty
✔ Installed 1 packages
✔ Linked 366 latest versions
[1/3] scripts.postinstall [email protected][email protected][email protected] › core-js@^2.4.0 run "node -e \"try{require('./postinstall')}catch(e){}\"", root: "/mnt/d/wxBot-dorm-seller/bot/node_modules/[email protected]@core-js"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

[1/3] scripts.postinstall [email protected][email protected][email protected] › core-js@^2.4.0 finished in 38ms
[2/3] scripts.install [email protected][email protected] › @chatie/[email protected] › grpc@^1.24.2 run "node-pre-gyp install --fallback-to-build --library=static_library", root: "/mnt/d/wxBot-dorm-seller/bot/node_modules/[email protected]@grpc"
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp http GET https://cdn.npm.taobao.org/dist/grpc/v1.24.3/node-v72-linux-x64-glibc.tar.gz
node-pre-gyp http 200 https://cdn.npm.taobao.org/dist/grpc/v1.24.3/node-v72-linux-x64-glibc.tar.gz
[grpc] Success: "/mnt/d/wxBot-dorm-seller/bot/node_modules/[email protected]@grpc/src/node/extension_binary/node-v72-linux-x64-glibc/grpc_node.node" is installed via remote
[2/3] scripts.install [email protected][email protected] › @chatie/[email protected] › grpc@^1.24.2 finished in 3s
[3/3] scripts.postinstall wechaty@^0.48.10 run "opencollective-postinstall", root: "/mnt/d/wxBot-dorm-seller/bot/node_modules/[email protected]@wechaty"
Thank you for using wechaty!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/wechaty/donate

[3/3] scripts.postinstall wechaty@^0.48.10 finished in 53ms
✔ Run 3 scripts
peerDependencies WARNING [email protected] › ws@^7.3.1 requires a peer of bufferutil@^4.0.1 but none was installed
peerDependencies WARNING [email protected] › ws@^7.3.1 requires a peer of utf-8-validate@^5.0.2 but none was installed
deprecate [email protected][email protected][email protected] › har-validator@~5.1.3 this library is no longer supported
deprecate [email protected][email protected][email protected][email protected][email protected] › circular-json@^0.5.5 CircularJSON is in maintenance only, flatted is its successor.
deprecate [email protected][email protected][email protected] › core-js@^2.4.0 core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
Recently updated (since 2020-09-09): 5 packages (detail see file /mnt/d/wxBot-dorm-seller/bot/node_modules/.recently_updates.txt)
  Today:
    → [email protected][email protected][email protected] › aws-sdk@^2.620.0(2.753.0) (02:21:37)
    → [email protected][email protected] › @chatie/[email protected][email protected] › @types/[email protected] › @types/node@*(14.10.2) (02:23:28)
✔ All packages installed (410 packages installed from npm registry, used 30s(network 26s), speed 303.4kB/s, json 367(1.27MB), tarball 6.41MB)
sz@pc:/mnt/d/wxBot-dorm-seller/bot$ cnpm install wechaty-puppet-padplus
✔ Installed 1 packages
✔ Linked 140 latest versions
[1/2] scripts.install [email protected][email protected] › rocksdb@^4.1.0 run "node-gyp-build", root: "/mnt/d/wxBot-dorm-seller/bot/node_modules/[email protected]@rocksdb"
[1/2] scripts.install [email protected][email protected] › rocksdb@^4.1.0 finished in 170ms
[2/2] scripts.postinstall [email protected][email protected][email protected][email protected][email protected] › core-js@^3.4.1 run "node -e \"try{require('./postinstall')}catch(e){}\"", root: "/mnt/d/wxBot-dorm-seller/bot/node_modules/[email protected]@core-js"
[2/2] scripts.postinstall [email protected][email protected][email protected][email protected][email protected] › core-js@^3.4.1 finished in 32ms
✔ Run 2 scripts
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/gif unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-dither unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/types unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-displace unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-fisheye unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/jpeg unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/png unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-circle unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-cover unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-blur unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-crop unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-contain unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-cover unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-crop(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-color unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/bmp unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/tiff unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-scale unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-contain unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-scale(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-blit unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-contain unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-resize(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-contain unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-blit(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-scale unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-resize(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-resize unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugins unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-invert unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-cover unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-resize(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-normalize unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-mask unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-gaussian unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-flip unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-rotate unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-cover unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-scale(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-rotate unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-blit(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-shadow unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-threshold unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-rotate unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-resize(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-rotate unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-crop(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-shadow unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-resize(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-flip unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-rotate(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-threshold unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-color(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-print unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-blit(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-print unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/custom(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-shadow unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-blur(0.13.0)
peerDependencies link @jimp/[email protected] in /mnt/d/wxBot-dorm-seller/bot/node_modules/_@[email protected]@@jimp/plugin-threshold unmet with /mnt/d/wxBot-dorm-seller/bot/node_modules/@jimp/plugin-resize(0.13.0)
Recently updated (since 2020-09-09): 2 packages (detail see file /mnt/d/wxBot-dorm-seller/bot/node_modules/.recently_updates.txt)
✔ All packages installed (100 packages installed from npm registry, used 11s(network 10s), speed 69.64kB/s, json 141(709.96kB), tarball 0B)
sz@pc:/mnt/d/wxBot-dorm-seller/bot$ cnpm install
✔ Installed 13 packages
✔ Linked 34 latest versions
✔ Run 0 scripts
✔ All packages installed (29 packages installed from npm registry, used 1s(network 1s), speed 164.08kB/s, json 44(184.59kB), tarball 0B)
sz@pc:/mnt/d/wxBot-dorm-seller/bot$ node app.js

=============== Welcome to wxBot-dorm-seller ===============
------- https://github.com/yiouyou/wxBot-dorm-seller -------

Please wait... I'm trying to login in...

11:21:53 INFO Bot token: puppet_padplus_9de87ed9769b1cc3
11:21:57 INFO PuppetPadplus start()
11:21:58 INFO Bot onLogin: Contact<丁丁> login
11:21:59 INFO Bot app: 已启动
config.perNumMenu: 3
11:22:13 INFO Bot onMessage: []<qq26048067(sz)>{7}'打赏'
11:22:13 INFO Bot onMessage: 打赏 /mnt/d/wxBot-dorm-seller/bot/imgs/pay.png
11:22:14 ERR Bot onMessage: Error: Message.say() received unknown msg: FileBox#File<pay.png>
11:22:14 INFO Bot onMessage: 打赏 -> UrlLink<https://images.shobserver.com/news/690_390/2019/9/4/5b5d2b74-cced-4cbd-8828-75ccc1724a37.jpg>

Appreciate your help!

@su-chang
Copy link
Member

"file-box": "^0.12.8"

I think you should not need install this module, please uninstall it and try again.

BTW, if you want to use FileBox, you can import it from wechaty.

@yiouyou
Copy link

yiouyou commented Sep 16, 2020

Wow, it does fix the problem! Thanks!! @su-chang

@su-chang
Copy link
Member

Glad to know that, you are welcome.

@treeguard
Copy link
Author

@su-chang I also remove the file-box dependency but do you know why it causes the issue. The file-box in wehcaty is different with the external file-box module?

@su-chang
Copy link
Member

wechaty should be dependent on the inner FileBox, the FileBox which you import to your project is not same to it, so it's the reason for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants