Unable to Deploy, Deployment fails at building phase

shipguardhq
HOBBYOP

a month ago

I have been trying to deploy my nestjs application on railway for more than 6hours and it will fail at the build command. I'm using pnpm as my package manager, prisma as my orm and laos i have include in the script prisma generate and it still fails.

Here is my project ID: 2d6f0bba-8383-4f4b-90fd-7621c60e6946

Here is the error log:
pnpm run build
16s

ship-guard@0.0.1 build /app
pnpm db:generate && nest build
ship-guard@0.0.1 db:generate /app
prisma generate
Prisma schema loaded from prisma/schema.prisma
✔ Generated Prisma Client (v6.17.1) to ./node_modules/.prisma/client in 200ms
Start by importing your Prisma Client (See: https://pris.ly/d/importing-client)
Tip: Need your database queries to be 1000x faster? Accelerate offers you that and more: https://pris.ly/tip-2-accelerate
Found 139 error(s).
 ELIFECYCLE  Command failed with exit code 1.

Solved$10 Bounty

5 Replies

Can you confirm that this builds locally?


shipguardhq
HOBBYOP

a month ago

yes it does


Is this repository open source?


shipguardhq
HOBBYOP

a month ago

no private


The error is a whole bunch of invalid library usage-esque errors


It's hard to tell the issue without seeing the source


shipguardhq
HOBBYOP

a month ago

one minute it was working, the next minute after removing log statement from the code, deploying it stopped working with that error


caicapp
HOBBY

a month ago

It’s not working here either. It stays on “applying 1 change” and doesn’t start.
Before that, it actually began a deploy, but it got stuck for a long time, so I aborted it.


shipguardhq
HOBBYOP

a month ago

here is the full erorr message


shipguardhq
HOBBYOP

a month ago


And here's the actual actual error

1427763330193428542


Anonymous
FREE

a month ago

Stuck on applying 3 changes. Custom domains missing as well. Creating containers times out. Switching regions helped for a second but now breaking in us-west as well as us-east.


Apologies for the formatting


shipguardhq
HOBBYOP

a month ago

its fine


riki95
PRO

a month ago

I have this issue too. 2 of my pipelines are stuck at "build - publish" on railway


shipguardhq
HOBBYOP

a month ago

but its works locally, it was working initially till i removed a log statement


Status changed to Open brody about 1 month ago


riki95
PRO

a month ago

I have two Railway environments with different dashboard access issues:

- dev: Dashboard loads correctly

- prod: Dashboard never loads (continuous loading)

Both environments just failed deployment after deploying the same code.


Don't think these are related- OP here has an issue with compilation. Not hanging.


daxelrod
PRO

a month ago

We are also getting extreme container build times and are also unable to deploy an environment variable change to a postgres service


Possibly related to the current outage. See a bit more in https://discord.com/channels/713503345364697088/1427762828907122862.


shipguardhq
HOBBYOP

a month ago

can i build locally and deploy directly on railway


shipguardhq
HOBBYOP

a month ago

as issue still persist


Issue should be resolved now


shipguardhq
HOBBYOP

a month ago

not resolved


The outage, your issue was unrelated to that.


shipguardhq
HOBBYOP

a month ago


shipguardhq
HOBBYOP

a month ago

no its not, having build issue on railway


Completely unrelated the outage.


shipguardhq
HOBBYOP

a month ago

its fraustrating, i have spent more than 5hours on that particualr issue


shipguardhq
HOBBYOP

a month ago

fixed it, railway is using a old version of pnpm which is failing all my build

had to specify on the package.json to use the latest pnpm version, like i used locally


a month ago

!s


Status changed to Solved uxuz about 1 month ago


Loading...