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

Git error while installing cypress-cli #124

Closed
shauvik opened this issue Apr 22, 2016 · 2 comments
Closed

Git error while installing cypress-cli #124

shauvik opened this issue Apr 22, 2016 · 2 comments
Assignees
Labels
cli type: enhancement Requested enhancement of existing feature
Milestone

Comments

@shauvik
Copy link

shauvik commented Apr 22, 2016

cypress-cli needs git to be installed for fetching node-xvfb but after installing git, i get this error.
IMO it should just fetch the dependency from github/release instead of checking it out.

# npm install -g cypress-cli
npm WARN addRemoteGit Error: Command failed: git config --get remote.origin.url
npm WARN addRemoteGit 
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:213:12)
npm WARN addRemoteGit     at emitTwo (events.js:87:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:172:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:827:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
npm WARN addRemoteGit  cypress-io/node-xvfb resetting remote /root/.npm/_git-remotes/git-github-com-cypress-io-node-xvfb-git-7b167375 because of error: { [Error: Command failed: git config --get remote.origin.url
npm WARN addRemoteGit ]
npm WARN addRemoteGit   killed: false,
npm WARN addRemoteGit   code: 1,
npm WARN addRemoteGit   signal: null,
npm WARN addRemoteGit   cmd: 'git config --get remote.origin.url' }
/usr/bin/cypress -> /usr/lib/node_modules/cypress-cli/bin/cypress
[email protected] /usr/lib/node_modules/cypress-cli
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected]
@jennifer-shehane jennifer-shehane added the type: enhancement Requested enhancement of existing feature label May 6, 2016
@brian-mann brian-mann assigned bahmutov and unassigned brian-mann Jun 22, 2017
@RandallKent
Copy link
Contributor

The code for this is done, but this has yet to be released. We'll update the issue and reference the changelog when it's released.

@brian-mann
Copy link
Member

Fixed in 0.20.0

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Dec 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

No branches or pull requests

5 participants