Skip to content

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

@j-mendez

Description

@j-mendez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions