arnoldwolfe

arnoldwolfe

Unable to deploy app to Fly.io due to error downloading Tailwind CSS

I’ve been unable to deploy apps for over a week now due to the following error. It all started when Github has issues with GitHub Actions, which also affected Fly deployments.

I’ve tried deploying to different regions and different Elixir/Erlang version in my Dockerfile and the issue still persists.

Has anyone else run into this issue or have a resolution?

=> ERROR [builder 15/23] RUN mix assets.setup 2.0s

[builder 15/23] RUN mix assets.setup:
0.658
0.658 03:48:38.917 [debug] Downloading tailwind from https://github.com/tailwindlabs/tailwindcss/releases/download/v4.0.9/tailwindcss-linux-x64
1.952 ** (RuntimeError) Couldn’t fetch https://github.com/tailwindlabs/tailwindcss/releases/download/v4.0.9/tailwindcss-linux-x64: {true, {:error, {:shutdown, :server_closed}}}
1.952
1.952 This typically means we cannot reach the source or you are behind a proxy.
1.952 You can try again later and, if that does not work, you might:
1.952
1.952 1. If behind a proxy, ensure your proxy is configured and that
1.952 your certificates are set via OTP ca certfile overide via SSL configuration.
1.952
1.952 2. Manually download the executable from the URL above and
1.952 place it inside “_build/tailwind-linux-x64”
1.952
1.952 3. Install and use Tailwind from npmJS. See our module documentation
1.952 to learn more: tailwind v0.4.1 — Documentation
1.952
1.952 (tailwind 0.3.1) lib/tailwind.ex:369: Tailwind.fetch_body!/2
1.952 (tailwind 0.3.1) lib/tailwind.ex:236: Tailwind.install/1
1.952 (mix 1.18.3) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
1.952 (mix 1.18.3) lib/mix/task.ex:561: Mix.Task.run_alias/6
1.952 (mix 1.18.3) lib/mix/cli.ex:107: Mix.CLI.run_task/2
1.952 /usr/local/bin/mix:2: (file)

Marked As Solved

arnoldwolfe

arnoldwolfe

It seems the issue is due to Fly’s depot still having issues with GitHub Actions. I was able to deploy my apps using fly deploy --depot=false

Where Next?

Popular in Troubleshooting Top

tomekowal
Hi! I am trying to pinpoint why my project has issue on incremental compilation when running tests in elixir 1.19.0-rc.0-otp-26 I am ru...
New
Ferenc
I have installed it on Phoenix 1.8.1 (without authentication or other packages and got 2 problems). I had to set up things manually the ...
New
jdj_dk
Hi everyone. I’m trying to setup a small cluster with three nodes. I’m using libcluster as I have before. But my nodes doesn’t have a us...
New
mohammedzeglam
I am trying deploy phoenix app to cloud run every thing works locally fine using public IP but when i deployed to cloud run the app could...
New
michaelterryio
Hey, I’ve got a project with several path dependencies. Some are phoenix apps, but this likely isn’t relevant. I don’t fully understand...
New
arnoldwolfe
I’ve been unable to deploy apps for over a week now due to the following error. It all started when Github has issues with GitHub Actions...
New
Richardm
Hi, I have the following code, and even though I can see (via the inspect) that the response_body does contain one of the strings I’m lo...
New
onelastdance
Hey there, Using the install script method recommended here on Ubuntu 24.04: And then running the following commands: iex> :obser...
New
klo
Is there any way to go from a float 1.0 to 1.00 while retaining the float() type?
New
apoorv-2204
The Issue of Enums in Elixir Elixir doesn’t have a native enum construct, so we usually rely on atoms, strings, or macros to represent na...
New

Other popular topics Top

chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30048 115
New
shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
AstonJ
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New

We're in Beta

About us Mission Statement