-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
"Chromium revision is not downloaded." #954
Comments
It seems similar to this bug |
I suspect the docker image doesn't have chromium that matches the revision specified in the puppeteer |
I saw you are using the version of v0.11.40 which is not a stable version. Could you try the latest stable version 0.12 and see if your issue could be fixed? |
If you still have the problem, please run the following command and submit the output. docker run zixia/wechaty:0.12 doctor
docker run zixia/wechaty:0.12 test |
hi, encounter the same problem:( here's my steps: then my logs:
i have checked and tried all the issues and answers within "Chromium" but non is help: for example, i have run appreciate your help |
@kenshinsyrup It's weird. Could you please run BTW: we are not using chromedriver anymore. We are using puppetreer now. |
@zixia yeah it's weird, cause i can run this code in my linux machine... mybot.ts
package.json:
docker run -ti --rm zixia/wechaty test:
|
@kenshinsyrup If you can pass all the tests of the docker, could you try again to run It should work if you could pass the unit tests. If not, please let me know what' happened, and we should add more unit tests to test docker environment. |
@zixia all unit test passed, but still not work. i just tried again and here's logs:
mybot.ts:
package.json: appreciate your time |
Sorry but I can not reproduce it:
Could you use another server and try it again? |
@zixia OK,as I said, wechaty works fun in my another linux machine. Thanks a lot though, I'll keep an eye on my Mac. |
@kenshinsyrup Did you mean that you can run on your Linux server but cant run under MacOS? |
@zixia yes, all logs above are from my MacOS Version 10.13.1 (17B48) |
@kenshinsyrup Could you be able to reproduce your problem with another MacOS computer? If you could, then we can confirm that this issue as a BUG related to MacOS. |
@zixia sorry fot my late reply.
But, he said he could run the demo with npm successfully. |
Thanks for helping me to reproduce this issue on another Mac. I'll have a try by my self when I have time. |
I know how to reproduce it now If we haven't installed
|
@xinbenlv Thank you very much for providing the reproduce steps for this issue! I'll look into it when I have time. |
try cnpm |
npm install will remove all files in puppeteer node_module, but in my environment it download the chrome zip only once.Make sure the local-chromium was exsit?issues1103 |
This issue should not be a problem anymore because, with the latest [email protected] version, we had separated the puppeteer related code to its own npm module: wechaty-puppet-puppeteer. Please file a new issue if you have any problem with v0.20 or above. |
When running
npm start
in haoshiyou-bot we encountered the following errorProvide Your Network Information
Run
npm run doctor
orwechaty run doctor
(for docker user), paste output here// wechaty run doctor show
// npm run doctor
Expected behavior
Expect it to run bot
Actual behavior
Failed to even show login QR code
Steps to reproduce the behavior (and fixes, if any)
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: