-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v4] Musl/Alpine is not supported in the V4 prereleases #15031
Comments
@flavorjones Thanks for the bug report! I agree that this is something that will cause a lot of frustrations and it's something we should find a solution for. We're currently working with the Bun team to adopt their new musl support that they just landed: oven-sh/bun#918 Will update this PR when we have news, right now we're blocked on oven-sh/bun#15307 |
This comment was marked as spam.
This comment was marked as spam.
@philipp-spiess Note: Issue is closed (fixed?). |
Hey! You might have seen this already when we closed the ticket but we just released beta 9 which now has a musl build for you all to use. Can be downloaded here: https://github.com/tailwindlabs/tailwindcss/releases/tag/v4.0.0-beta.9 |
What version of Tailwind CSS are you using?
v4.0.0-alpha.34
What build tool (or framework if it abstracts the build tool) are you using?
Binary CLI executable from https://github.com/tailwindlabs/tailwindcss/releases/tag/v4.0.0-alpha.34
What version of Node.js are you using?
N/A
What browser are you using?
N/A
What operating system are you using?
Alpine Linux (musl libc)
Reproduction URL
You can see the failure in CI here: https://github.com/flavorjones/tailwindcss-ruby/actions/runs/11896261069/job/33147810896?pr=21#step:7:5
Compare with successful build run on a glibc system here: https://github.com/flavorjones/tailwindcss-ruby/actions/runs/11896261069/job/33147810459?pr=21#step:5:5
Describe your issue
When running the binary x86_64-linux executable on an Alpine (musl libc) system, I see:
Running
ldd
to see whether shared libraries are resolved properly reveals the problem:A previous issue (#14569) reported this, and the outcome was to open an upstream
bun
bug at oven-sh/bun#14292. The reply there was, essentially:apk install gcompat
to make it workUnfortunately,
gcompat
does not help:I suspect this is going to be a blocker to adoption for many people given how widespread Alpine images are, particularly in CI/CD pipelines.
The text was updated successfully, but these errors were encountered: