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

Bun Upgrade fails with Exit Code 4 #18066

Open
tonioloewald opened this issue Mar 11, 2025 · 3 comments
Open

Bun Upgrade fails with Exit Code 4 #18066

tonioloewald opened this issue Mar 11, 2025 · 3 comments
Labels
bug Something isn't working cli Something to do with CLI arguments

Comments

@tonioloewald
Copy link

What version of Bun is running?

1.0.35

What platform is your computer?

Darwin 21.6.0 x86_64 i386

What steps can reproduce the bug?

I just type bun upgrade and get this result:

...% bun upgrade
Bun v1.2.5 is out! You're on 1.0.35
error: failed to verify Bun (exit code: 4)

I've updated to the latest available release etc. restarted and I still get the error

What is the expected behavior?

A smooth upgrade per usual

What do you see instead?

See first comment.

Additional information

No response

@tonioloewald tonioloewald added bug Something isn't working needs triage labels Mar 11, 2025
@tonioloewald
Copy link
Author

I installed via curl and now when I run bun I get:

zsh: illegal hardware instruction  bun

@tonioloewald
Copy link
Author

bun 1.2.4

bash: line 175:  5234 Illegal instruction: 4  IS_BUN_AUTO_UPDATE=true $exe completions >&/dev/null

@tonioloewald
Copy link
Author

tonioloewald commented Mar 11, 2025

AFAICT the problem starts at 1.2.0. (v1.1.19 is working, 1.2.0 fails).

@RiskyMH RiskyMH added cli Something to do with CLI arguments and removed needs triage labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Something to do with CLI arguments
Projects
None yet
Development

No branches or pull requests

2 participants