Build Failure After Plan Migration

jcbeho
HOBBY

2 months ago

After migrating from the free plan to a paid plan, my application build is failing with exit code 254. This build process worked perfectly on the free plan.

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

$10 Bounty

4 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


2 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody โ€ข about 2 months ago


shxkm
PRO

2 months ago

Did you modify the build command or anything? -ol pipefail looks like a typo that should be -o pipefail.


shxkm

Did you modify the build command or anything? -ol pipefail looks like a typo that should be -o pipefail.

2 months ago

I agree with shxkm, it looks like -ol is a typo in flags https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425


jcbeho
HOBBY

2 months ago

Issue Resolved

Solution: Railway โ†’ Project Settings โ†’ Deploy โ†’ Resources โ†’ upgrade MEMORY to 8GB for build. After successful build, reverted to lower memory, then adjusted to optimal memory allocation.

Thank you.


Build Failure After Plan Migration - Railway Help Station