Bun Installation Fails With Sharp Package
12 posts since Aug 2024, all from GitHub.
“What is the problem this feature would solve? There's no way to configure custom package.json export conditions in bunfig.toml. The conditions CLI flag exists for bun run / bun build , but having to pass it to every command is tedious in monorepos that rely on a custom condition…”
“What version of Bun is running? 1.3.10+30e609e08 What platform is your computer? Darwin 25.3.0 arm64 arm What steps can reproduce the bug? https://github.com/ScreamZ/websocket issue safari repro Take one iphone with safari browser on same wifi network Launch bun run dev:same…”
“What is the problem this feature would solve? OpenClaw does not support Bun due to some compatibility bugs. https://github.com/openclaw/openclaw.ai/issues/65 What is the feature you are proposing to solve the problem? Bun designed as a drop in replacement for Node.js, should at…”
Users are encountering issues where Bun fails to install platform-specific binaries for packages like 'sharp'. This often requires manual intervention using npm with platform and architecture flags to resolve the problem, indicating a limitation in Bun's automatic binary resolution.
SOURCES (12)
“What version of Bun is running? 1.4.0 canary.1+bcad9b220 What platform is your computer? Linux 6.12.86+deb13 amd64 x86 64 x86 64 What steps can reproduce the bug? Hi, I would like to report a behavior in Bun that can be reproduced using the below snippet: What…”
“What version of Bun is running? 1.3.11+af24e281e What platform is your computer? Darwin 24.6.0 arm64 arm What steps can reproduce the bug? What is the expected behavior? I would expect either or Ideally, there would be options to select between these: as a CLI arg in the bunfig.toml in Bun.inspect.table What do you see instead? No response Additional information No response”
“What version of Bun is running? 1.3.11 canary.1+9e93bfa1b What platform is your computer? Linux 5.10.0 12 amd64 x86 64 x86 64 What steps can reproduce the bug? Hi, I would like to report a behavior in Bun that can be reproduced using the below snippet: What is the expected behavior? What do you see instead? Additional information No response”
“What is the problem this feature would solve? There's no way to configure custom package.json export conditions in bunfig.toml. The conditions CLI flag exists for bun run / bun build , but having to pass it to every command is tedious in monorepos that rely on a custom condition like "source" to resolve workspace packages to their TypeScript source. What is the feature you are proposing to solve the problem? A [resolve] section in bunfig.toml that supports a conditions array: This would apply th”
“What version of Bun is running? 1.3.10+30e609e08 What platform is your computer? Darwin 25.3.0 arm64 arm What steps can reproduce the bug? https://github.com/ScreamZ/websocket issue safari repro Take one iphone with safari browser on same wifi network Launch bun run dev:same port Head to your server host:3100 port Refresh the page, connection shows "OPEN" you can try in both mode partysocket (a client that handle auto reconnect) or raw socket Now try with bun run dev:split port You are stuck in”
“What is the problem this feature would solve? OpenClaw does not support Bun due to some compatibility bugs. https://github.com/openclaw/openclaw.ai/issues/65 What is the feature you are proposing to solve the problem? Bun designed as a drop in replacement for Node.js, should at least be able to run OpenClaw. What alternatives have you considered? No response”
“What version of Bun is running? No response What platform is your computer? No response What steps can reproduce the bug? The output of dns.promises.resolve is a string[][], where the first level represent different records and the second level represents portions of the same record. Bun is returning long records as separate records, node is not. Code: This is only one long record. Node returns, correctly: (node is returning an array with one item as there is one record. This array contains mult”
“What version of Bun is running? 1.1.38+bf2f153f5 What platform is your computer? Microsoft Windows NT 10.0.26100.0 x64 What steps can reproduce the bug? Hello, When I ran the same snippet in Nodejs and Deno js it gave an error but Bun seems to have printed "accessed" Is it ok for bun to access line number 3? It can be reproduced by running the following code snippet: Regards, Kevin What is the expected behavior? An error was expected to be thrown What do you see instead? Bun prints "accessed" Ad”
“What version of Bun is running? 1.1.37+8ca0eb831 What platform is your computer? Darwin 24.1.0 arm64 arm What steps can reproduce the bug? This never returns and is stuck forever. Can't share the server URL, But this happens only when using an PUT request. And the same code works perfectly with NodeJS What is the expected behavior? This should work as expected What do you see instead? Stuck forever. Additional information This works perfectly with NodeJS. also i am using an proxy, I am not sure”
“What version of Bun is running? 1.1.33+247456b67 What platform is your computer? Darwin 22.4.0 arm64 arm What steps can reproduce the bug? 1. bun run first.ts 2. manually open stdout.txt and replace "A" with "C" within 5 seconds timeout 3. cat stdout.txt What is the expected behavior? its expected to contain "CB" because it "B" should be appended to current file content What do you see instead? I cannot see "B" or any further stdout of my second.sh process after I edited stdout.txt manually Addi”
“What version of Bun is running? 1.1.25 canary.40+eb8ed27a4 What platform is your computer? Darwin 23.5.0 arm64 arm What steps can reproduce the bug? Create a package.json which sets a module and main property. Each should point do a different file which exports a default function and logs which file was imported. Import from the file and call the function. See the output. Gist of the 3 files is here: https://gist.github.com/adam12/14d5bfe1e84c3db63bb7f44b90602536 What is the expected behavior? W”
“What version of Bun is running? bun v1.1.21 What platform is your computer? windows11 24H2 What steps can reproduce the bug? This code executes normally on the Linux platform, and will end immediately when you press CTRL+C on the Windows platform... The compromise is as follows What is the expected behavior? No response What do you see instead? No response Additional information No response”
