You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.
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.
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.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Couldn't find package "@cypress/xvfb" 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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@fvanwijk commented on Tue Sep 12 2017
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.@bahmutov commented on Tue Sep 12 2017
Hmm, we use
postinstall
script to actually install the binary@bahmutov commented on Wed Sep 13 2017
Might be related to Yarn bug yarnpkg/yarn#853
The text was updated successfully, but these errors were encountered: