-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Migrate away from Yarn 1 (Classic) as package manager #1423
Comments
Welcome to any PRs to update this |
Related issues that @astone123 raised are:
See also It may be difficult to migrate before these issues are addressed. |
npm
Yarn Modern
|
Yarn ModernI revisited this and it seems that the issues were caused by the hierarchy of lifecycle scripts not executing as expected. The following set of commands, with a workaround, does however allow both E2E and Component Testing to work under Yarn yarn set version stable
yarn
yarn copy:mock:awsexports && yarn copy:mock:awsexportses5 # workaround for lifecycle script issues
yarn dev Wait until message "Backend server running at http://localhost:3001" appears, then execute in a separate terminal: yarn cypress:run
yarn cypress:run:component |
Feature
Migrate away from Yarn Classic v1 as package manager. This could be to Yarn Modern v4 or to npm.
Reason
Yarn 1 (Classic) is stated to be frozen. The Yarn 1 GitHub repo contains the "About" text:
The cypress-io/cypress-realworld-app should be based on current and supported technologies in order to provide a useful example of Cypress in practice.
The text was updated successfully, but these errors were encountered: