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

Access cypress CLI from Global Mode #1131

Closed
RandallKent opened this issue Dec 26, 2017 · 3 comments
Closed

Access cypress CLI from Global Mode #1131

RandallKent opened this issue Dec 26, 2017 · 3 comments
Labels
type: user experience Improvements needed for UX

Comments

@RandallKent
Copy link
Contributor

Currently, when a user directly downloads Cypress and runs in Global Mode, they don't have access to run Cypress headlessly/via CLI.

This can create a bit of confusion when a user follows documentation on running Cypress headlessly or when setting up projects to record runs as the call to action points the user to run a command.

@Knaledge
Copy link

@brian-mann - what is the ETA on this, if any? I just ran into this (I believe) last night and it would be unfortunate to see global installation remain as seemingly dusty and underappreciated as it is.

@jennifer-shehane jennifer-shehane added the stage: proposal 💡 No work has been done of this issue label Jul 26, 2018
@brian-mann
Copy link
Member

@Knaledge what exactly would you like to do from global mode?

The biggest reason people were installing Cypress globally was because it was reinstall the large binary for each project. Now we cache the binary so it's not longer an issue.

I'm not sure how we could feasibly make CLI runs work when Cypress is already open - it kind of doesn't make sense. It needs to be run from the CLI in order to do that.

As long as you install this as a regular NPM module and run it from the CLI all should be good.

@jennifer-shehane
Copy link
Member

We've since implemented a message preventing users from recording runs to the Dashboard from a direct download of Cypress and recommend they install Cypress as an npm dependency.

@jennifer-shehane jennifer-shehane removed the stage: proposal 💡 No work has been done of this issue label Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: user experience Improvements needed for UX
Projects
None yet
Development

No branches or pull requests

4 participants