pnpm install is failing with no discernable error message

Hey, my build is failing because pnpm install is failing - no useful error message is printed. On the branch i'm on, pnpm install works fine locally + in our current production servers (ubuntu 22.04). Could it be a node version mismatch or similar?
Dockerfile:21

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

19 | RUN mkdir -p /var/log/nginx && mkdir -p /var/cache/nginx

20 | RUN composer install --ignore-platform-reqs

21 | >>> RUN pnpm i --frozen-lockfile

22 |

23 | # 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
Dockerfile:21

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

19 | RUN mkdir -p /var/log/nginx && mkdir -p /var/cache/nginx

20 | RUN composer install --ignore-platform-reqs

21 | >>> RUN pnpm i --frozen-lockfile

22 |

23 | # 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
Solution:
ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
...
Jump to solution
12 Replies
Percy
Percy10mo ago
Project ID: N/A
danmatthews
danmatthews10mo ago
Any other way to download it? that bookmarklet doesn't work in Arc Project ID: a50a13cc-74ec-4823-bfa3-f427053e0d5e
Brody
Brody10mo ago
other than copy pasting manually into a log file, nope
danmatthews
danmatthews10mo ago
deployment id 3cd28f52-4875-4fc4-8a91-6fd5b51dc219
danmatthews
danmatthews10mo ago
If someone asks in the future, they can copy + paste the source into the console.
root
root10mo ago
That doesn't look like the full build logs?
Solution
Brody
Brody10mo ago
ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
root
root10mo ago
never mind, it's just discord
danmatthews
danmatthews10mo ago
🤦 sorry i missed that one will mark as solved, sorry to waste your time there folks!
Brody
Brody10mo ago
no worries!
Want results from more Discord servers?
Add your server