-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Cypress app gets not installed when dependency is added using yarn #633
Comments
Hmm, we use |
Might be related to Yarn bug yarnpkg/yarn#853 |
I had a problem with adding package to my project devDependencies by:
which returned error Couldn't find package "@cypress/listr-verbose-renderer" on the "npm" registry. In my case it has been solved with:
|
Hmm, that looks weird, why wouldn't it find |
@bahmutov yarn v0.24.6 |
Can you take a look at https://github.com/cypress-io/cypress-test-node-versions ? We are testing Cypress against Node v8 and Yarn v1.0.1 successfully. This is the test run: https://circleci.com/gh/cypress-io/cypress-test-node-versions/139 |
Works with yarn |
I yesterday upgraded Yarn to |
I'm having the same issue. Node: Installing via NPM is fine, but with yarn the
|
@tonydaly can you try |
I'm having the same issue. Node: Steps to reproduce
Result -Error-
The Cypress App could not be found.
Expected the app to be found here: /Applications/Cypress.app
To fix this do (one) of the following:
1. Reinstall Cypress with: cypress install
2. If Cypress is stored in another location, move it to the expected location Doing the recommended You are trying to install the latest version of Cypress.
This CLI tool is deprecated and can no longer install versions of Cypress above 0.19.4.
For newer versions, please use the new cypress npm module.
See https://on.cypress.io/installing-cypress for details Installation with npm 5.4.2 is successful and |
@luhmann that error appears to be coming from our old CLI tools which have been deprecated / removed. Please uninstall them with There's no reason to ever use that package again. |
@brian-mann That fixed it. Thx for the quick response! |
Had similar issue, getting following error while running yarn install and having "cypress" dependency in package.json: error Couldn't find package "@cypress/listr-verbose-renderer" on the "npm" registry. The reason was that in yarn global config I had our company's registry as a default one. So, adding “@cypress:registry” “https://registry.npmjs.org/” to .yarnrc and to .npmrc solved the issue. |
Is this a Feature or Bug?
Bug
Current behavior:
I already have a working Cypress project and I upgraded to 0.20 by reinstalling it locally using
yarn
Calling
npm cypress:open
(=./node_modules/.bin/cypress open
) gives the error that Cypress is not installed yet. I have to install Cypress manually by calling./node_modules/.bin/cypress install
.Desired behavior:
I want
cypress install
to trigger automatically after adding withyarn
so that it can be opened immediately.The text was updated successfully, but these errors were encountered: