-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Can not download chrome at Launch() #12
Comments
That's a sad story 😂. Actually you can config the revision like this: chrome := launcher.NewChrome()
chrome.Revision = "whatever you want"
bin, err := chrome.Get()
kit.E(err)
l := launcher.New().Bin(bin).Launch() Or just set the |
Seems like they only keep syncing the revision that Maybe we should find a better mirror. BTW, if you installed the chrome on your local, it should work properly without downloading a new one. So you don't use the default location to install Chrome right? |
Anyway, I'll fix it and add a unit test for China. It shouldn't happen again. |
Published |
Now it works fine. |
Describe the bug
Can not download chrome at Launch()
To Reproduce
Do not set launcher Bin , then it will download chrome.I am from china, the download url will forward taobao.org , but it is not download success.
Expected behavior
opening zip archive for reading: creating reader: zip: not a valid zip file[rod/lib/launcher] Download chromium from: https://npm.taobao.org/mirrors/chromium-browser-snapshots/Win/757680/chrome-win.zip [rod/lib/launcher]
I saw the dictionary https://npm.taobao.org/mirrors/chromium-browser-snapshots/Win/, does not have the version 757680,the latest is 737027.
Rod Version: v0.26.1
OS: Windows
The text was updated successfully, but these errors were encountered: