padlocal/wechaty-puppet-padlocal-demo

What is property called 'Contact'?

sun2ot opened this issue · 0 comments

TypeError: Cannot read property 'Contact' of undefined
    at PuppetPadlocal._updateContactCache (/home/wechat-bot-padlocal/node_modules/wechaty-puppet-padlocal/dist/puppet-padlocal.js:1053:66)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at async PuppetPadlocal._refreshContact (/home/wechat-bot-padlocal/node_modules/wechaty-puppet-padlocal/dist/puppet-padlocal.js:1170:9)
    at async /home/wechat-bot-padlocal/node_modules/wechaty-puppet-padlocal/dist/puppet-padlocal.js:884:33
    at async PuppetPadlocal.contactRawPayload (/home/wechat-bot-padlocal/node_modules/wechaty-puppet-padlocal/dist/puppet-padlocal.js:883:19)

As you see, my bot runs successfully and can respond correctly to personal messages or room messages.

But the console keeps reporting errors TypeError: Cannot read property 'Contact' of undefined.

How can I resolve this problem?

It would be my great honor to receive your reply. I'm sorry for any trouble I caused.