#pnpm install is failing with no discernable error message

16 messages · Page 1 of 1 (latest)

plain inlet
#

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
shell archBOT
#

Project ID: N/A

sterile anvil
plain inlet
#

Any other way to download it? that bookmarklet doesn't work in Arc

#

Project ID: a50a13cc-74ec-4823-bfa3-f427053e0d5e

sterile anvil
#

other than copy pasting manually into a log file, nope

plain inlet
#

deployment id 3cd28f52-4875-4fc4-8a91-6fd5b51dc219

#

If someone asks in the future, they can copy + paste the source into the console.

serene loom
#

That doesn't look like the full build logs?

sterile anvil
# plain inlet
ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
serene loom
#

never mind, it's just discord

plain inlet
#

🤦

#

sorry i missed that one

#

will mark as solved, sorry to waste your time there folks!

sterile anvil
#

no worries!