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

Show warning when binary is run directly (outside npm module) #4701

Merged
merged 14 commits into from
Jul 29, 2019

Conversation

jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Jul 12, 2019

We now pass —run-from-cli from NPM package to the binary, so if a user passes arguments to the binary itself in CI, an error will display

It looks like you are running the Cypress binary directly.

This is not the recommended approach, and Cypress may not work correctly.

Please install the 'cypress' NPM package and follow the instructions here:
      
  https://on.cypress.io/installing-cypress

brian-mann
brian-mann previously approved these changes Jul 29, 2019
@brian-mann brian-mann merged commit a7dfda9 into develop Jul 29, 2019
@emilyrohrbough emilyrohrbough deleted the cli-started-cypress-1573-fix branch August 1, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show warning when running binary directly and not from NPM module
2 participants