Iām pretty sure issue #6842 was fixed in Bun v1.0.32 or so and we forgot to mark the issue as fixed
Will check once I get to my computer
Edit: was not fixed. We made other changes to fs.readSync to improve Node compatibility, but missed this. It will get fixed though
I documented how to build a binary from a JS app with node, deno, and bun here [2]. Node SEA is a bad DX, but not that complex once you figure it out.
1: https://github.com/oven-sh/bun/issues/6832
2: https://github.com/llimllib/node-esbuild-executable