cypress: Could not install cypress behind firewall - cannot read repository cypress-io/request.git
Current behavior:
This command worked for me until few hours (I saw that there was a new release)
CYPRESS_INSTALL_BINARY=${path}/cypress.zip npm install cypress
I get this error :
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/cypress-io/request.git
npm ERR! Could not read from remote repository
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
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 5
- Comments: 29 (11 by maintainers)
Commits related to this issue
- Switch `request`, `request-promise` to `@cypress/` forks (#6777) — committed to cypress-io/cypress by flotwig 4 years ago
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:
cypress
npm versionThere’s likely some utilities out there you could find to notify you on
npm
release orGitHub
release.Opened an issue in our docs to document this somewhere: https://github.com/cypress-io/cypress-documentation/issues/2661
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…
I have change the version 👎 { “name”: “cypressautomation”, “version”: “4.1.0”, “description”: “”, “main”: “index.js”, “scripts”: { “test”: “echo "Error: no test specified" && exit 1” }, “author”: “”, “license”: “ISC” }
and executed this command
still same issue
Workaround
Install Cypress 4.1.0 - that version does not have this issue. This will be fixed in our next release which is scheduled for Monday.
@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
ssh://git@github.com/cypress-io/request.git
Yes, this will be fixed in our next release estimated for Mar 30.
Yeah we should publish it under @cypress/request and only use npm registry
Sent from my iPhone