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

yarn config with the current script yarn-4.3.1.cjs breaks `.yarnrc.yml #371

Open
j-mendez opened this issue Jul 20, 2024 · 0 comments
Open

Comments

@j-mendez
Copy link

j-mendez commented Jul 20, 2024

When running the command yarn config set supportedArchitectures.cpu "arm" the following will format the file incorrectly:

nodeLinker: node-modules
    
    npmAuditRegistry: "https://registry.npmjs.org"
    
    supportedArchitectures:
      cpu: arm
    
    yarnPath: .yarn/releases/yarn-4.3.1.cjs

The script in yarn-4.3.1.cjs does not format the modules correctly across all systems.

Locally and on the github action.

github action trying to re-configure the yarn rc running the command yarn config set supportedArchitectures.libc "musl".

It works when using yarn-3.6.4.cjs.

yarn config set supportedArchitectures.cpu "arm" - working in terminal using yarn-3.6.4

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

No branches or pull requests

1 participant