-
Notifications
You must be signed in to change notification settings - Fork 1
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
[macOS arm64] Installation via bum use
fails with Reason: No such file or directory (os error 2)
#23
Comments
note that ~
❯ echo $BUM_INSTALL
/[$HOME]/.bum
~
❯ bum remove 1.1.21
"/[$HOME]/.bum/bun-versions/1.1.21"
v1.1.21 has been removed.
~
❯ bum remove 1.1.19
"/[$HOME]/.bum/bun-versions/1.1.19"
v1.1.19 has been removed.
~
❯ bum list
thread 'main' panicked at src/bun.rs:21:10:
Failed to execute bun -v, is bun installed?: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
~
❯ bum remove 1.1.20
"/[$HOME]/.bum/bun-versions/1.1.20"
v1.1.20 has been removed.
~
❯ ls ~/.bum/bun-versions
~
❯ but then no dice trying to re-install after remove ~
❯ bum use v1.1.21
Bum - installing bun for version 1.1.21...
Extracting zip file...
Failed Err(No such file or directory (os error 2))
~
❯ ls ~/.bum/bun-versions
1.1.21
~
❯
|
bum use
fails with Reason: No such file or directory (os error 2)
bum use
fails with Reason: No such file or directory (os error 2)
bum use
fails with Reason: No such file or directory (os error 2)
bum use
fails with Reason: No such file or directory (os error 2)
bum use
fails with Reason: No such file or directory (os error 2)
it seems to be to do with the usage of Line 87 in 67953aa
the folder note - i removed my i guess there would have to be a exists-or-create step similar to Line 66 in 67953aa
or i tried modifying the code locally to ensure the folder and it seemed to work ❯ bum use v1.1.21
bun used path "/$HOME/.bum/bun-versions/1.1.21/bun"
bun bin path "/$HOME/.bun/bin/bun"
no folder "/$HOME/.bun/bin", creating
Bun v1.1.21 is activated. |
I see that makes sense it might happen if the folder doesn’t exist but Do you want to raise PR for the fix? |
The installation script is still broken on my end :-/. Thanks to @kavsingh for the fix! |
Re-trying
bum
on macOS arm64 after #14 (comment)os:
macOS 14.5 (23F79)
chip:
M3 Max
installing
bum
went well~/.zshrc
was successfully updated:looked up latest available
bun
version, all goodhowever attempting to install a bun version failed
without the
v
❯ bum use 1.1.21 Bum - installing bun for version 1.1.21... Extracting zip file... Failed Err(No such file or directory (os error 2))
with the
v
❯ bum use v1.1.21 Bum - installing bun for version 1.1.21... Extracting zip file... Failed Err(No such file or directory (os error 2))
with backtrace
looking into
$HOME/.bum
also happens when attempting older versions of bun
The text was updated successfully, but these errors were encountered: