Error at pnpm when build
syahrulbhudif
TRIALOP

2 years ago

i got this error log

0.897  ERR_PNPM_LOCKFILE_BREAKING_CHANGE  Lockfile /app/pnpm-lock.yaml not compatible with current pnpm

#13 0.897

#13 0.897 Run with the --force parameter to recreate the lockfile.

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


[ 9/12] RUN pnpm i --frozen-lockfile:

0.897  ERR_PNPM_LOCKFILE_BREAKING_CHANGE  Lockfile /app/pnpm-lock.yaml not compatible with current pnpm

0.897

0.897 Run with the --force parameter to recreate the lockfile.


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

View Deploy details

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

0 Replies

Welcome!

Sign in to your Railway account to join the conversation.

Loading...