wangrongding / wechat-bot

🤖一个基于 WeChaty 结合 OpenAi ChatGPT / Kimi / 讯飞等Ai服务实现的微信机器人 ,可以用来帮助你自动回复微信消息,或者管理微信群/好友,检测僵尸粉等...
MIT License
4.34k stars 652 forks source link

成功登录,但是会报错 #178

Open LAOZTK opened 1 month ago

LAOZTK commented 1 month ago

Current time:Wed May 29 2024 11:24:20 GMT+0800 (中国标准时间) Automatic robot chat mode has been activated bot error❌: AssertionError [ERR_ASSERTION]: -1 == 0 at Object.equal (D:\wechat-bot-main\node_modules\wechat4u\lib\util\global.js:69:24) at D:\wechat-bot-main\node_modules\wechat4u\lib\core.js:326:24 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 1) { code: 2, details: 'AssertionError [ERR_ASSERTION]: -1 == 0\n' + ' at Object.equal (D:\wechat-bot-main\node_modules\wechat4u\lib\util\global.js:69:24)\n' + ' at D:\wechat-bot-main\node_modules\wechat4u\lib\core.js:326:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async Promise.all (index 1)' } ❌ 程序退出,请重新运行程序

LAOZTK commented 1 month ago

上面的错误是最新的代码出现的

切换到release的版本 可以登录,但是会出现 uncaughtException AssertionError [ERR_ASSERTION]: -1 == 0 at Object.equal (D:\wechat-bot-0.0.2\node_modules\wechat4u\lib\util\global.js:69:24) at D:\wechat-bot-0.0.2\node_modules\wechat4u\lib\core.js:326:24 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 1) { code: 2, details: 'AssertionError [ERR_ASSERTION]: -1 == 0\n' + ' at Object.equal (D:\wechat-bot-0.0.2\node_modules\wechat4u\lib\util\global.js:69:24)\n' + ' at D:\wechat-bot-0.0.2\node_modules\wechat4u\lib\core.js:326:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async Promise.all (index 1)' } uncaughtException AssertionError [ERR_ASSERTION]: -1 == 0 at Object.equal (D:\wechat-bot-0.0.2\node_modules\wechat4u\lib\util\global.js:69:24) at D:\wechat-bot-0.0.2\node_modules\wechat4u\lib\core.js:326:24 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 1) { code: 2, details: 'AssertionError [ERR_ASSERTION]: -1 == 0\n' + ' at Object.equal (D:\wechat-bot-0.0.2\node_modules\wechat4u\lib\util\global.js:69:24)\n' + ' at D:\wechat-bot-0.0.2\node_modules\wechat4u\lib\core.js:326:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async Promise.all (index 1)' }

fuuuc commented 2 weeks ago

请问解决了吗