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

[Bug?]: Yarn bundle still added to repository even with Corepack enabled #4420

Closed
1 task done
srmagura opened this issue May 1, 2022 · 1 comment
Closed
1 task done
Labels
bug Something isn't working

Comments

@srmagura
Copy link

srmagura commented May 1, 2022

Self-service

  • I'd be willing to implement a fix

Describe the bug

Following the installation guide results in the Yarn JS bundle being added to your git repository, even though Corepack is supposed to make this unnecessary.

I'm not sure if this is a bug or if the documentation just needs to be tweaked.

To reproduce

Run the following:

mkdir yarn-init-repro
cd yarn-init-repro
corepack enable
yarn init -2

This produces the following:

image

Environment

System:
    OS: Linux 5.15 Ubuntu 22.04 LTS 22.04 (Jammy Jellyfish)
    CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor
  Binaries:
    Node: 16.15.0 - /tmp/xfs-8b61d4d8/node
    Yarn: 3.2.0 - /tmp/xfs-8b61d4d8/yarn
    npm: 8.8.0 - ~/.nvm/versions/node/v16.15.0/bin/npm

Additional context

No response

@srmagura srmagura added the bug Something isn't working label May 1, 2022
@merceyz
Copy link
Member

merceyz commented May 1, 2022

This is working as intended, however Yarn 4 will stop including the bundle if possible #4254.

@srmagura srmagura closed this as completed May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants