-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Could not install cypress behind firewall - cannot read repository cypress-io/request.git #6752
Comments
@SirineBeji You said 'last few hours', but you mention using 3.8.0 - the latest release is 4.2.0, so which binary are you using? - Because the binary cannot and will not change on Cypress end, it is downloaded on your system and not affected by new releases. You have to download the new release to have changes. |
I have tried with 4.2.0 it is the same it is trying to checkout ssh://[email protected]/cypress-io/request.git . Do you know why we are getting this behaviour ? |
I also have a problem installing 4.2.0 by CYPRESS_INSTALL_BINARY. returning the same error. We are behind a firewall, so direct download is not permitted.
When I remove the package by hand and try it again, it hangs on the next one. |
I'm seeing this problem trying to create a multi-stage build of my app in a Docker container, using
Relevant section of logs:
Looks like a regression around handling of that env var in 4.2.0; the builds using 4.1.0 are still passing fine. |
I think this is related to this change in 4.2.0, but I'm not sure why: #6694 |
since the update to 4.2.0 i have an additional entry in my (yarn) lockfile
because my build is also behind a firewall, yarn tries to get to that url and fails... |
Yeah same as @Konstruktour , not sure it's related to this particular issue, but it's cumbersome for those who use Cypress this way |
Hi, we're having the same issue as well. Temporarily solved it by restricting the version as follows in package.json:
|
I think you need to have git installed to use direct git links. We have the same issue, trying to roll back to 4.1 |
i'm also facing same issue on cypress version 4.1.0 on a linux machine. After I removed cypress package from package.json, our jenkins jobs successfully deployed. |
That's strange, NPM should fall back to cloning the dependency via To avoid this, Cypress's |
Yeah we should publish it under @cypress/request and only use npm registry
…Sent from my iPhone
On Mar 18, 2020, at 15:51, Zach Bloomquist ***@***.***> wrote:
That's strange, NPM should fall back to cloning the dependency via https if ssh is not working on your machine. git may be required as well.
To avoid this, Cypress's request fork should be published to NPM, and then we don't need to ship with a GitHub-backed NPM dependency that causes these issues for some users.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
The code for this is done in cypress-io/cypress#6777, but has yet to be released. |
Even with 3.8.0 it is doing this... I'm on linux and we do the following |
@SirineBeji This should not happen in 3.8.0, ensure you are using 3.8.0 release zip. Is it the exact same error above mentioning Yes, this will be fixed in our next release estimated for Mar 30. |
@SirineBeji, you're not using 3.8.0 for the install, |
Any chance to hotfix this? It's kind of annoying for everyone behind proxies.. ;) Or what's the release plan? |
WorkaroundInstall Cypress 4.1.0 - that version does not have this issue. This will be fixed in our next release which is scheduled for Monday. |
@jennifer-shehane |
We release every 2 weeks, used to be on Friday - recently changed to Monday. We do releases sooner if something warrants a hotfix (aka something that does not have a workaround that is a blocker for enough users). Ways to know there is a new release:
There's likely some utilities out there you could find to notify you on Opened an issue in our docs to document this somewhere: cypress-io/cypress-documentation#2661 |
As you mention #6861 is duplicate for this issue. |
@errohitrana2013 Please double check that you have a single source of Cypress version (if using yarn, sometimes multiple versions can be defined) - that you're not overriding it with a binary version, that you clean your node_modules. It is impossible for this bug to appear in version 4.1.0 since the change to the |
I have change the version 👎 and executed this command
still same issue |
and i man not using yarn |
You need to change the cypress version in your Run:
|
Thanks jennifer. I have changed:- i used app version : 1.0.0 and 1.2.3. Both time same error. Error>0 info it worked if it ends with ok |
@errohitrana2013 that error is unrelated to Cypress generally or this issue specifically; your |
thanks very much. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior:
This command worked for me until few hours (I saw that there was a new release)
I get this error :
Desired behavior:
Normally it should unzip the zipped cypress and install and I see the package in node_modules. I don't know why it is looking for that github repo.
Versions
3.8.0
The text was updated successfully, but these errors were encountered: