phoenixframework / esbuild

An installer for esbuild
MIT License
271 stars 38 forks source link

upgraded to 0.8 and now getting error #70

Closed atomkirk closed 1 year ago

atomkirk commented 1 year ago

All I did was bump my version from 0.7.1 -> 0.8.0 and now my docker gets this in my docker build:

[+] Building 179.6s (26/32)                                                                                                                                                                                                                                                                                                                                                                         
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                                                                                                                                           0.0s
 => => transferring dockerfile: 2.72kB                                                                                                                                                                                                                                                                                                                                                         0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                                                                                                                                                                              0.0s
 => => transferring context: 1.29kB                                                                                                                                                                                                                                                                                                                                                            0.0s
 => [internal] load metadata for docker.io/library/debian:bullseye-20230612-slim                                                                                                                                                                                                                                                                                                               2.7s
 => [internal] load metadata for docker.io/hexpm/elixir:1.15.0-erlang-26.0.1-debian-bullseye-20230612-slim                                                                                                                                                                                                                                                                                     2.7s
 => [auth] library/debian:pull token for registry-1.docker.io                                                                                                                                                                                                                                                                                                                                  0.0s
 => [auth] hexpm/elixir:pull token for registry-1.docker.io                                                                                                                                                                                                                                                                                                                                    0.0s
 => [internal] load build context                                                                                                                                                                                                                                                                                                                                                              0.4s
 => => transferring context: 10.29MB                                                                                                                                                                                                                                                                                                                                                           0.4s
 => [builder  1/18] FROM docker.io/hexpm/elixir:1.15.0-erlang-26.0.1-debian-bullseye-20230612-slim@sha256:07ff00556152df811ba6845f1b45a74212cfcce5ef11b23562118152918f43c7                                                                                                                                                                                                                    35.1s
 => => resolve docker.io/hexpm/elixir:1.15.0-erlang-26.0.1-debian-bullseye-20230612-slim@sha256:07ff00556152df811ba6845f1b45a74212cfcce5ef11b23562118152918f43c7                                                                                                                                                                                                                               0.0s
 => => sha256:92ad4775570054c645678402c8b75eb489b8e05313c9ccd7867bb591266db4d8 30.06MB / 30.06MB                                                                                                                                                                                                                                                                                              20.2s
 => => sha256:a0d99302275cc3763220005cdf5d58dd533bb1c5a3bf98918d819963dc2b399c 1.31MB / 1.31MB                                                                                                                                                                                                                                                                                                 1.9s
 => => sha256:1649804df033abfe27976b94f1cd64d76c31687781a2fa74e7dd37cad7457535 45.01MB / 45.01MB                                                                                                                                                                                                                                                                                              33.9s
 => => sha256:07ff00556152df811ba6845f1b45a74212cfcce5ef11b23562118152918f43c7 772B / 772B                                                                                                                                                                                                                                                                                                     0.0s
 => => sha256:e18edcf6040b46444642dc0c653205fe39665510d8b3caa7fed49344e38b030a 1.16kB / 1.16kB                                                                                                                                                                                                                                                                                                 0.0s
 => => sha256:b9c1df386622d9d3d95f60363c43077525a90fa85553e23a370651888b94592b 1.58kB / 1.58kB                                                                                                                                                                                                                                                                                                 0.0s
 => => sha256:e598a9612cadb779d21a377c0d46b62a4ed865626fa17aeda2eaac1465bf85fa 5.35MB / 5.35MB                                                                                                                                                                                                                                                                                                 7.0s
 => => extracting sha256:92ad4775570054c645678402c8b75eb489b8e05313c9ccd7867bb591266db4d8                                                                                                                                                                                                                                                                                                      0.9s
 => => extracting sha256:a0d99302275cc3763220005cdf5d58dd533bb1c5a3bf98918d819963dc2b399c                                                                                                                                                                                                                                                                                                      0.1s
 => => extracting sha256:1649804df033abfe27976b94f1cd64d76c31687781a2fa74e7dd37cad7457535                                                                                                                                                                                                                                                                                                      0.9s
 => => extracting sha256:e598a9612cadb779d21a377c0d46b62a4ed865626fa17aeda2eaac1465bf85fa                                                                                                                                                                                                                                                                                                      0.1s
 => [stage-1 1/7] FROM docker.io/library/debian:bullseye-20230612-slim@sha256:924df86f8aad741a0134b2de7d8e70c5c6863f839caadef62609c1be1340daf5                                                                                                                                                                                                                                                21.2s
 => => resolve docker.io/library/debian:bullseye-20230612-slim@sha256:924df86f8aad741a0134b2de7d8e70c5c6863f839caadef62609c1be1340daf5                                                                                                                                                                                                                                                         0.0s
 => => sha256:924df86f8aad741a0134b2de7d8e70c5c6863f839caadef62609c1be1340daf5 1.85kB / 1.85kB                                                                                                                                                                                                                                                                                                 0.0s
 => => sha256:d4724cfc4538bc3fa98c398d271c6d8b26f637f34ca4b3d75de0d72d1574d4c2 529B / 529B                                                                                                                                                                                                                                                                                                     0.0s
 => => sha256:c87d48b9fd2b59de1f0c975a9c4a49e4177c9a2d36c1f8fa612f5c86814a82f2 1.48kB / 1.48kB                                                                                                                                                                                                                                                                                                 0.0s
 => => sha256:92ad4775570054c645678402c8b75eb489b8e05313c9ccd7867bb591266db4d8 30.06MB / 30.06MB                                                                                                                                                                                                                                                                                              20.2s
 => => extracting sha256:92ad4775570054c645678402c8b75eb489b8e05313c9ccd7867bb591266db4d8                                                                                                                                                                                                                                                                                                      0.9s
 => [stage-1 2/7] RUN apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 locales ffmpeg   && apt-get clean && rm -f /var/lib/apt/lists/*_*                                                                                                                                                                                                                                39.8s
 => [builder  2/18] RUN apt-get update -y && apt-get install -y build-essential git curl     && apt-get clean && rm -f /var/lib/apt/lists/*_*                                                                                                                                                                                                                                                 20.5s
 => [builder  3/18] WORKDIR /app                                                                                                                                                                                                                                                                                                                                                               0.0s
 => [builder  4/18] RUN mix local.hex --force &&     mix local.rebar --force                                                                                                                                                                                                                                                                                                                   2.6s
 => [builder  5/18] COPY mix.exs mix.lock ./                                                                                                                                                                                                                                                                                                                                                   0.0s
 => [builder  6/18] RUN mix hex.repo add petal https://petal.build/repo --fetch-public-key SHA256:6Ff7LeQCh4464psGV3w4a8WxReEwRl+xWmgtuHdHsjs --auth-key 7PZAF7iuSGrFFgWrpBx_bLv5Q4Tv62acQ3nTnXQSHrYGh0Q2vy                                                                                                                                                                                    1.2s
 => [builder  7/18] RUN mix deps.get --only prod                                                                                                                                                                                                                                                                                                                                               7.8s
 => [stage-1 3/7] RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen                                                                                                                                                                                                                                                                                                             1.0s
 => [stage-1 4/7] WORKDIR /app                                                                                                                                                                                                                                                                                                                                                                 0.0s 
 => [stage-1 5/7] RUN chown nobody /app                                                                                                                                                                                                                                                                                                                                                        0.2s 
 => [builder  8/18] RUN mkdir config                                                                                                                                                                                                                                                                                                                                                           0.2s 
 => [builder  9/18] COPY config/config.exs config/prod.exs config/                                                                                                                                                                                                                                                                                                                             0.0s 
 => [builder 10/18] RUN mix deps.compile                                                                                                                                                                                                                                                                                                                                                      83.7s 
 => [builder 11/18] COPY priv priv                                                                                                                                                                                                                                                                                                                                                             0.0s 
 => [builder 12/18] COPY lib lib                                                                                                                                                                                                                                                                                                                                                               0.0s 
 => [builder 13/18] COPY assets assets                                                                                                                                                                                                                                                                                                                                                         0.0s
 => ERROR [builder 14/18] RUN mix assets.deploy                                                                                                                                                                                                                                                                                                                                               25.3s
------
 > [builder 14/18] RUN mix assets.deploy:
#26 0.705 
#26 0.705 22:12:16.833 [debug] Downloading tailwind from https://github.com/tailwindlabs/tailwindcss/releases/download/v3.3.1/tailwindcss-linux-arm64
#26 19.90 
#26 19.90 Rebuilding...
#26 22.26 
#26 22.26 Done in 2441ms.
#26 22.89 
#26 22.89 Rebuilding...
#26 25.22 
#26 25.22 Done in 2398ms.
#26 25.27 ** (exit) exited in: GenServer.call(Esbuild.Supervisor, {:start_child, %{id: Esbuild.Installer, restart: :transient, start: {Task, :start_link, [#Function<0.45081244/0 in Esbuild.install>]}}}, :infinity)
#26 25.27     ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
#26 25.27     (elixir 1.15.0) lib/gen_server.ex:1063: GenServer.call/3
#26 25.27     (esbuild 0.8.0) lib/esbuild.ex:188: Esbuild.start_unique_install_worker/0
#26 25.27     (esbuild 0.8.0) lib/esbuild.ex:208: Esbuild.install_and_run/2
#26 25.27     (esbuild 0.8.0) lib/mix/tasks/esbuild.ex:55: Mix.Tasks.Esbuild.install_and_run/1
#26 25.27     (mix 1.15.0) lib/mix/task.ex:447: anonymous fn/3 in Mix.Task.run_task/5
#26 25.27     (mix 1.15.0) lib/mix/task.ex:506: Mix.Task.run_alias/6
#26 25.27     (mix 1.15.0) lib/mix/cli.ex:92: Mix.CLI.run_task/2
------
executor failed running [/bin/sh -c mix assets.deploy]: exit code: 1
josevalim commented 1 year ago

Fixed and v0.8.1 released.