Unable to deploy a laravel project nixpacks error on install phase
ocarrasco03
HOBBYOP

a year ago

I cannot redeploy my project, it throws an error on the installing phase, I didn't made any chango on the code I only tried to add a replica to my instance and I get this error on the build logs:

37.50 Running phase: installPhase

39.63 building '/nix/store/6fzz71vhc882bn8z4k39lzndp9jdlcrx-dbc4f15b899ac77a8d408d8e0f89fa9c0c5f2b78-env.drv'...

39.72 error: collision between `/nix/store/diqxmvvwl3i7ps5gl55w3qvk9m1ny5ar-yarn/LICENSE' and `/nix/store/19nk6m6mhw3171zc5s71xqd268mml88w-composer-2.7.7/LICENSE'

39.82 error: builder for '/nix/store/6fzz71vhc882bn8z4k39lzndp9jdlcrx-dbc4f15b899ac77a8d408d8e0f89fa9c0c5f2b78-env.drv' failed with exit code 25

-----

 

Dockerfile:8

-------------------

6 |

7 |     COPY .nixpacks/nixpkgs-dbc4f15b899ac77a8d408d8e0f89fa9c0c5f2b78.nix .nixpacks/nixpkgs-dbc4f15b899ac77a8d408d8e0f89fa9c0c5f2b78.nix

8 | >>> RUN nix-env -if .nixpacks/nixpkgs-dbc4f15b899ac77a8d408d8e0f89fa9c0c5f2b78.nix && nix-collect-garbage -d

9 |

10 |     COPY .nixpacks/assets /assets/

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-dbc4f15b899ac77a8d408d8e0f89fa9c0c5f2b78.nix && nix-collect-garbage -d" did not complete successfully: exit code: 100

 

Error: Docker build failed

I'm using the default configuration for laravel

0 Replies

Loading...