Cypress app gets not installed when dependency is added using yarn
See original GitHub issue- Operating System: OSX 10.12.6
- Cypress Version: 0.20
- Browser Version: n/a
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
$ yarn add -D cypress
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 with yarn
so that it can be opened immediately.
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Installing - Cypress Documentation
This will install Cypress locally as a dev dependency for your project. Make sure that you have already run npm init or have...
Read more >Install dependencies error for cypress-realworld-app application
I cloned the cypress-realworld-app, and I'm facing an error on the terminal during the yarn install command
Read more >@applitools/eyes.cypress | Yarn - Package Manager
Install npm package. Install Eyes.Cypress as a local dev dependency in your tested project: npm install --save-dev @applitools/eyes.cypress ...
Read more >Installing Cypress - w3resource
In this tutorial we will show you how to install Cypress via npm, yarn. We will also show you how to install Cypress...
Read more >@cypress/github-action - npm
If the project has many dependencies, but you want to install just Cypress you can combine this action with actions/cache and npm i...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@luhmann that error appears to be coming from our old CLI tools which have been deprecated / removed.
Please uninstall them with
npm uninstall -g cypress-cli
There’s no reason to ever use that package again.
I’m having the same issue.
Node:
8.6.0
Yarn:1.1.0
(latest)Installing via NPM is fine, but with yarn the
node index.js --exec install
fails