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 telemetry blocks the CLI for 10 minutes in corporate networks #6271

Open
1 task
DrLuke opened this issue May 3, 2024 · 0 comments
Open
1 task
Labels
bug Something isn't working

Comments

@DrLuke
Copy link

DrLuke commented May 3, 2024

Self-service

  • I'd be willing to implement a fix

Describe the bug

When running yarn in a locked down network, I had the issue that running yarn install would output nothing for 10 minutes and then perform the install normally. There is no indication of what errors occured in the console, and there is no verbose output available to identify the problem. After using tcpdump to see what's going on I have found the culprit: Yarn is collecting telemetry!

This needs a way shorter timeout and console output on failure, maybe with a hint on how to disable it when it fails. Also yarn desperately needs verbose output, it's frustrating how much time I've lost due to lacking error messages.

To reproduce

Run yarn install in a network that can't connect to repo.yarnpkg.com

Environment

`
$ node -v
v18.20.2
$ yarn --version
4.1.1


### Additional context

_No response_
@DrLuke DrLuke added the bug Something isn't working label May 3, 2024
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

1 participant