tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

Tailwind binary on linux x64-musl is just a bun wrapper

Open IxDay opened this issue 7 months ago • 8 comments

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.

IxDay avatar Apr 27 '25 05:04 IxDay

This could be a Bun bug, since they are using Bun's https://bun.sh/docs/bundler/executables to create the executable.

xorraxraxret avatar Apr 28 '25 13:04 xorraxraxret

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.

thecrypticace avatar Apr 28 '25 16:04 thecrypticace

What's your host OS and architecture?

thecrypticace avatar Apr 28 '25 16:04 thecrypticace

I am using an Apple M1 with colima.

IxDay avatar Apr 29 '25 05:04 IxDay

@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!

philipp-spiess avatar May 08 '25 09:05 philipp-spiess

Created an upstream bug report, maybe the folks over at Bun have some idea: https://github.com/oven-sh/bun/issues/19536

philipp-spiess avatar May 08 '25 10:05 philipp-spiess

@IxDay Sorry for asking something not related to the issue itself: does the watch command work in Docker for you?

gremo avatar May 22 '25 23:05 gremo

Created an upstream bug report, maybe the folks over at Bun have some idea: oven-sh/bun#19536

👍

IxDay avatar May 29 '25 16:05 IxDay

It seems to be an issue when using Colima. For the workaround https://github.com/oven-sh/bun/issues/19536#issuecomment-2863166514

mvanduijker avatar Oct 02 '25 08:10 mvanduijker