-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Installing cypress through yarn / npm takes forever #7251
Comments
After downloading the first time, the binary should be cached so you don't need to install again until an upgrade. I live in asia also and it takes about 1min total to download, unzip, and install and I don't have the best internet download speed tbh. |
Hmmm. I have installed it multiple times today and I do not see any such issue. I was able to finish the process in 3-4 mins max. Are you behind any proxy? |
I'm also live in Indonesia. I'm using Indihome. After switching to Indosat network, cypress installation is reasonably fast. On Indihome, it stuck at 3%. |
thank you for the solution, so the problem is in the internet service provider |
But it could be the problem with the CDN right? i've seen similar old issue |
Closing as resolved. If you're experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix. |
Having the same issue. I am in South Africa |
Having the same issue. Sometimes it takes 3+ minutes which is unusual when running |
Same here - Central Europe |
We believe this issue to be a problem localized to the network where Cypress is installed under and not an issue directly with Cypress. |
@jennifer-shehane but i don't have any issue with another npm / yarn install |
Experiencing the same problem as well :(
@jennifer-shehane Are you able to provide more info on the issue, please? |
I have the same issue on my windows + wsl environment, but it seems to work fine on just my windows. On windows, it only takes a few seconds. Any ideas where I can start looking for a solution?
|
Cleared yarn cache, tried, tried at other times, in other weeks, days, ... but Cloudflare is a complete snail. Around 1mbit/s at best, with a 100mbit/s downlink. Other sites deliver as expected. Cloudflare does NOT. Also happens on corporate intranet, so I'm now looking to migrate projects away from cypress, as it is unuseable in CI environments as well as on local dev systems. |
@thediveo @paul-vd There is a workaround:
❗ EDIT ❗ A better solution (to allow Cypress to "autodetect" the appropriate platform/ use version from package.json) would probably be to set a mirror url and upload binaries for the required platforms/versions |
I'll join the crowd. I download a lot of npm packages without any issues, but every time I try to upgrade If I cancel, it will show the status something like this: I can't imagine what in Cypress would be the problem, but I just know this is the only package I see this with. fast.com download speeds > 25Mbps. The install just finished after nearly 40 minutes. |
@BlessTheBoy @BasixKOR @jps @tim-rohrer it seems Cypress team won't fix the issue 😞 |
Download from this repo. Click tab 'Code' > 'Releases' > choose latest zip released. ;) |
I had the same issue but the network speed was the issue and later on cypress was installed successfully . |
Doesn't sound like the same issue. At least in my case, the network & speeds were good. |
Current behavior:
I tried to install cypress through yarn / npm but it just takes forever, sometimes it works sometimes not, after googling an issue 1188 happened also in installing binary from korea , my location right now in indonesia. is this has any correlation with asia area? this is really drives me crazy. my connection is just fine
Desired behavior:
I just want it can be installed smoothly. not sometimes can be installed, sometimes not.
Test code to reproduce
yarn add cypress --dev or
npm install cypress --save-dev
Versions
cypress 4.5.0, mac os catalina 10.15.4, google chrome
The text was updated successfully, but these errors were encountered: