tailwindcss
tailwindcss copied to clipboard
Tailwind binary on linux x64-musl is just a bun wrapper
What version of Tailwind CSS are you using?
v4.1.3
What build tool (or framework if it abstracts the build tool) are you using?
Standalone CLI
What version of Node.js are you using?
N/A
What browser are you using?
N/A
What operating system are you using?
alpine 3:21
Reproduction URL
https://github.com/IxDay/tailwindcss
Describe your issue
When downloading and running the tailwindcss-linux-x64-musl I get the bun CLI and not tailwind. The bug is not present with tailwindcss-linux-arm64-musl though. See the reproduction for a minimal setup.
This could be a Bun bug, since they are using Bun's https://bun.sh/docs/bundler/executables to create the executable.
This is super strange. I tested that exact reproduction in two separate host environments:
- macOS ARM64 + OrbStack (emulating an x64 container)
- Windows x86_64 + Docker Desktop (so no arch emulation)
Both of these produce the tailwindcss help output. I would've expected to not see it if that reproduction does not work for you. This makes me think its definitely a Bun bug but I'm not quite sure what's causing things to break or how.
What's your host OS and architecture?
I am using an Apple M1 with colima.
@IxDay I was able to reproduce this issue but only when using colima, using Docker or OrbStack seems to work just fine. This is bizarre... I guess we'll have to file a bug report with bun about this. Thanks for the repro!
Created an upstream bug report, maybe the folks over at Bun have some idea: https://github.com/oven-sh/bun/issues/19536
@IxDay Sorry for asking something not related to the issue itself: does the watch command work in Docker for you?
It seems to be an issue when using Colima. For the workaround https://github.com/oven-sh/bun/issues/19536#issuecomment-2863166514