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 compile] cannot execute: required file not found #10989

Closed
cfpwastaken opened this issue May 10, 2024 · 1 comment
Closed

[bun compile] cannot execute: required file not found #10989

cfpwastaken opened this issue May 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cfpwastaken
Copy link

What version of Bun is running?

1.1.8+89d25807f

What platform is your computer?

Linux 6.8.7-arch1-1 x86_64 unknown

What steps can reproduce the bug?

  1. Compile any code (in my case for a Raspberry Pi): bun build --compile --target=bun-linux-arm64 ./main.js --outfile app
  2. Install fresh Alpine Linux on a Raspberry Pi and copy over the compiled binary, try to run it
  3. See the error

What is the expected behavior?

It should run my app.

What do you see instead?

Ash says: "not found"
Bash says: "cannot execute: required file not found"

Additional information

I did make sure it has chmod +x

@cfpwastaken cfpwastaken added the bug Something isn't working label May 10, 2024
@cfpwastaken
Copy link
Author

This is actually because bun doesn't support musl sadly. ):

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