danmatthews
danmatthews
RRailway
Created by danmatthews on 1/31/2024 in #✋|help
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
17 replies