wechaty / puppet-wechat4u

Wechat4u Puppet for Wechaty
https://www.npmjs.com/package/wechaty-puppet-wechat4u
Apache License 2.0
99 stars 34 forks source link

群一次邀请两个及以上好友入群,发生如下错误 #73

Open c517718004 opened 5 months ago

c517718004 commented 5 months ago

nodejs版本:v16.20.2 wechaty版本:1.20.2 wechaty-puppet-wechat4u版本: 1.14.14 错误内容: uncaughtException GError: query must provide at least one key. current query is empty. at PuppetWechat4u.contactQueryFilterFactory (file:///D:/test-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/contact-mixin.js:117:23) at PuppetWechat4u.contactSearch (file:///D:/test-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/contact-mixin.js:64:41) at runNextTicks (node:internal/process/task_queues:61:5) at processImmediate (node:internal/timers:437:9) at async Function.findAll (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/user-modules/contact.js:129:35) at async Function.find (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/user-modules/contact.js:84:29) at async Promise.all (index 0) at async PuppetWechat4u. (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:299:55) { code: 2, details: 'Error: query must provide at least one key. current query is empty.\n' + ' at PuppetWechat4u.contactQueryFilterFactory (file:///D:/test-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/contact-mixin.js:117:23)\n' + ' at PuppetWechat4u.contactSearch (file:///D:/test-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/contact-mixin.js:64:41)\n' + ' at runNextTicks (node:internal/process/task_queues:61:5)\n' + ' at processImmediate (node:internal/timers:437:9)\n' + ' at async Function.findAll (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/user-modules/contact.js:129:35)\n' + ' at async Function.find (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/user-modules/contact.js:84:29)\n' + ' at async Promise.all (index 0)\n' + ' at async PuppetWechat4u. (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:299:55)' } uncaughtException GError: query must provide at least one key. current query is empty. at PuppetWechat4u.contactQueryFilterFactory (file:///D:/test-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/contact-mixin.js:117:23) at PuppetWechat4u.contactSearch (file:///D:/test-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/contact-mixin.js:64:41) at async Function.findAll (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/user-modules/contact.js:129:35) at async Function.find (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/user-modules/contact.js:84:29) at async Promise.all (index 0) at async PuppetWechat4u. (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:299:55) { code: 2, details: 'Error: query must provide at least one key. current query is empty.\n' + ' at PuppetWechat4u.contactQueryFilterFactory (file:///D:/test-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/contact-mixin.js:117:23)\n' + ' at PuppetWechat4u.contactSearch (file:///D:/test-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/contact-mixin.js:64:41)\n' + ' at async Function.findAll (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/user-modules/contact.js:129:35)\n' + ' at async Function.find (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/user-modules/contact.js:84:29)\n' + ' at async Promise.all (index 0)\n' + ' at async PuppetWechat4u. (file:///D:/test-bot/node_modules/wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:299:55)' }