R
Railway3y ago
snöw

Builds failing due to yarn install errors

Builds started failing this morning, seems like a caching error? Is it just me or a wider incident?
7 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
snöw
snöwOP3y ago
project ID 6b7c1316-6663-4a65-b8fe-8d9f0e3db697 both production and staging environments
#1 [internal] load build definition from Dockerfile
#1 sha256:e46246701d403001b41bf2f32f532a2b7dfb92d9e16d9e8434c8d609801d0190
#1 transferring dockerfile: 3.42kB done

#1 DONE 0.2s

#2 [internal] load .dockerignore
#2 sha256:7161491ebd6e83afe872e004044e34efc08aa16faab23b00cbf00590ee5cef4e
#2 transferring context: 2B done

#2 DONE 0.2s


#3 [internal] load metadata for ghcr.io/railwayapp/nixpacks:debian-1663632552
#3 sha256:c23add65f5bb4bd5e51672d178ee1eca34cc02413440a25899b24614a030e37d

#3 DONE 0.2s


#4 [stage-0 1/9] FROM ghcr.io/railwayapp/nixpacks:debian-1663632552@sha256:14eb1825ec5100a76d4c07ce0267211f748d1163d373c45bd235f658af363314

#4 sha256:139fbcaf930e0b3fe65d8bbbeae341c295a5b3779bdc7483df55f1f74e510637
#4 DONE 0.0s

#5 [stage-0 2/9] WORKDIR /app/
#5 sha256:115b5b23e0fb6623a24b5e9072e2799efd9dbdcc05e643b7e11075f1b4e835dc
#5 CACHED

#6 [internal] load build context
#6 sha256:735a77df220867ba765370f767e81595d2055dbd2564d473427e16b8b58ec6e0
#6 transferring context: 3.20MB 0.0s done
#6 DONE 0.1s
#1 [internal] load build definition from Dockerfile
#1 sha256:e46246701d403001b41bf2f32f532a2b7dfb92d9e16d9e8434c8d609801d0190
#1 transferring dockerfile: 3.42kB done

#1 DONE 0.2s

#2 [internal] load .dockerignore
#2 sha256:7161491ebd6e83afe872e004044e34efc08aa16faab23b00cbf00590ee5cef4e
#2 transferring context: 2B done

#2 DONE 0.2s


#3 [internal] load metadata for ghcr.io/railwayapp/nixpacks:debian-1663632552
#3 sha256:c23add65f5bb4bd5e51672d178ee1eca34cc02413440a25899b24614a030e37d

#3 DONE 0.2s


#4 [stage-0 1/9] FROM ghcr.io/railwayapp/nixpacks:debian-1663632552@sha256:14eb1825ec5100a76d4c07ce0267211f748d1163d373c45bd235f658af363314

#4 sha256:139fbcaf930e0b3fe65d8bbbeae341c295a5b3779bdc7483df55f1f74e510637
#4 DONE 0.0s

#5 [stage-0 2/9] WORKDIR /app/
#5 sha256:115b5b23e0fb6623a24b5e9072e2799efd9dbdcc05e643b7e11075f1b4e835dc
#5 CACHED

#6 [internal] load build context
#6 sha256:735a77df220867ba765370f767e81595d2055dbd2564d473427e16b8b58ec6e0
#6 transferring context: 3.20MB 0.0s done
#6 DONE 0.1s
#7 [stage-0 3/9] COPY .nixpacks/setup.nix .nixpacks/setup.nix
#7 sha256:00b5b2826995303b6988a0af14a7fc6dc4db05be6886872db2b7389ceea1a5b6
#7 CACHED

#8 [stage-0 4/9] RUN nix-env -if .nixpacks/setup.nix && nix-collect-garbage -d
#8 sha256:5d5fd7287cebd3a6a6b881336dfc9ca1a8fa7dda1f27e3f409f67a110ab22f9d
#8 CACHED

#9 [stage-0 5/9] RUN printf '\nPATH=/app/node_modules/.bin:$PATH' >> /root/.profile
#9 sha256:359662f0d635a3b5bb1370b0eec4793806d4acddb9e75171326fa867e743741a

#9 DONE 0.6s


#10 [stage-0 6/9] COPY . /app/
#10 sha256:529bac82d45938df2e8f60fee85fece3f99ed6a312eb2d72fde9d442ce8f1b07

#10 DONE 0.2s


#11 [stage-0 7/9] RUN --mount=type=cache,id=s/b4e4729a-cf4f-4ab5-8555-0eddffdcc339-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile
#11 sha256:883cbb7427418759bbeb8ca9ded54a297fc2493388cff5033f2f39e1dcd66a8d

#11 0.824 yarn install v1.22.19

#11 0.928 [1/4] Resolving packages...

#11 1.420 [2/4] Fetching packages...

#11 3.337 error An unexpected error occurred: "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.112.0.tgz: ENOENT: no such file or directory, open '/usr/local/share/.cache/yarn/v6/npm-@aws-sdk-client-s3-3.112.0-ee3e35a34f80d133e4a3d42bba099678e4945bf4-integrity/node_modules/@aws-sdk/client-s3/.yarn-tarball.tgz'".
#11 3.337 info If you think this is a bug, please open a bug report with the information provided in "/app/yarn-error.log".
#11 3.337 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

#11 ERROR: executor failed running [/bin/bash -ol pipefail -c yarn install --frozen-lockfile]: exit code: 1
-----
> [stage-0 7/9] RUN --mount=type=cache,id=s/b4e4729a-cf4f-4ab5-8555-0eddffdcc339-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile:
-----
executor failed running [/bin/bash -ol pipefail -c yarn install --frozen-lockfile]: exit code: 1

Error: Docker build failed
#7 [stage-0 3/9] COPY .nixpacks/setup.nix .nixpacks/setup.nix
#7 sha256:00b5b2826995303b6988a0af14a7fc6dc4db05be6886872db2b7389ceea1a5b6
#7 CACHED

#8 [stage-0 4/9] RUN nix-env -if .nixpacks/setup.nix && nix-collect-garbage -d
#8 sha256:5d5fd7287cebd3a6a6b881336dfc9ca1a8fa7dda1f27e3f409f67a110ab22f9d
#8 CACHED

#9 [stage-0 5/9] RUN printf '\nPATH=/app/node_modules/.bin:$PATH' >> /root/.profile
#9 sha256:359662f0d635a3b5bb1370b0eec4793806d4acddb9e75171326fa867e743741a

#9 DONE 0.6s


#10 [stage-0 6/9] COPY . /app/
#10 sha256:529bac82d45938df2e8f60fee85fece3f99ed6a312eb2d72fde9d442ce8f1b07

#10 DONE 0.2s


#11 [stage-0 7/9] RUN --mount=type=cache,id=s/b4e4729a-cf4f-4ab5-8555-0eddffdcc339-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile
#11 sha256:883cbb7427418759bbeb8ca9ded54a297fc2493388cff5033f2f39e1dcd66a8d

#11 0.824 yarn install v1.22.19

#11 0.928 [1/4] Resolving packages...

#11 1.420 [2/4] Fetching packages...

#11 3.337 error An unexpected error occurred: "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.112.0.tgz: ENOENT: no such file or directory, open '/usr/local/share/.cache/yarn/v6/npm-@aws-sdk-client-s3-3.112.0-ee3e35a34f80d133e4a3d42bba099678e4945bf4-integrity/node_modules/@aws-sdk/client-s3/.yarn-tarball.tgz'".
#11 3.337 info If you think this is a bug, please open a bug report with the information provided in "/app/yarn-error.log".
#11 3.337 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

#11 ERROR: executor failed running [/bin/bash -ol pipefail -c yarn install --frozen-lockfile]: exit code: 1
-----
> [stage-0 7/9] RUN --mount=type=cache,id=s/b4e4729a-cf4f-4ab5-8555-0eddffdcc339-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile:
-----
executor failed running [/bin/bash -ol pipefail -c yarn install --frozen-lockfile]: exit code: 1

Error: Docker build failed
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
snöw
snöwOP3y ago
✅ passed the install step now, thanks!
snöw
snöwOP3y ago
aaand running into another issue now
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
snöw
snöwOP3y ago
worked after 2 redeploys p.s. a redeploy button would be nice for these occasions 🙂 but thanks!
Want results from more Discord servers?
Add your server