Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sseventeen opened this issue Mar 22, 2023 · 5 comments

Comments

@sseventeen
Copy link

[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
Copy link
Author

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

@lijxug
Copy link
Contributor

lijxug commented Apr 3, 2023

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

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

@wangrongding
Copy link
Owner

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

@wangrongding wangrongding reopened this Apr 2, 2024
@wangrongding wangrongding pinned this issue Apr 2, 2024
@tmKnight01
Copy link

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

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)'
}

@wangrongding
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants