wechat-bot icon indicating copy to clipboard operation
wechat-bot copied to clipboard

之前成功了,现在使用报错不出现二维码,提示uncaughtException AssertionError [ERR_ASSERTION]: 1102 == 0

Open sseventeen opened this issue 1 year ago • 7 comments

[email protected] dev node ./index.js

Start to log in wechat... uncaughtException AssertionError [ERR_ASSERTION]: 1102 == 0 at Object.equal (D:\wechatbot\wechat-bot-main\wechat-bot-main\node_modules\wechat4u\lib\util\global.js:69:24) at D:\wechatbot\wechat-bot-main\wechat-bot-main\node_modules\wechat4u\lib\core.js:227:24 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 2, details: 'AssertionError [ERR_ASSERTION]: 1102 == 0\n' + ' at Object.equal (D:\wechatbot\wechat-bot-main\wechat-bot-main\node_modules\wechat4u\lib\util\global.js:69:24)\n' + ' at D:\wechatbot\wechat-bot-main\wechat-bot-main\node_modules\wechat4u\lib\core.js:227:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)' }

sseventeen avatar Mar 22 '23 03:03 sseventeen

有没有大神知道怎么解决?求助求助

sseventeen avatar Mar 22 '23 03:03 sseventeen

有没有大神知道怎么解决?求助求助

你解决了吗?怎么解决的?求教

lijxug avatar Apr 03 '23 07:04 lijxug

删除项目目录下的临时文件 WechatEveryDay.memory-card.json 即可

wangrongding avatar Apr 02 '24 14:04 wangrongding

没有用 删除之后还是会自动生成

onScan: https://api.qrserver.com/v1/create-qr-code/?data= Waiting 2 11:58:38 INFO onScan: 3(undefined) Scanned bot error❌: AssertionError [ERR_ASSERTION]: 1 == 0 at Object.equal (/Users/xin/Desktop/wechatGPT/wechat-bot/node_modules/wechat4u/lib/util/global.js:69:24) at /Users/xin/Desktop/wechatGPT/wechat-bot/node_modules/wechat4u/lib/core.js:229:24 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 2, details: 'AssertionError [ERR_ASSERTION]: 1 == 0\n' + ' at Object.equal (/Users/xin/Desktop/wechatGPT/wechat-bot/node_modules/wechat4u/lib/util/global.js:69:24)\n' + ' at /Users/xin/Desktop/wechatGPT/wechat-bot/node_modules/wechat4u/lib/core.js:229:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)' }

tmKnight01 avatar Apr 10 '24 04:04 tmKnight01

肯定会自动生成的,我的意思是出问题的原因是你这个文件有问题,删除重新启动服务即可

wangrongding avatar Apr 10 '24 07:04 wangrongding