bun
bun copied to clipboard
[bun compile] cannot execute: required file not found
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?
- Compile any code (in my case for a Raspberry Pi):
bun build --compile --target=bun-linux-arm64 ./main.js --outfile app
- Install fresh Alpine Linux on a Raspberry Pi and copy over the compiled binary, try to run it
- 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