Skip to content
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 using a private registry (Artifactory) #6877

Closed
kobimantzur opened this issue Mar 29, 2020 · 4 comments
Closed

Installing Cypress using a private registry (Artifactory) #6877

kobimantzur opened this issue Mar 29, 2020 · 4 comments
Labels
type: duplicate This issue or pull request already exists

Comments

@kobimantzur
Copy link

kobimantzur commented Mar 29, 2020

Current behavior:

Cypress install fails when serving it from a private registry (Artifactory).
The package relies on the version of "request" that exists on github/cypress-io instead of npmjs latest version.

We have no option to whitelist Github on the server that tries to install Cypress.

npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://[email protected]/cypress-io/request.git
npm ERR!
npm ERR! ssh: connect to host github.com port 22: Connection refused
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kobi.mantzur/.npm/_logs/2020-03-29T10_30_12_999Z-debug.log

Desired behavior:

Fetch Request from npmjs, it will allow us to store it in Artifactory like the rest of the dependencies of Cypress.

Versions

Cypress Version: 4.2.0
OS: CentOS Linux 7 (Core)

@mbarzeev
Copy link

+1
Having a dependency on Github fork presents security risks.

@alonseg
Copy link

alonseg commented Mar 30, 2020

+1

@ariglasser
Copy link

+1 A must-have feature

@kobimantzur kobimantzur changed the title Installing Cypress behind private registry (Artifactory) Installing Cypress using a private registry (Artifactory) Mar 30, 2020
@jennifer-shehane
Copy link
Member

Duplicate of #6752. The fix for this will be released today in our 4.3.0 release.

@jennifer-shehane jennifer-shehane added the type: duplicate This issue or pull request already exists label Mar 30, 2020
@cypress-io cypress-io locked as off-topic and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants