-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
How to run the new v0.17 wechaty? #1440
Comments
You are lucky that I had just rewrite our getting-started repository at https://github.com/lijiarui/wechaty-getting-started Please try to follow README over there, I believe you can get your bot up very quickly. If you still have any issue with the getting-started repo, please leave a reply in this thread, so that I'll be able to help you to fix that. |
Sweet! Yep, it works out of the box just fine! Thanks for providing such "for dummy" version of the getting-started guide! |
You are welcome. |
I gave it a try, but it seems to be worse:
FTR, here is how I did the upgrade:
|
Sorry, I'm testing the Wechaty with the default puppet with Please try to use PuppetPuppeteer by: WECHATY_PUPPET=puppeteer npm start Please let me know if it works, thanks. |
Oh, thanks for the swift reply. still not working, basically same error
|
Please do rm -fr node_modules
rm -f package-lock.json
npm install Then try again. |
would that install wechaty v0.14 or v0.17? I presume it'll be v0.14, right? |
No, that should install wechaty@0.17 because you should already save the wechaty@next to the package.json. There's a bug(I just created) in Wechaty that will cause this issue, the workaround is to install the latest version of node_modules by hand. |
Gotya. thx. Just tried it, still no go:
|
Sorry for that. Please do a npm i wechaty-puppet@latest
npm i wechaty-puppet-puppeteer@latest then try again. I believe this time it should work. |
The good news is that I got the
Good thing is that it can resume by itself:
I'll try back |
Yep, So, so far all WECHATY_PUPPET types I tested are working. Super! |
Thank you very much! |
Just that with |
Yes, that's depends the server implementation. What our puppet did is only to follow the protocol and react as needed. |
I just followed the above instruction to do a fresh installation on a brand-new machine, but got:
Does |
That's a problem that the puppeteer must start chrome to provide it's function. So you need to install all the libraries that the chrome is required first. |
Ah~~~, gotya! Make sense. ... and yes, it is working now. |
Provide Your Network Information
Problem
Having went through the following,
FAQ part : https://github.com/Chatie/wechaty/wiki/FAQ#11-how-to-run-a-new-wecahty-puppet-padchat
Puppet part: https://github.com/Chatie/wechaty/wiki/Puppet#2-run
I'm still unable to make the new v0.17 wechaty working for me.
examples
are just the examples from github.com/Chatie/wechaty latest git.Full Output Logs
Show Logs
Paste the full output logs here with
WECHATY_LOG=silly
setThe text was updated successfully, but these errors were encountered: