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

Migrate away from Yarn 1 (Classic) as package manager #1423

Open
MikeMcC399 opened this issue Oct 30, 2023 · 3 comments
Open

Migrate away from Yarn 1 (Classic) as package manager #1423

MikeMcC399 opened this issue Oct 30, 2023 · 3 comments

Comments

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Oct 30, 2023

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 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry"

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.

@jennifer-shehane
Copy link
Member

Welcome to any PRs to update this

@MikeMcC399
Copy link
Contributor Author

MikeMcC399 commented Jan 6, 2024

@jennifer-shehane

Related issues that @astone123 raised are:

See also

It may be difficult to migrate before these issues are addressed.

@MikeMcC399
Copy link
Contributor Author

npm

Attempting to migrate from Yarn Classic to npm hits the problem

The deprecated @material-ui/core@4.12.4 requires react@"^16.8.0 || ^17.0.0", whereas this project is using react@"18.2.0".

Yarn Modern

After migrating from Yarn Classic to Yarn Modern (4.1.0) executing yarn dev crashes with

[start:api:watch] Error: Cannot find module '../src/aws-exports'
[start:api:watch] [nodemon] app crashed - waiting for file changes before starting...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants