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

run contact-bot throw error #1319

Closed
lijiarui opened this issue Jun 13, 2018 · 2 comments
Closed

run contact-bot throw error #1319

lijiarui opened this issue Jun 13, 2018 · 2 comments
Assignees
Labels

Comments

@lijiarui
Copy link
Member

Wechaty version: 0.15.150

run example/contact-bot.ts, restart this code and get the following error:

18:39:44 VERB PuppetPadchat contactAvatar(D_70819983, )
18:39:44 ERR Config ###########################
18:39:44 ERR Config unhandledRejection: Error: save(/Users/egg/git/rui/wechaty/0) file is already exist! [object Promise]
18:39:44 ERR Config ###########################
18:39:44 ERR Config process.on(unhandledRejection) promise.catch(save(/Users/egg/git/rui/wechaty/0) file is already exist!)
Config Error: save(/Users/egg/git/rui/wechaty/0) file is already exist!
    at FileBox.<anonymous> (/Users/egg/git/rui/wechaty/node_modules/file-box/src/file-box.ts:383:13)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/egg/git/rui/wechaty/node_modules/file-box/dist/src/file-box.js:4:58)
(node:16625) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
18:39:55 SILL PuppetPadchatManager syncContactsAndRooms() syncing 52 out of Contact(257) & Room(113) ...
@huan
Copy link
Member

huan commented Jun 13, 2018

Please confirm the fix.

@huan huan removed their assignment Jun 13, 2018
@lijiarui
Copy link
Member Author

the error fix, but it got a new error: see more in #1332

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

No branches or pull requests

2 participants