Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Nixpacks - Next.js - ERROR: failed to solve: process "/bin/bash -ol pipefail -c pnpm build" #3329

Closed
1 of 2 tasks
umutbozdag opened this issue Sep 5, 2024 · 6 comments

Comments

@umutbozdag
Copy link

Description

It was working fine but after one commit (there is nothing to cause this) build step gives an error and I couldn't solve it. This is related to Coolify or Nixpacks probably since I don't have any issue on deploying to Vercel etc.

Also I have "packageManager": "[email protected]" on my package.json file

Minimal Reproduction (if possible, example repository)

Exception or Error

[COMMAND] docker exec gw44gwk0csg8g4g44ooo00w0 bash -c 'bash /artifacts/build.sh'
[OUTPUT]
#13 11.16 web:build: > Build error occurred
#13 11.16 web:build: TypeError: Cannot read properties of undefined (reading 'collections')
#13 11.16 web:build: at EventEmitter.<anonymous> (/app/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@content-collections/integrations/dist/index.cjs:70:19)
#13 11.16 web:build: at EventEmitter.emit (node:events:520:28)
#13 11.16 web:build: at Object.emit (file:///app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@content-collections/core/dist/index.js:640:13)
#13 11.16 web:build: at Object.build2 [as build] (file:///app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@content-collections/core/dist/index.js:803:13)
#13 11.16 web:build: at async /app/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@content-collections/next/dist/index.cjs:51:7
#13 11.16 web:build: at async normalizeConfig (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/server/config-shared.js:160:12)
#13 11.16 web:build: at async loadConfig (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/server/config.js:714:28)
#13 11.16 web:build: at async Span.traceAsyncFn (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/trace/trace.js:154:20)
#13 11.16 web:build: at async /app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/build/index.js:372:28
#13 11.16 web:build: at async Span.traceAsyncFn (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/trace/trace.js:154:20)
#13 11.19 web:build:  ELIFECYCLE  Command failed with exit code 1.
#13 11.22 web:build: ERROR: command finished with error: command (/app/apps/web) /root/.nix-profile/bin/pnpm run build exited (1)
#13 11.22 web#build: command (/app/apps/web) /root/.nix-profile/bin/pnpm run build exited (1)
#13 11.23
#13 11.23 Tasks: 1 successful, 2 total
#13 11.23 Cached: 0 cached, 2 total
#13 11.23 Time: 10.121s
#13 11.23 Failed: web#build
#13 11.23
#13 11.24 ERROR run failed: command exited (1)

[2024-Sep-05 19:37:48.991256]

[COMMAND] docker exec gw44gwk0csg8g4g44ooo00w0 bash -c 'bash /artifacts/build.sh'
[OUTPUT]
#13 11.50  ELIFECYCLE  Command failed with exit code 1.

[2024-Sep-05 19:37:49.132291]

[COMMAND] docker exec gw44gwk0csg8g4g44ooo00w0 bash -c 'bash /artifacts/build.sh'
[OUTPUT]
#13 ERROR: process "/bin/bash -ol pipefail -c pnpm build" did not complete successfully: exit code: 1

[2024-Sep-05 19:37:49.241367]

[COMMAND] docker exec gw44gwk0csg8g4g44ooo00w0 bash -c 'bash /artifacts/build.sh'
[OUTPUT]
------
> [stage-0 9/11] RUN --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-apps/web/next/cache,target=/app/apps/web/.next/cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-node_modules/cache,target=/app/node_modules/.cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-packages/api/next/cache,target=/app/packages/api/.next/cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-packages/auth/next/cache,target=/app/packages/auth/.next/cache pnpm build:
11.22 web:build: ERROR: command finished with error: command (/app/apps/web) /root/.nix-profile/bin/pnpm run build exited (1)
11.22 web#build: command (/app/apps/web) /root/.nix-profile/bin/pnpm run build exited (1)
11.23
11.23 Tasks: 1 successful, 2 total
11.23 Cached: 0 cached, 2 total
11.23 Time: 10.121s
11.23 Failed: web#build
11.23
11.24 ERROR run failed: command exited (1)
11.50  ELIFECYCLE  Command failed with exit code 1.
------

[2024-Sep-05 19:37:49.256726]

[COMMAND] docker exec gw44gwk0csg8g4g44ooo00w0 bash -c 'bash /artifacts/build.sh'
[OUTPUT]
Dockerfile:24
--------------------
22 | # build phase
23 | COPY . /app/.
24 | >>> RUN --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-apps/web/next/cache,target=/app/apps/web/.next/cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-node_modules/cache,target=/app/node_modules/.cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-packages/api/next/cache,target=/app/packages/api/.next/cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-packages/auth/next/cache,target=/app/packages/auth/.next/cache pnpm build
25 |
26 |
--------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c pnpm build" did not complete successfully: exit code: 1

[2024-Sep-05 19:37:49.480946] Oops something is not okay, are you okay? 😢

[2024-Sep-05 19:37:49.493863] #0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.59kB done
#1 DONE 0.0s

#2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1716249803
#2 DONE 0.4s

#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s

#4 [stage-0 1/11] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1716249803@sha256:5ef4d2021c418fcaabb56cea5ea9e24a5fdedfe27f58062d9689214dfed45c46
#4 DONE 0.0s

#5 [internal] load build context
#5 transferring context: 2.95MB 0.1s done
#5 DONE 0.1s

#6 [stage-0 2/11] WORKDIR /app/
#6 CACHED

#7 [stage-0 3/11] COPY .nixpacks/nixpkgs-bdd2f439c62aa0b8aa97f5c784a965c23f968fe6.nix .nixpacks/nixpkgs-bdd2f439c62aa0b8aa97f5c784a965c23f968fe6.nix
#7 CACHED

#8 [stage-0 4/11] RUN nix-env -if .nixpacks/nixpkgs-bdd2f439c62aa0b8aa97f5c784a965c23f968fe6.nix && nix-collect-garbage -d
#8 30.88 installing 'bdd2f439c62aa0b8aa97f5c784a965c23f968fe6-env'
#8 32.03 these 6 derivations will be built:
#8 32.03 /nix/store/dl56n6gv24nks1bfhsgpph4b6fg8n2ij-libraries.drv
#8 32.03 /nix/store/gijs76xgyhpx99l4pjh7rjcwwwnzzy2x-pnpm-8.15.9.tgz.drv
#8 32.03 /nix/store/dr54cm0wrb456mcq6ndi5fn55a3l80wg-pnpm.drv
#8 32.03 /nix/store/fk5klk8gya7yxizshp3s684v7sd4xkj9-bdd2f439c62aa0b8aa97f5c784a965c23f968fe6-env.drv
#8 32.03 /nix/store/s27nsrfqbxzg3pbgdphawddz6v4lrh9h-builder.pl.drv
#8 32.03 /nix/store/vpclwrkbcgrhawwlbh943c4a2w983pff-bdd2f439c62aa0b8aa97f5c784a965c23f968fe6-env.drv
#8 32.03 these 83 paths will be fetched (116.63 MiB download, 545.77 MiB unpacked):
#8 32.03 /nix/store/mjgi65m3hgzqqvqcix848gskkw5zzwi9-acl-2.3.2
#8 32.03 /nix/store/5nk2ga7i2f030am4qpcdsd8qlk6i3z83-attr-2.5.2
#8 32.03 /nix/store/306znyj77fv49kwnkpxmb0j2znqpa8bj-bash-5.2p26
#8 32.03 /nix/store/bgcaxhhxswzvmxjbbgvvaximm5hwghz1-binutils-2.41
#8 32.03 /nix/store/j3svbki41ax01mhd0bax91y1q8gvc5c4-binutils-2.41-lib
#8 32.03 /nix/store/kln7kinji3b7sz8r50h4gn9yy6k1js9a-binutils-wrapper-2.41
#8 32.03 /nix/store/xwcf1rw3ackqp2vxms9myf9jq2ny6ynv-bzip2-1.0.8
#8 32.03 /nix/store/mxcq77rlan82dzpv3cgj0fh6qvv8ncil-bzip2-1.0.8-bin
#8 32.03 /nix/store/php4qidg2bxzmm79vpri025bqi0fa889-coreutils-9.5
#8 32.03 /nix/store/m3b3ajx30wkc21n4m9xf2ldl7v78aa5s-curl-8.7.1
#8 32.03 /nix/store/wz4m1wx040hikbvpm57b32i0ixi5h4ap-curl-8.7.1-bin
#8 32.03 /nix/store/bvh660f0s4sbl10m58fkz8iqp71iqf7r-curl-8.7.1-dev
#8 32.03 /nix/store/xvfn982i105iwpyy8vdz1cf8cbf3rknd-curl-8.7.1-man
#8 32.03 /nix/store/i34mknsjgrfyy71k2h79gda0bvagzc2j-diffutils-3.10
#8 32.03 /nix/store/1sffjkg6c6ff16fz5yr0pnz3j7vja42h-ed-1.20.2
#8 32.03 /nix/store/pqajcwpmpr0jspa4z8xhxxnnfqfy5al4-expand-response-params
#8 32.03 /nix/store/xx7x1dwybpssfhq8yikvzz38bh3yrq97-file-5.45
#8 32.03 /nix/store/jjcsr5gs4qanf7ln5c6wgcq4sn75a978-findutils-4.9.0
#8 32.03 /nix/store/8vvkbgmnin1x2jkp7wcb2zg1p0vc4ks9-gawk-5.2.2
#8 32.03 /nix/store/14c6s4xzhy14i2b05s00rjns2j93gzz4-gcc-13.2.0
#8 32.03 /nix/store/xvzz97yk73hw03v5dhhz3j47ggwf1yq1-gcc-13.2.0-lib
#8 32.03 /nix/store/0rxb3ixzk4zaqivc9s795m0a3679wbw2-gcc-13.2.0-libgcc
#8 32.03 /nix/store/9bv7dcvmfcjnmg5mnqwqlq2wxfn8d7yi-gcc-wrapper-13.2.0
#8 32.03 /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52
#8 32.03 /nix/store/c2i631h8i5vcs1sqifwxfsazhwrg6wr5-glibc-2.39-52-bin
#8 32.03 /nix/store/fwh4fxd747m0py3ib3s5abamia9nrf90-glibc-2.39-52-dev
#8 32.03 /nix/store/ls108c83hxrwzj922hhxf88rq53z10vq-gmp-6.3.0
#8 32.03 /nix/store/7ivacs3m2fm19hyxdmrs05xisj82v6y5-gmp-with-cxx-6.3.0
#8 32.03 /nix/store/4i0j14zymvlngyyhq2254f4g9m9my98y-gnu-config-2024-01-01
#8 32.03 /nix/store/28gpmx3z6ss3znd7fhmrzmvk3x5lnfbk-gnugrep-3.11
#8 32.03 /nix/store/cdzpn0rdq810aknww3w9fy3wmw9ixr66-gnumake-4.4.1
#8 32.03 /nix/store/5zjms21vpxlkbc0qyl5pmj2sidfmzmd7-gnused-4.9
#8 32.03 /nix/store/rik7p68cq7yzlj5pmfpf4yv6jnrpvlgf-gnutar-1.35
#8 32.03 /nix/store/j5chw7v1x3vlmf3wmdpdb5gwh9hl0b80-gzip-1.13
#8 32.03 /nix/store/lvq4hib247ayxib31hp7gryx444m1l3a-icu4c-73.2
#8 32.03 /nix/store/zfi1y943q15js1ysgl4vk6lp2bzrngn2-icu4c-73.2-dev
#8 32.03 /nix/store/x8l5i68xcy2iyr0gwy71s1f0mh8s5c33-isl-0.20
#8 32.03 /nix/store/0vcrqaqf5sk158xy77mcl52374c1dlbi-keyutils-1.6.3-lib
#8 32.03 /nix/store/dxp9ffxm50hj300xvzwhsllwgjwxvwpp-libGL-1.7.0
#8 32.03 /nix/store/x9fw7rbdb34gq0f8q750kw344lbv9nk1-libX11-1.8.9
#8 32.03 /nix/store/8n7i76nx0k6b0zz752lvd3rv8gym39da-libXau-1.0.11
#8 32.03 /nix/store/m7v406dmjc4pzd0qgbhw58d5gswcv412-libXdmcp-1.1.5
#8 32.03 /nix/store/gbjygp4wz7b5rgayckmqfc00hy34dqfn-libXext-1.3.6
#8 32.03 /nix/store/jz3vvf4nsyirb25rh9dbhksm4gq6wybb-libglvnd-1.7.0
#8 32.03 /nix/store/ic63ay0py10fyryaw7345k4ps32da33w-libidn2-2.3.7
#8 32.03 /nix/store/1dkffxv48i8w75dl72rd5bm88p16kvyd-libkrb5-1.21.2
#8 32.03 /nix/store/1i242sq11fh63l6xw15xi9bihik9xg25-libkrb5-1.21.2-dev
#8 32.03 /nix/store/cya37dqm7s6jg5alb77n8y3c421k0xbi-libmpc-1.3.1
#8 32.03 /nix/store/apgkacswgpsi921ciavm42vmi6hbwj9c-libssh2-1.11.0
#8 32.03 /nix/store/6kqw9f22a7z3c9822cn3rvhlrddfs4ld-libssh2-1.11.0-dev
#8 32.03 /nix/store/yfp7dr8m7zi7kxk49wd714gwvhb105hf-libunistring-1.1
#8 32.03 /nix/store/mawqksiliwy1sq9a24p2rbmy9rljgvy8-libuv-1.48.0
#8 32.03 /nix/store/fn8a5spls1h6iim00fqbcm8802k48l3p-libuv-1.48.0-dev
#8 32.03 /nix/store/18kar5zwp16xyppfmigq92xzm1pkcqf1-libxcb-1.17.0
#8 32.03 /nix/store/5xynf9c9ml7d97q70kpq9rpqqmx13xl8-libxcrypt-4.4.36
#8 32.03 /nix/store/xz8mzas29lck99m79q211n0v5h1cmd40-linux-headers-6.7
#8 32.03 /nix/store/4p1i5wi39mvzh8n4cnfis1f36p5831l5-mirrors-list
#8 32.03 /nix/store/hhr2s52vw5wdhlwcc60imbc85pi31121-mpfr-4.2.1
#8 32.03 /nix/store/8zmxdjd25x8w494plgb61byxrn3n3wbp-nghttp2-1.61.0
#8 32.03 /nix/store/z6i13v50c8z5p9y2zr0nhnls2jd5pini-nghttp2-1.61.0-dev
#8 32.03 /nix/store/rksy2w3fz3rcb20s7nml6pv8nwsslc7r-nghttp2-1.61.0-lib
#8 32.03 /nix/store/72m3szv59j74b12dmicmayvvlikh65qc-nodejs-22.2.0
#8 32.03 /nix/store/favi04rnwy1jgnahqv33pjkccsrlj1mh-openssl-3.0.13
#8 32.03 /nix/store/gp504m4dvw5k2pdx6pccf1km79fkcwgf-openssl-3.0.13
#8 32.03 /nix/store/cgrhrh0bizyz5r05v74m0m590jl6v95d-openssl-3.0.13-bin
#8 32.03 /nix/store/qannz09m66qpcy3ny1f4nkl4ql0g71ks-openssl-3.0.13-bin
#8 32.03 /nix/store/191vca5vdxdlr32k2hpzd66mic98930f-openssl-3.0.13-dev
#8 32.03 /nix/store/qj7xqrfka9qa6g4rlrncdjvn5g3555db-openssl-3.0.13-dev
#8 32.03 /nix/store/sss9pw9l1prvc0a1b01ycrn0xwxxvh3x-openssl-3.0.13-man
#8 32.03 /nix/store/0lfxbmchigx9vs9qmrlbahcy6nxwfnj1-patch-2.7.6
#8 32.03 /nix/store/nbad47q0m0m9c5xid7zh05hiknwircbp-patchelf-0.15.0
#8 32.03 /nix/store/g3vi60zgyjsvij7xkk6dxky1hkwh0ynd-pcre2-10.43
#8 32.03 /nix/store/1iscdpbd3x9x3s3s25jd5ppl7yra0b77-perl-5.38.2
#8 32.03 /nix/store/y5p181lnbh8rrwd3ljp83k0cn3xklyk2-sqlite-3.45.3
#8 32.03 /nix/store/rg6agzlb4gcl4w2126m16qm4mgr8jgi6-stdenv-linux
#8 32.03 /nix/store/xfhkjnpqjwlf6hlk1ysmq3aaq80f3bjj-stdenv-linux
#8 32.03 /nix/store/bq6xbl9cq6hkcn65mz2fzc2k38xiv87h-update-autotools-gnu-config-scripts-hook
#8 32.03 /nix/store/05n35k0p8l969kfskxqhbqhy8il3a3cq-util-linux-minimal-2.40.1-lib
#8 32.03 /nix/store/1q9vc0lq7qjlfjz47mfmlzdf86c543jy-xgcc-13.2.0-libgcc
#8 32.03 /nix/store/lphbn1va4i43fj7f3m9xskf9y86khzf3-xz-5.4.6
#8 32.03 /nix/store/6i4xxaa812vsbli9jkq4mksdddrk27lw-xz-5.4.6-bin
#8 32.03 /nix/store/lv6nackqis28gg7l2ic43f6nk52hb39g-zlib-1.3.1
#8 32.03 /nix/store/qj9byzfvh7dd61kk0aglj7cwqj1xqg6l-zlib-1.3.1-dev
#8 32.06 copying path '/nix/store/sss9pw9l1prvc0a1b01ycrn0xwxxvh3x-openssl-3.0.13-man' from 'https://cache.nixos.org'.../
#8 32.06 copying path '/nix/store/0rxb3ixzk4zaqivc9s795m0a3679wbw2-gcc-13.2.0-libgcc' from 'https://cache.nixos.org'.../
#8 32.06 copying path '/nix/store/4i0j14zymvlngyyhq2254f4g9m9my98y-gnu-config-2024-01-01' from 'https://cache.nixos.org'.../
#8 32.07 copying path '/nix/store/1q9vc0lq7qjlfjz47mfmlzdf86c543jy-xgcc-13.2.0-libgcc' from 'https://cache.nixos.org'.../
#8 32.07 copying path '/nix/store/yfp7dr8m7zi7kxk49wd714gwvhb105hf-libunistring-1.1' from 'https://cache.nixos.org'.../
#8 32.08 copying path '/nix/store/4p1i5wi39mvzh8n4cnfis1f36p5831l5-mirrors-list' from 'https://cache.nixos.org'.../
#8 32.08 copying path '/nix/store/xvfn982i105iwpyy8vdz1cf8cbf3rknd-curl-8.7.1-man' from 'https://cache.nixos.org'.../
#8 32.09 copying path '/nix/store/xz8mzas29lck99m79q211n0v5h1cmd40-linux-headers-6.7' from 'https://cache.nixos.org'.../
#8 32.10 copying path '/nix/store/8zmxdjd25x8w494plgb61byxrn3n3wbp-nghttp2-1.61.0' from 'https://cache.nixos.org'.../
#8 32.17 copying path '/nix/store/bq6xbl9cq6hkcn65mz2fzc2k38xiv87h-update-autotools-gnu-config-scripts-hook' from 'https://cache.nixos.org'.../
#8 32.23 copying path '/nix/store/ic63ay0py10fyryaw7345k4ps32da33w-libidn2-2.3.7' from 'https://cache.nixos.org'.../
#8 32.27 copying path '/nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52' from 'https://cache.nixos.org'.../
#8 33.14 copying path '/nix/store/5nk2ga7i2f030am4qpcdsd8qlk6i3z83-attr-2.5.2' from 'https://cache.nixos.org'.../
#8 33.14 copying path '/nix/store/306znyj77fv49kwnkpxmb0j2znqpa8bj-bash-5.2p26' from 'https://cache.nixos.org'.../
#8 33.14 copying path '/nix/store/ls108c83hxrwzj922hhxf88rq53z10vq-gmp-6.3.0' from 'https://cache.nixos.org'.../
#8 33.14 copying path '/nix/store/cdzpn0rdq810aknww3w9fy3wmw9ixr66-gnumake-4.4.1' from 'https://cache.nixos.org'.../
#8 33.14 copying path '/nix/store/5xynf9c9ml7d97q70kpq9rpqqmx13xl8-libxcrypt-4.4.36' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/5zjms21vpxlkbc0qyl5pmj2sidfmzmd7-gnused-4.9' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/8n7i76nx0k6b0zz752lvd3rv8gym39da-libXau-1.0.11' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/0vcrqaqf5sk158xy77mcl52374c1dlbi-keyutils-1.6.3-lib' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/pqajcwpmpr0jspa4z8xhxxnnfqfy5al4-expand-response-params' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/8vvkbgmnin1x2jkp7wcb2zg1p0vc4ks9-gawk-5.2.2' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/xvzz97yk73hw03v5dhhz3j47ggwf1yq1-gcc-13.2.0-lib' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/m7v406dmjc4pzd0qgbhw58d5gswcv412-libXdmcp-1.1.5' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/mawqksiliwy1sq9a24p2rbmy9rljgvy8-libuv-1.48.0' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/1sffjkg6c6ff16fz5yr0pnz3j7vja42h-ed-1.20.2' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/c2i631h8i5vcs1sqifwxfsazhwrg6wr5-glibc-2.39-52-bin' from 'https://cache.nixos.org'.../
#8 33.15 copying path '/nix/store/xwcf1rw3ackqp2vxms9myf9jq2ny6ynv-bzip2-1.0.8' from 'https://cache.nixos.org'.../
#8 33.20 copying path '/nix/store/rksy2w3fz3rcb20s7nml6pv8nwsslc7r-nghttp2-1.61.0-lib' from 'https://cache.nixos.org'.../
#8 33.20 copying path '/nix/store/mjgi65m3hgzqqvqcix848gskkw5zzwi9-acl-2.3.2' from 'https://cache.nixos.org'.../
#8 33.22 copying path '/nix/store/fn8a5spls1h6iim00fqbcm8802k48l3p-libuv-1.48.0-dev' from 'https://cache.nixos.org'.../
#8 33.22 copying path '/nix/store/gp504m4dvw5k2pdx6pccf1km79fkcwgf-openssl-3.0.13' from 'https://cache.nixos.org'.../
#8 33.22 copying path '/nix/store/18kar5zwp16xyppfmigq92xzm1pkcqf1-libxcb-1.17.0' from 'https://cache.nixos.org'.../
#8 33.24 copying path '/nix/store/favi04rnwy1jgnahqv33pjkccsrlj1mh-openssl-3.0.13' from 'https://cache.nixos.org'.../
#8 33.26 copying path '/nix/store/g3vi60zgyjsvij7xkk6dxky1hkwh0ynd-pcre2-10.43' from 'https://cache.nixos.org'.../
#8 33.26 copying path '/nix/store/0lfxbmchigx9vs9qmrlbahcy6nxwfnj1-patch-2.7.6' from 'https://cache.nixos.org'.../
#8 33.26 copying path '/nix/store/rik7p68cq7yzlj5pmfpf4yv6jnrpvlgf-gnutar-1.35' from 'https://cache.nixos.org'.../
#8 33.27 copying path '/nix/store/lphbn1va4i43fj7f3m9xskf9y86khzf3-xz-5.4.6' from 'https://cache.nixos.org'.../
#8 33.29 copying path '/nix/store/lv6nackqis28gg7l2ic43f6nk52hb39g-zlib-1.3.1' from 'https://cache.nixos.org'.../
#8 33.31 copying path '/nix/store/z6i13v50c8z5p9y2zr0nhnls2jd5pini-nghttp2-1.61.0-dev' from 'https://cache.nixos.org'.../
#8 33.32 copying path '/nix/store/mxcq77rlan82dzpv3cgj0fh6qvv8ncil-bzip2-1.0.8-bin' from 'https://cache.nixos.org'.../
#8 33.33 copying path '/nix/store/x8l5i68xcy2iyr0gwy71s1f0mh8s5c33-isl-0.20' from 'https://cache.nixos.org'.../
#8 33.36 copying path '/nix/store/hhr2s52vw5wdhlwcc60imbc85pi31121-mpfr-4.2.1' from 'https://cache.nixos.org'.../
#8 33.36 copying path '/nix/store/1dkffxv48i8w75dl72rd5bm88p16kvyd-libkrb5-1.21.2' from 'https://cache.nixos.org'.../
#8 33.36 copying path '/nix/store/j5chw7v1x3vlmf3wmdpdb5gwh9hl0b80-gzip-1.13' from 'https://cache.nixos.org'.../
#8 33.38 copying path '/nix/store/x9fw7rbdb34gq0f8q750kw344lbv9nk1-libX11-1.8.9' from 'https://cache.nixos.org'.../
#8 33.48 copying path '/nix/store/xx7x1dwybpssfhq8yikvzz38bh3yrq97-file-5.45' from 'https://cache.nixos.org'.../
#8 33.48 copying path '/nix/store/y5p181lnbh8rrwd3ljp83k0cn3xklyk2-sqlite-3.45.3' from 'https://cache.nixos.org'.../
#8 33.48 copying path '/nix/store/qj9byzfvh7dd61kk0aglj7cwqj1xqg6l-zlib-1.3.1-dev' from 'https://cache.nixos.org'.../
#8 33.49 copying path '/nix/store/j3svbki41ax01mhd0bax91y1q8gvc5c4-binutils-2.41-lib' from 'https://cache.nixos.org'.../
#8 33.54 copying path '/nix/store/28gpmx3z6ss3znd7fhmrzmvk3x5lnfbk-gnugrep-3.11' from 'https://cache.nixos.org'.../
#8 33.54 copying path '/nix/store/fwh4fxd747m0py3ib3s5abamia9nrf90-glibc-2.39-52-dev' from 'https://cache.nixos.org'.../
#8 33.55 copying path '/nix/store/cya37dqm7s6jg5alb77n8y3c421k0xbi-libmpc-1.3.1' from 'https://cache.nixos.org'.../
#8 33.56 copying path '/nix/store/6i4xxaa812vsbli9jkq4mksdddrk27lw-xz-5.4.6-bin' from 'https://cache.nixos.org'.../
#8 33.61 copying path '/nix/store/1i242sq11fh63l6xw15xi9bihik9xg25-libkrb5-1.21.2-dev' from 'https://cache.nixos.org'.../
#8 33.73 copying path '/nix/store/05n35k0p8l969kfskxqhbqhy8il3a3cq-util-linux-minimal-2.40.1-lib' from 'https://cache.nixos.org'.../
#8 33.73 copying path '/nix/store/gbjygp4wz7b5rgayckmqfc00hy34dqfn-libXext-1.3.6' from 'https://cache.nixos.org'.../
#8 33.74 copying path '/nix/store/jz3vvf4nsyirb25rh9dbhksm4gq6wybb-libglvnd-1.7.0' from 'https://cache.nixos.org'.../
#8 33.76 copying path '/nix/store/cgrhrh0bizyz5r05v74m0m590jl6v95d-openssl-3.0.13-bin' from 'https://cache.nixos.org'.../
#8 33.78 copying path '/nix/store/apgkacswgpsi921ciavm42vmi6hbwj9c-libssh2-1.11.0' from 'https://cache.nixos.org'.../
#8 33.78 copying path '/nix/store/nbad47q0m0m9c5xid7zh05hiknwircbp-patchelf-0.15.0' from 'https://cache.nixos.org'.../
#8 33.78 copying path '/nix/store/lvq4hib247ayxib31hp7gryx444m1l3a-icu4c-73.2' from 'https://cache.nixos.org'.../
#8 33.78 copying path '/nix/store/7ivacs3m2fm19hyxdmrs05xisj82v6y5-gmp-with-cxx-6.3.0' from 'https://cache.nixos.org'.../
#8 33.78 copying path '/nix/store/14c6s4xzhy14i2b05s00rjns2j93gzz4-gcc-13.2.0' from 'https://cache.nixos.org'.../
#8 33.78 copying path '/nix/store/bgcaxhhxswzvmxjbbgvvaximm5hwghz1-binutils-2.41' from 'https://cache.nixos.org'.../
#8 33.84 copying path '/nix/store/qj7xqrfka9qa6g4rlrncdjvn5g3555db-openssl-3.0.13-dev' from 'https://cache.nixos.org'.../
#8 33.84 copying path '/nix/store/m3b3ajx30wkc21n4m9xf2ldl7v78aa5s-curl-8.7.1' from 'https://cache.nixos.org'.../
#8 33.85 copying path '/nix/store/dxp9ffxm50hj300xvzwhsllwgjwxvwpp-libGL-1.7.0' from 'https://cache.nixos.org'.../
#8 33.85 copying path '/nix/store/qannz09m66qpcy3ny1f4nkl4ql0g71ks-openssl-3.0.13-bin' from 'https://cache.nixos.org'.../
#8 34.01 copying path '/nix/store/php4qidg2bxzmm79vpri025bqi0fa889-coreutils-9.5' from 'https://cache.nixos.org'.../
#8 34.35 copying path '/nix/store/6kqw9f22a7z3c9822cn3rvhlrddfs4ld-libssh2-1.11.0-dev' from 'https://cache.nixos.org'.../
#8 34.55 copying path '/nix/store/191vca5vdxdlr32k2hpzd66mic98930f-openssl-3.0.13-dev' from 'https://cache.nixos.org'.../
#8 34.57 copying path '/nix/store/wz4m1wx040hikbvpm57b32i0ixi5h4ap-curl-8.7.1-bin' from 'https://cache.nixos.org'.../
#8 34.61 copying path '/nix/store/i34mknsjgrfyy71k2h79gda0bvagzc2j-diffutils-3.10' from 'https://cache.nixos.org'.../
#8 34.61 copying path '/nix/store/jjcsr5gs4qanf7ln5c6wgcq4sn75a978-findutils-4.9.0' from 'https://cache.nixos.org'.../
#8 34.61 copying path '/nix/store/1iscdpbd3x9x3s3s25jd5ppl7yra0b77-perl-5.38.2' from 'https://cache.nixos.org'.../
#8 34.73 copying path '/nix/store/kln7kinji3b7sz8r50h4gn9yy6k1js9a-binutils-wrapper-2.41' from 'https://cache.nixos.org'.../
#8 35.10 copying path '/nix/store/zfi1y943q15js1ysgl4vk6lp2bzrngn2-icu4c-73.2-dev' from 'https://cache.nixos.org'.../
#8 35.37 copying path '/nix/store/bvh660f0s4sbl10m58fkz8iqp71iqf7r-curl-8.7.1-dev' from 'https://cache.nixos.org'.../
#8 35.39 copying path '/nix/store/rg6agzlb4gcl4w2126m16qm4mgr8jgi6-stdenv-linux' from 'https://cache.nixos.org'.../
#8 35.95 copying path '/nix/store/72m3szv59j74b12dmicmayvvlikh65qc-nodejs-22.2.0' from 'https://cache.nixos.org'.../
#8 36.04 building '/nix/store/s27nsrfqbxzg3pbgdphawddz6v4lrh9h-builder.pl.drv'...
#8 36.16 building '/nix/store/dl56n6gv24nks1bfhsgpph4b6fg8n2ij-libraries.drv'...
#8 36.39 building '/nix/store/gijs76xgyhpx99l4pjh7rjcwwwnzzy2x-pnpm-8.15.9.tgz.drv'...
#8 36.62
#8 36.62 trying https://registry.npmjs.org/pnpm/-/pnpm-8.15.9.tgz
#8 36.63 % Total % Received % Xferd Average Speed Time Time Time Current
#8 36.63 Dload Upload Total Spent Left Speed
#8 36.85 100 3737k 100 3737k 0 0 16.9M 0 --:--:-- --:--:-- --:--:-- 16.9M
#8 36.95 building '/nix/store/fk5klk8gya7yxizshp3s684v7sd4xkj9-bdd2f439c62aa0b8aa97f5c784a965c23f968fe6-env.drv'...
#8 40.36 copying path '/nix/store/9bv7dcvmfcjnmg5mnqwqlq2wxfn8d7yi-gcc-wrapper-13.2.0' from 'https://cache.nixos.org'.../
#8 40.38 copying path '/nix/store/xfhkjnpqjwlf6hlk1ysmq3aaq80f3bjj-stdenv-linux' from 'https://cache.nixos.org'.../
#8 40.43 building '/nix/store/dr54cm0wrb456mcq6ndi5fn55a3l80wg-pnpm.drv'...
#8 40.50 Running phase: unpackPhase
#8 40.51 unpacking source archive /nix/store/6sinq3gazf3w930w59a91nxcdjfsl35k-pnpm-8.15.9.tgz
#8 40.74 source root is package
#8 40.78 setting SOURCE_DATE_EPOCH to timestamp 499162500 of file package/package.json
#8 40.79 Running phase: installPhase
#8 41.14 building '/nix/store/vpclwrkbcgrhawwlbh943c4a2w983pff-bdd2f439c62aa0b8aa97f5c784a965c23f968fe6-env.drv'...
#8 41.27 created 382 symlinks in user environment
#8 41.37 building '/nix/store/3djsl1na4al6gd635iafddbqq0wkkwx1-user-environment.drv'...
#8 41.73 removing old generations of profile /nix/var/nix/profiles/per-user/root/channels
#8 41.73 removing old generations of profile /nix/var/nix/profiles/per-user/root/profile
#8 41.73 removing profile version 1
#8 41.73 removing old generations of profile /nix/var/nix/profiles/per-user/root/channels
#8 41.73 removing old generations of profile /nix/var/nix/profiles/per-user/root/profile
#8 41.74 finding garbage collector roots...
#8 41.74 removing stale link from '/nix/var/nix/gcroots/auto/lzjbmb2ry0z7lma2fvpqprb12921pnb5' to '/nix/var/nix/profiles/per-user/root/profile-1-link'
#8 41.74 deleting garbage...
#8 41.75 deleting '/nix/store/z9pkb3mh7gv34q7w1zffhfw0ggm372hy-user-environment'
#8 41.75 deleting '/nix/store/x8hfibkpb6as4rji91ln5xp5lnj02gn8-user-environment.drv'
#8 41.75 deleting '/nix/store/1p8ildyyfkbj6pj9rfhvf2d92nxfk7p0-env-manifest.nix'
#8 41.78 deleting '/nix/store/xfhkjnpqjwlf6hlk1ysmq3aaq80f3bjj-stdenv-linux'
#8 41.78 deleting '/nix/store/rg6agzlb4gcl4w2126m16qm4mgr8jgi6-stdenv-linux'
#8 41.78 deleting '/nix/store/bq6xbl9cq6hkcn65mz2fzc2k38xiv87h-update-autotools-gnu-config-scripts-hook'
#8 41.78 deleting '/nix/store/4i0j14zymvlngyyhq2254f4g9m9my98y-gnu-config-2024-01-01'
#8 41.78 deleting '/nix/store/1iscdpbd3x9x3s3s25jd5ppl7yra0b77-perl-5.38.2'
#8 41.83 deleting '/nix/store/5xynf9c9ml7d97q70kpq9rpqqmx13xl8-libxcrypt-4.4.36'
#8 41.84 deleting '/nix/store/4p1i5wi39mvzh8n4cnfis1f36p5831l5-mirrors-list'
#8 41.84 deleting '/nix/store/9bv7dcvmfcjnmg5mnqwqlq2wxfn8d7yi-gcc-wrapper-13.2.0'
#8 41.84 deleting '/nix/store/14c6s4xzhy14i2b05s00rjns2j93gzz4-gcc-13.2.0'
#8 41.91 deleting '/nix/store/cya37dqm7s6jg5alb77n8y3c421k0xbi-libmpc-1.3.1'
#8 41.91 deleting '/nix/store/hhr2s52vw5wdhlwcc60imbc85pi31121-mpfr-4.2.1'
#8 41.91 deleting '/nix/store/mxcq77rlan82dzpv3cgj0fh6qvv8ncil-bzip2-1.0.8-bin'
#8 41.91 deleting '/nix/store/kln7kinji3b7sz8r50h4gn9yy6k1js9a-binutils-wrapper-2.41'
#8 41.91 deleting '/nix/store/bgcaxhhxswzvmxjbbgvvaximm5hwghz1-binutils-2.41'
#8 41.92 deleting '/nix/store/j3svbki41ax01mhd0bax91y1q8gvc5c4-binutils-2.41-lib'
#8 41.93 deleting '/nix/store/bvh660f0s4sbl10m58fkz8iqp71iqf7r-curl-8.7.1-dev'
#8 41.93 deleting '/nix/store/1i242sq11fh63l6xw15xi9bihik9xg25-libkrb5-1.21.2-dev'
#8 41.93 deleting '/nix/store/28gpmx3z6ss3znd7fhmrzmvk3x5lnfbk-gnugrep-3.11'
#8 41.94 deleting '/nix/store/6sinq3gazf3w930w59a91nxcdjfsl35k-pnpm-8.15.9.tgz'
#8 41.94 deleting '/nix/store/wz4m1wx040hikbvpm57b32i0ixi5h4ap-curl-8.7.1-bin'
#8 41.94 deleting '/nix/store/m3b3ajx30wkc21n4m9xf2ldl7v78aa5s-curl-8.7.1'
#8 41.94 deleting '/nix/store/1dkffxv48i8w75dl72rd5bm88p16kvyd-libkrb5-1.21.2'
#8 41.94 deleting '/nix/store/fwh4fxd747m0py3ib3s5abamia9nrf90-glibc-2.39-52-dev'
#8 41.95 deleting '/nix/store/0lfxbmchigx9vs9qmrlbahcy6nxwfnj1-patch-2.7.6'
#8 41.95 deleting '/nix/store/rik7p68cq7yzlj5pmfpf4yv6jnrpvlgf-gnutar-1.35'
#8 41.96 deleting '/nix/store/6i4xxaa812vsbli9jkq4mksdddrk27lw-xz-5.4.6-bin'
#8 41.96 deleting '/nix/store/lphbn1va4i43fj7f3m9xskf9y86khzf3-xz-5.4.6'
#8 41.97 deleting '/nix/store/6kqw9f22a7z3c9822cn3rvhlrddfs4ld-libssh2-1.11.0-dev'
#8 41.97 deleting '/nix/store/qj7xqrfka9qa6g4rlrncdjvn5g3555db-openssl-3.0.13-dev'
#8 41.97 deleting '/nix/store/xx7x1dwybpssfhq8yikvzz38bh3yrq97-file-5.45'
#8 41.97 deleting '/nix/store/z6i13v50c8z5p9y2zr0nhnls2jd5pini-nghttp2-1.61.0-dev'
#8 41.97 deleting '/nix/store/i34mknsjgrfyy71k2h79gda0bvagzc2j-diffutils-3.10'
#8 41.98 deleting '/nix/store/xz8mzas29lck99m79q211n0v5h1cmd40-linux-headers-6.7'
#8 42.01 deleting '/nix/store/x8l5i68xcy2iyr0gwy71s1f0mh8s5c33-isl-0.20'
#8 42.01 deleting '/nix/store/apgkacswgpsi921ciavm42vmi6hbwj9c-libssh2-1.11.0'
#8 42.01 deleting '/nix/store/inykngf6apy6x34kvw44bi2ymkkbwagr-source'
#8 42.01 deleting '/nix/store/8vvkbgmnin1x2jkp7wcb2zg1p0vc4ks9-gawk-5.2.2'
#8 42.02 deleting '/nix/store/c2i631h8i5vcs1sqifwxfsazhwrg6wr5-glibc-2.39-52-bin'
#8 42.02 deleting '/nix/store/g3vi60zgyjsvij7xkk6dxky1hkwh0ynd-pcre2-10.43'
#8 42.02 deleting '/nix/store/4kdszldqyhy41ig1wc2zrb1iz70y2qpv-libraries'
#8 42.02 deleting '/nix/store/ls108c83hxrwzj922hhxf88rq53z10vq-gmp-6.3.0'
#8 42.02 deleting '/nix/store/xvfn982i105iwpyy8vdz1cf8cbf3rknd-curl-8.7.1-man'
#8 42.02 deleting '/nix/store/cdzpn0rdq810aknww3w9fy3wmw9ixr66-gnumake-4.4.1'
#8 42.03 deleting '/nix/store/3aiwp69d5ypc79qra1r8j7mp0bwbz4f2-source'
#8 44.49 deleting '/nix/store/jjcsr5gs4qanf7ln5c6wgcq4sn75a978-findutils-4.9.0'
#8 44.49 deleting '/nix/store/1sffjkg6c6ff16fz5yr0pnz3j7vja42h-ed-1.20.2'
#8 44.49 deleting '/nix/store/5zjms21vpxlkbc0qyl5pmj2sidfmzmd7-gnused-4.9'
#8 44.50 deleting '/nix/store/rksy2w3fz3rcb20s7nml6pv8nwsslc7r-nghttp2-1.61.0-lib'
#8 44.50 deleting '/nix/store/nbad47q0m0m9c5xid7zh05hiknwircbp-patchelf-0.15.0'
#8 44.50 deleting '/nix/store/cgrhrh0bizyz5r05v74m0m590jl6v95d-openssl-3.0.13-bin'
#8 44.50 deleting '/nix/store/pqajcwpmpr0jspa4z8xhxxnnfqfy5al4-expand-response-params'
#8 44.50 deleting '/nix/store/favi04rnwy1jgnahqv33pjkccsrlj1mh-openssl-3.0.13'
#8 44.50 deleting '/nix/store/xwcf1rw3ackqp2vxms9myf9jq2ny6ynv-bzip2-1.0.8'
#8 44.50 deleting '/nix/store/j5chw7v1x3vlmf3wmdpdb5gwh9hl0b80-gzip-1.13'
#8 44.50 deleting '/nix/store/8zmxdjd25x8w494plgb61byxrn3n3wbp-nghttp2-1.61.0'
#8 44.50 deleting '/nix/store/4vkw8ifh2naxmxl323vzq0scm0l36c1v-builder.pl'
#8 44.50 deleting '/nix/store/0vcrqaqf5sk158xy77mcl52374c1dlbi-keyutils-1.6.3-lib'
#8 44.50 deleting unused links...
#8 44.51 note: currently hard linking saves -0.00 MiB
#8 44.52 60 store paths deleted, 513.64 MiB freed
#8 DONE 45.0s

#9 [stage-0 5/11] RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends curl wget
#9 0.363 Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
#9 0.408 Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
#9 0.456 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
#9 0.474 Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
#9 0.732 Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
#9 0.994 Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
#9 1.011 Get:7 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
#9 1.013 Get:8 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
#9 1.030 Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1438 kB]
#9 1.059 Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [51.8 kB]
#9 1.061 Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2499 kB]
#9 1.081 Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3045 kB]
#9 1.182 Get:13 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.7 kB]
#9 1.201 Get:14 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [81.4 kB]
#9 1.402 Get:15 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.7 kB]
#9 1.454 Get:16 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1149 kB]
#9 1.591 Get:17 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2967 kB]
#9 1.667 Get:18 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2224 kB]
#9 2.960 Fetched 33.9 MB in 3s (12.8 MB/s)
#9 2.960 Reading package lists...
#9 4.352 Reading package lists...
#9 5.606 Building dependency tree...
#9 5.906 Reading state information...
#9 6.245 The following additional packages will be installed:
#9 6.247 libcurl4
#9 6.297 The following NEW packages will be installed:
#9 6.297 wget
#9 6.297 The following packages will be upgraded:
#9 6.299 curl libcurl4
#9 6.361 2 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
#9 6.361 Need to get 822 kB of archives.
#9 6.361 After this operation, 950 kB of additional disk space will be used.
#9 6.361 Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 wget amd64 1.21.2-2ubuntu1.1 [339 kB]
#9 6.448 Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 curl amd64 7.81.0-1ubuntu1.17 [194 kB]
#9 6.458 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4 amd64 7.81.0-1ubuntu1.17 [290 kB]
#9 6.763 debconf: delaying package configuration, since apt-utils is not installed
#9 6.835 Fetched 822 kB in 0s (5206 kB/s)
#9 6.879 Selecting previously unselected package wget.
#9 6.879 (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 10736 files and directories currently installed.)
#9 6.941 Preparing to unpack .../wget_1.21.2-2ubuntu1.1_amd64.deb ...
#9 6.945 Unpacking wget (1.21.2-2ubuntu1.1) ...
#9 6.995 Preparing to unpack .../curl_7.81.0-1ubuntu1.17_amd64.deb ...
#9 7.011 Unpacking curl (7.81.0-1ubuntu1.17) over (7.81.0-1ubuntu1.16) ...
#9 7.043 Preparing to unpack .../libcurl4_7.81.0-1ubuntu1.17_amd64.deb ...
#9 7.054 Unpacking libcurl4:amd64 (7.81.0-1ubuntu1.17) over (7.81.0-1ubuntu1.16) ...
#9 7.113 Setting up wget (1.21.2-2ubuntu1.1) ...
#9 7.123 Setting up libcurl4:amd64 (7.81.0-1ubuntu1.17) ...
#9 7.128 Setting up curl (7.81.0-1ubuntu1.17) ...
#9 7.134 Processing triggers for libc-bin (2.35-0ubuntu3.7) ...
#9 DONE 7.4s

#10 [stage-0 6/11] COPY . /app/.
#10 DONE 0.1s

#11 [stage-0 7/11] RUN --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-/root/cache/Cypress,target=/root/.cache/Cypress --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-/root/local/share/pnpm/store/v3,target=/root/.local/share/pnpm/store/v3 pnpm i
#11 1.029 Scope: all 12 workspace projects
#11 1.179  WARN  Ignoring broken lockfile at /app: Lockfile /app/pnpm-lock.yaml not compatible with current pnpm
#11 1.410 Progress: resolved 1, reused 0, downloaded 0, added 0
#11 1.621
#11 1.621 ╭─────────────────────────────────────────────────────────────────╮
#11 1.621 │ │
#11 1.621 │ Update available! 8.15.9 → 9.9.0. │
#11 1.621 │ Changelog: https://github.com/pnpm/pnpm/releases/tag/v9.9.0 │
#11 1.621 │ Run "pnpm add -g pnpm" to update. │
#11 1.621 │ │
#11 1.621 │ Follow @pnpmjs for updates: https://twitter.com/pnpmjs │
#11 1.621 │ │
#11 1.621 ╰─────────────────────────────────────────────────────────────────╯
#11 1.621
#11 2.413 Progress: resolved 50, reused 47, downloaded 0, added 0
#11 3.414 Progress: resolved 89, reused 89, downloaded 0, added 0
#11 4.563 Progress: resolved 106, reused 105, downloaded 0, added 0
#11 5.718 Progress: resolved 107, reused 107, downloaded 0, added 0
#11 6.718 Progress: resolved 108, reused 108, downloaded 0, added 0
#11 7.719 Progress: resolved 121, reused 120, downloaded 0, added 0
#11 8.722 Progress: resolved 237, reused 230, downloaded 0, added 0
#11 9.723 Progress: resolved 298, reused 267, downloaded 0, added 0
#11 10.72 Progress: resolved 377, reused 327, downloaded 0, added 0
#11 11.91 Progress: resolved 474, reused 421, downloaded 0, added 0
#11 12.91 Progress: resolved 591, reused 501, downloaded 0, added 0
#11 13.91 Progress: resolved 771, reused 657, downloaded 0, added 0
#11 14.96 Progress: resolved 863, reused 720, downloaded 0, added 0
#11 15.97 Progress: resolved 916, reused 773, downloaded 0, added 0
#11 16.97 Progress: resolved 1031, reused 888, downloaded 0, added 0
#11 17.97 Progress: resolved 1159, reused 1016, downloaded 0, added 0
#11 18.97 Progress: resolved 1181, reused 1038, downloaded 0, added 0
#11 19.96  WARN  3 deprecated subdependencies found: [email protected], [email protected], [email protected]
#11 20.08 Progress: resolved 1190, reused 1047, downloaded 0, added 0
#11 20.11 Packages: +1036
#11 20.11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#11 21.08 Progress: resolved 1190, reused 1047, downloaded 0, added 199
#11 22.08 Progress: resolved 1190, reused 1047, downloaded 0, added 317
#11 23.09 Progress: resolved 1190, reused 1047, downloaded 0, added 607
#11 24.09 Progress: resolved 1190, reused 1047, downloaded 0, added 689
#11 25.09 Progress: resolved 1190, reused 1047, downloaded 0, added 705
#11 26.09 Progress: resolved 1190, reused 1047, downloaded 0, added 710
#11 27.09 Progress: resolved 1190, reused 1047, downloaded 0, added 744
#11 28.09 Progress: resolved 1190, reused 1047, downloaded 0, added 793
#11 29.09 Progress: resolved 1190, reused 1047, downloaded 0, added 872
#11 30.09 Progress: resolved 1190, reused 1047, downloaded 0, added 901
#11 31.09 Progress: resolved 1190, reused 1047, downloaded 0, added 926
#11 32.09 Progress: resolved 1190, reused 1047, downloaded 0, added 1033
#11 33.09 Progress: resolved 1190, reused 1047, downloaded 0, added 1035
#11 33.72 Progress: resolved 1190, reused 1047, downloaded 0, added 1036, done
#11 34.26 .../[email protected]/node_modules/esbuild postinstall$ node install.js
#11 34.29 .../node_modules/@biomejs/biome postinstall$ node scripts/postinstall.js
#11 34.32 .../[email protected]/node_modules/esbuild postinstall$ node install.js
#11 34.33 .../[email protected]/node_modules/prisma preinstall$ node scripts/preinstall-entry.js
#11 34.62 .../[email protected]/node_modules/prisma preinstall: Done
#11 34.64 .../node_modules/@biomejs/biome postinstall: Done
#11 34.73 .../[email protected]/node_modules/esbuild postinstall: Done
#11 34.77 .../[email protected]/node_modules/esbuild postinstall: Done
#11 34.93 .../[email protected]/node_modules/sharp install$ node install/check
#11 34.95 .../node_modules/@prisma/client postinstall$ node scripts/postinstall.js
#11 35.10 .../[email protected]/node_modules/sharp install: Done
#11 35.77 .../node_modules/@prisma/client postinstall: Environment variables loaded from .env
#11 35.77 .../node_modules/@prisma/client postinstall: prisma:warn We could not find your Prisma schema in the default locations (see: https://pris.ly/d/prisma-schema-location).
#11 35.77 .../node_modules/@prisma/client postinstall: If you have a Prisma schema file in a custom path, you will need to run
#11 35.77 .../node_modules/@prisma/client postinstall: `prisma generate --schema=./path/to/your/schema.prisma` to generate Prisma Client.
#11 35.77 .../node_modules/@prisma/client postinstall: If you do not have a Prisma schema file yet, you can ignore this message.
#11 35.80 .../node_modules/@prisma/client postinstall: Done
#11 39.41
#11 39.41 devDependencies:
#11 39.41 + @biomejs/biome 1.8.3
#11 39.41 + dotenv-cli 7.4.2
#11 39.41 + tsconfig 0.0.0 <- tooling/typescript
#11 39.41 + turbo 2.1.1
#11 39.41 + typescript 5.5.4
#11 39.41
#11 39.41 Done in 39.2s
#11 DONE 39.6s

#12 [stage-0 8/11] COPY . /app/.
#12 DONE 0.4s

#13 [stage-0 9/11] RUN --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-apps/web/next/cache,target=/app/apps/web/.next/cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-node_modules/cache,target=/app/node_modules/.cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-packages/api/next/cache,target=/app/packages/api/.next/cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-packages/auth/next/cache,target=/app/packages/auth/.next/cache pnpm build
#13 0.870
#13 0.870 > supastarter-nextjs@ build /app
#13 0.870 > dotenv -c -- turbo build
#13 0.870
#13 1.098
#13 1.098 Attention:
#13 1.098 Turborepo now collects completely anonymous telemetry regarding usage.
#13 1.098 This information is used to shape the Turborepo roadmap and prioritize features.
#13 1.098 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
#13 1.098 https://turbo.build/repo/docs/telemetry
#13 1.098
#13 1.098 turbo 2.1.1
#13 1.098
#13 1.213 • Packages in scope: api, auth, database, i18n, logs, mail, storage, tailwind-config, tsconfig, utils, web
#13 1.213 • Running build in 11 packages
#13 1.213 • Remote caching disabled
#13 1.301 database:db:generate: cache bypass, force executing dbd59b63ef667818
#13 1.994 database:db:generate:
#13 1.995 database:db:generate: > [email protected] db:generate /app/packages/database
#13 1.995 database:db:generate: > prisma generate
#13 1.995 database:db:generate:
#13 2.590 database:db:generate: Prisma schema loaded from prisma/schema.prisma
#13 4.585 database:db:generate:
#13 4.585 database:db:generate: ✔ Generated Prisma Client (v5.19.1) to ./../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client in 169ms
#13 4.585 database:db:generate:
#13 4.585 database:db:generate: ✔ Generated Zod Prisma Types to ./src/zod in 275ms
#13 4.585 database:db:generate:
#13 4.585 database:db:generate: Start by importing your Prisma Client (See: http://pris.ly/d/importing-client)
#13 4.585 database:db:generate:
#13 4.585 database:db:generate: Tip: Interested in query caching in just a few lines of code? Try Accelerate today! https://pris.ly/tip-3-accelerate
#13 4.585 database:db:generate:
#13 4.845 web:build: cache miss, executing 8875117b21cf481f
#13 5.514 web:build:
#13 5.514 web:build: > [email protected] build /app/apps/web
#13 5.514 web:build: > next build
#13 5.514 web:build:
#13 7.081 web:build: Starting content-collections content-collections.ts
#13 7.373 web:build: build started ...
#13 11.16 web:build:
#13 11.16 web:build: > Build error occurred
#13 11.16 web:build: TypeError: Cannot read properties of undefined (reading 'collections')
#13 11.16 web:build: at EventEmitter. (/app/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@content-collections/integrations/dist/index.cjs:70:19)
#13 11.16 web:build: at EventEmitter.emit (node:events:520:28)
#13 11.16 web:build: at Object.emit (file:///app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@content-collections/core/dist/index.js:640:13)
#13 11.16 web:build: at Object.build2 [as build] (file:///app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@content-collections/core/dist/index.js:803:13)
#13 11.16 web:build: at async /app/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@content-collections/next/dist/index.cjs:51:7
#13 11.16 web:build: at async normalizeConfig (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/server/config-shared.js:160:12)
#13 11.16 web:build: at async loadConfig (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/server/config.js:714:28)
#13 11.16 web:build: at async Span.traceAsyncFn (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/trace/trace.js:154:20)
#13 11.16 web:build: at async /app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/build/index.js:372:28
#13 11.16 web:build: at async Span.traceAsyncFn (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/trace/trace.js:154:20)
#13 11.19 web:build:  ELIFECYCLE  Command failed with exit code 1.
#13 11.22 web:build: ERROR: command finished with error: command (/app/apps/web) /root/.nix-profile/bin/pnpm run build exited (1)
#13 11.22 web#build: command (/app/apps/web) /root/.nix-profile/bin/pnpm run build exited (1)
#13 11.23
#13 11.23 Tasks: 1 successful, 2 total
#13 11.23 Cached: 0 cached, 2 total
#13 11.23 Time: 10.121s
#13 11.23 Failed: web#build
#13 11.23
#13 11.24 ERROR run failed: command exited (1)
#13 11.50  ELIFECYCLE  Command failed with exit code 1.
#13 ERROR: process "/bin/bash -ol pipefail -c pnpm build" did not complete successfully: exit code: 1
------
> [stage-0 9/11] RUN --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-apps/web/next/cache,target=/app/apps/web/.next/cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-node_modules/cache,target=/app/node_modules/.cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-packages/api/next/cache,target=/app/packages/api/.next/cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-packages/auth/next/cache,target=/app/packages/auth/.next/cache pnpm build:
11.22 web:build: ERROR: command finished with error: command (/app/apps/web) /root/.nix-profile/bin/pnpm run build exited (1)
11.22 web#build: command (/app/apps/web) /root/.nix-profile/bin/pnpm run build exited (1)
11.23
11.23 Tasks: 1 successful, 2 total
11.23 Cached: 0 cached, 2 total
11.23 Time: 10.121s
11.23 Failed: web#build
11.23
11.24 ERROR run failed: command exited (1)
11.50  ELIFECYCLE  Command failed with exit code 1.
------
Dockerfile:24
--------------------
22 | # build phase
23 | COPY . /app/.
24 | >>> RUN --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-apps/web/next/cache,target=/app/apps/web/.next/cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-node_modules/cache,target=/app/node_modules/.cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-packages/api/next/cache,target=/app/packages/api/.next/cache --mount=type=cache,id=mo40w8oc0ocwo0owww0ck8cg-packages/auth/next/cache,target=/app/packages/auth/.next/cache pnpm build
25 |
26 |
--------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c pnpm build" did not complete successfully: exit code: 1
[2024-Sep-05 19:37:49.507960] Deployment failed. Removing the new version of your application.

Version

v4.0.0-beta.329

Cloud?

  • Yes
  • No
@devhe4d
Copy link

devhe4d commented Sep 6, 2024

I'm having the same issue

@dmltdev
Copy link

dmltdev commented Sep 7, 2024

Did you try a different version? Maybe [email protected], for example.
It's also good to add nixpacks.toml to your project's codebase and include there a Node.js version:
NIXPACKS_NODE_VERSION=20

@faizmohani
Copy link

Try check in every pages in your project have apostrophe ( ' ) in any page. In my case, I remove every apostrophe ( ' ) & redeploy. It worked for me

@umutbozdag
Copy link
Author

I have tried with different version, it didn't work. I had to deploy via Dockerfile manually

@alessio-zamparelli
Copy link

maybe found a way:
pass NODE_OPTIONS=--max_old_space_size=4096 (or set the env in any way) as env for the build phase

@peaklabs-dev
Copy link
Member

This is most likely a Nixpacks configuration issue, not a bug in Coolify. If this issue is still present, feel free to reopen or create a new issue with a sample repository so we can investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants