You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
错误信息:
[ERROR] 16:13:51 Error: Wechaty Puppet Unsupported API Error. Learn More At https://github.com/wechaty/wechaty-puppet/wiki/Compatibility
uncaughtException Error: Wechaty Puppet Unsupported API Error. Learn More At https://github.com/wechaty/wechaty-puppet/wiki/Compatibility
at Object.throwUnsupportedError (D:\workspace\wechat-assistance\node_modules\wechaty-puppet\src\throw-unsupported-error.ts:4:9)
at PuppetWechat4u.friendshipSearchPhone (D:\workspace\wechat-assistance\node_modules\wechaty-puppet-wechat4u\src\puppet-wechat4u.ts:1027:19)
at PuppetWechat4u.friendshipSearch (D:\workspace\wechat-assistance\node_modules\wechaty-puppet\src\mixins\friendship-mixin.ts:69:21)
at Function.search (D:\workspace\wechat-assistance\node_modules\wechaty\src\user-modules\friendship.ts:103:49)
at addFriend (D:\workspace\wechat-assistance\bot.ts:4:40)
at Timeout._onTimeout (D:\workspace\wechat-assistance\bot.ts:20:7)
at listOnTimeout (node:internal/timers:564:17)
at processTimers (node:internal/timers:507:7)
麻烦大佬帮忙看一下
The text was updated successfully, but these errors were encountered:
环境信息:
win10
node 18.12.1
wechaty 1.20.2
typescript 5.1.6
ts-node-dev 2.0.0
我的代码:
扫码登录后,addFriend中的
const contact = await bot.Friendship.search({ phone })
报错错误信息:
[ERROR] 16:13:51 Error: Wechaty Puppet Unsupported API Error. Learn More At https://github.com/wechaty/wechaty-puppet/wiki/Compatibility
uncaughtException Error: Wechaty Puppet Unsupported API Error. Learn More At https://github.com/wechaty/wechaty-puppet/wiki/Compatibility
at Object.throwUnsupportedError (D:\workspace\wechat-assistance\node_modules\wechaty-puppet\src\throw-unsupported-error.ts:4:9)
at PuppetWechat4u.friendshipSearchPhone (D:\workspace\wechat-assistance\node_modules\wechaty-puppet-wechat4u\src\puppet-wechat4u.ts:1027:19)
at PuppetWechat4u.friendshipSearch (D:\workspace\wechat-assistance\node_modules\wechaty-puppet\src\mixins\friendship-mixin.ts:69:21)
at Function.search (D:\workspace\wechat-assistance\node_modules\wechaty\src\user-modules\friendship.ts:103:49)
at addFriend (D:\workspace\wechat-assistance\bot.ts:4:40)
at Timeout._onTimeout (D:\workspace\wechat-assistance\bot.ts:20:7)
at listOnTimeout (node:internal/timers:564:17)
at processTimers (node:internal/timers:507:7)
麻烦大佬帮忙看一下
The text was updated successfully, but these errors were encountered: