failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: ex
amddi
TRIALOP

2 years ago

I'm encountering an error when deploying my React application with TypeScript on Railway. The build fails with the following error:

Dockerfile:29

27 | # build phase 28 | COPY . /app/. 29 | >>> RUN --mount=type=cache,id=s/5ae5d974-de73-4ff3-8547-a3251e249f00-node_modules/cache,target=/app/node_modules/.cache npm run build 30 | 31 | # fmt phase

ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1

Error: Docker build failed

1 Replies

2 years ago

please review the entire contents of your build logs


Welcome!

Sign in to your Railway account to join the conversation.

Loading...