@@ -290,12 +290,6 @@ defmodule Tailwind do
290
290
{ { :unix , :linux } , "aarch64" , _abi , 64 } ->
291
291
"linux-arm64"
292
292
293
- { { :unix , :linux } , "arm" , _abi , 32 } ->
294
- "linux-armv7"
295
-
296
- { { :unix , :linux } , "armv7" <> _ , _abi , 32 } ->
297
- "linux-armv7"
298
-
299
293
{ { :unix , _osname } , arch , "musl" , 64 } when arch in ~w( x86_64 amd64) ->
300
294
"linux-x64-musl"
301
295
@@ -342,6 +336,18 @@ defmodule Tailwind do
342
336
{ _ , { :ok , { { _ , 200 , _ } , _headers , body } } } ->
343
337
body
344
338
339
+ { _ , { :ok , { { _ , 404 , _ } , _headers , _body } } } ->
340
+ raise """
341
+ The tailwind binary couldn't be found at: #{ url }
342
+
343
+ This could mean that you're trying to install a version that does not support the detected
344
+ target architecture.
345
+
346
+ You can see the available files for the configured version at:
347
+
348
+ https://github.com/tailwindlabs/tailwindcss/releases/tag/v#{ configured_version ( ) }
349
+ """
350
+
345
351
{ true , { :error , { :failed_connect , [ { :to_address , _ } , { inet , _ , reason } ] } } }
346
352
when inet in [ :inet , :inet6 ] and
347
353
reason in [ :ehostunreach , :enetunreach , :eprotonosupport , :nxdomain ] ->
0 commit comments