achenet

achenet

No Tailwind binary for FreeBSD

Hello,

I’m trying to build a basic Phoenix web-app, and I’d like to use Tailwind.

However, when I launch mix phx.server, I get an error:

** (RuntimeError) The tailwind binary couldn’t be found at: https://github.com/tailwindlabs/tailwindcss/releases/download/v4.1.12/tailwindcss-freebsd-x64

sure enough, the Tailwind Releases Page has no release for FreeBSD-x64.

How can I solve this? Is there a way to get a working Tailwind binary (building it from source maybe?) and tell Phoenix to use that instead?

First Post!

Schultzer

Schultzer

IMO the best path would be to kick out tailwind and just ship with modern CSS with AI today there is no excuses left for having to pull in a framework that is not portable. Not sure if tailwind’s goal is even to be portable everywhere.

Most Liked

garrison

garrison

Out of the frying pan and into the volcano lol

Schultzer

Schultzer

Yeah, and it could be excellent promo for tidewave too.

krasenyp

krasenyp

The situation is awful. The FreeBSD package expects an environment variable to the Node installation directory. It’s not documented at all. I had to look into the code to find out, it just errored out.

These problems motivate me to get rid of Tailwind altogether.

Last Post!

adamwight

adamwight

Okay, in my case the missing piece was a small back-compatibility package which allows fbsd 15 to run with older dynamically-linked binaries:

pkg install misc/compat14x

If anyone else needs the standalone binary for fbsd, the instructions in the Tailwind readme are still correct:

mix tailwind.install https://people.freebsd.org/~dch/pub/tailwind/v3.4.17/tailwindcss-freebsd-x64

Works well! Although I usually develop on linux and only run freebsd for production, I also use “mix release” which needs to be run in a production-line environment and it makes sense that tailwind assets.deploy would be included in that pipeline. I’ll propose small changes to the glue library to help others running into this.

Where Next?

Popular in Questions Top

vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New

Other popular topics Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 55125 245
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40165 209
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement