-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
bunx bug: @latest
doesn't pull latest from registry
#4989
Comments
Yeah, we need to fix this. bunx uses the cached version if it exists locally and clears only when /tmp is cleared. It needs to not do that when a tag is used (bun create uses bunx) |
Jarred-Sumner
changed the title
bug:
bunx bug: Sep 11, 2023
@latest
doesn't pull latest from registry@latest
doesn't pull latest from registry
Fixed in #5346. Thanks 🙏 |
According to #6741, this may have not been fully fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Bun is running?
1.0.0
What platform is your computer?
Darwin 22.5.0 arm64 arm
What steps can reproduce the bug?
I'm not sure if this is easily reproducable since it's dependant on what package version you have installed locally, but for me I ran
bunx create-t3-app
and got7.19
, appending@latest
didn't seem to make a difference which it does for at least npm and pnpm (it forces a pull from registry instead of using local version)What is the expected behavior?
Appending
@latest
to the package name should force bun to pull latest from registrybunx create-t3-app@latest
should retrieve7.20.0
instead of7.19.0
(I'm guessing it will for everyone after a while???, but@latest
should force it)What do you see instead?
I got an old version of the executable. Not even after i ran
7.20.0
explicitely does it use that for future runsAdditional information
No response
The text was updated successfully, but these errors were encountered: