2 months 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.
5 Replies
2 months ago
Can you confirm that this builds locally?
2 months ago
Is this repository open source?
2 months ago
The error is a whole bunch of invalid library usage-esque errors
2 months ago
It's hard to tell the issue without seeing the source
one minute it was working, the next minute after removing log statement from the code, deploying it stopped working with that error
2 months 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.
2 months ago
And here's the actual actual error
2 months 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.
2 months ago
Apologies for the formatting
2 months ago
I have this issue too. 2 of my pipelines are stuck at "build - publish" on railway
but its works locally, it was working initially till i removed a log statement
Status changed to Open brody • about 2 months ago
2 months 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.
2 months ago
Don't think these are related- OP here has an issue with compilation. Not hanging.
2 months ago
We are also getting extreme container build times and are also unable to deploy an environment variable change to a postgres service
2 months ago
Possibly related to the current outage. See a bit more in https://discord.com/channels/713503345364697088/1427762828907122862.
2 months ago
Issue should be resolved now
2 months ago
The outage, your issue was unrelated to that.
2 months ago
Completely unrelated the outage.
its fraustrating, i have spent more than 5hours on that particualr issue
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
2 months ago
!s
Status changed to Solved uxuz • about 2 months ago