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

Perf issue: npm/yarn download all platform builds! #2949

Closed
AliMD opened this issue Feb 24, 2023 · 3 comments
Closed

Perf issue: npm/yarn download all platform builds! #2949

AliMD opened this issue Feb 24, 2023 · 3 comments

Comments

@AliMD
Copy link

AliMD commented Feb 24, 2023

Hi @evanw, thanks to make and publish this great tools.

I have to wait a long time to download all the platform builds every week to update esbuild!
Is there a way to solve this problem?
Thank you in advance.

@AliMD
Copy link
Author

AliMD commented Feb 24, 2023

uname -a
Darwin Alis-MacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64 x86_64

yarn install after upgrade package.json to latest version by github action

Screen Shot 2023-02-24 at 11 53 20 PM

@evanw
Copy link
Owner

evanw commented Feb 24, 2023

This was a bug with Yarn: yarnpkg/berry#3317. It was fixed in 2021: yarnpkg/berry#3575. You need to use a newer version of Yarn to pick up the fix.

@AliMD
Copy link
Author

AliMD commented Feb 25, 2023

Unfortunately, I still don't use Berry! And I don't have enough time budget for updating right now.

Thanks for the quick response. It's amazing to me that you still have enough time to support and answer questions despite your huge workload. Please, if you get a chance, teach us some tips in the form of a simple article 😄

@AliMD AliMD closed this as completed Feb 25, 2023
kodiakhq bot pushed a commit to vercel/vercel that referenced this issue Feb 8, 2024
…d from `yarn` to `npm` (gated behind feature flag) (#11131)

This PR changes the default package manager from `yarn` to `npm` in the case that no lockfile is present.

Many years ago when `yarn` was first released, it was much faster than `npm` so we used it by default. That is no longer the case today and `yarn@1` is no longer receiving new features.

For example, `sharp` and `esbuild` no longer works with `yarn@1`:


### Related

- lovell/sharp#3750
- evanw/esbuild#2949

Note that this change will not impact most projects because most used a lockfile.
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

2 participants