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.
5 Replies
a month ago
Can you confirm that this builds locally?
a month ago
Is this repository open source?
a month ago
The error is a whole bunch of invalid library usage-esque errors
a month 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
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.
a month ago
And here's the actual actual error
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.
a month ago
Apologies for the formatting
a month 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 1 month ago
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.
a month ago
Don't think these are related- OP here has an issue with compilation. Not hanging.
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
a month ago
Possibly related to the current outage. See a bit more in https://discord.com/channels/713503345364697088/1427762828907122862.
a month ago
Issue should be resolved now
a month ago
The outage, your issue was unrelated to that.
a month 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
a month ago
!s
Status changed to Solved uxuz • about 1 month ago