build failed "occationally"
ymc182
PROOP

2 years ago

After pusing new commit, I encounter build fail occationally, local build runs fine, and "sometimes" same commit built successfully as well

18 | ENV NIXPACKSPATH /app/nodemodules/.bin:$NIXPACKS_PATH

19 | COPY . /app/.

20 | >>> RUN --mount=type=cache,id=s/a138e57e-4f23-43c8-a998-b218eedc81ad-/root/local/share/pnpm/store/v3,target=/root/.local/share/pnpm/store/v3 pnpm i --frozen-lockfile

21 |

22 | # build phase

ERROR: failed to solve: process "/bin/bash -ol pipefail -c pnpm i --frozen-lockfile" did not complete successfully: exit code: 1

Error: Docker build failed

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

6 Replies


ymc182
PROOP

2 years ago

please find the attached build log

Attachments


ymc182
PROOP

2 years ago

//


2 years ago

Form your build logs -

sh: 1: yarn: not found

Any idea why your build wants yarn?


ymc182
PROOP

2 years ago

no idea, I am using pnpm both local and deploy╔═════════════ Nixpacks v1.24.0 ════════════╗

Jun 04 11:14:32

║ setup │ nodejs_18, pnpm-8_x, openssl ║

Jun 04 11:14:32

║───────────────────────────────────────────║

Jun 04 11:14:32

║ install │ pnpm i --frozen-lockfile ║

Jun 04 11:14:32

║───────────────────────────────────────────║

Jun 04 11:14:32

║ build │ pnpm run build ║

Jun 04 11:14:32

║───────────────────────────────────────────║

Jun 04 11:14:32

║ start │ pnpm run start ║

Jun 04 11:14:32

╚═══════════════════════════════════════════╝


2 years ago

Something is trying to use yarn, please investigate if possible.


Loading...