a year 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
[email protected] build /app
pnpm db:generate && nest build
[email protected] 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.
31 Replies
a year ago
Can you confirm that this builds locally?
a year ago
Is this repository open source?
a year ago
The error is a whole bunch of invalid library usage-esque errors
a year 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 year 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 year ago
And here's the actual actual error
a year 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 year ago
Apologies for the formatting
a year 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 year ago
a year 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 year ago
Don't think these are related- OP here has an issue with compilation. Not hanging.
a year ago
We are also getting extreme container build times and are also unable to deploy an environment variable change to a postgres service
a year ago
Possibly related to the current outage. See a bit more in https://discord.com/channels/713503345364697088/1427762828907122862.
a year ago
Issue should be resolved now
a year ago
The outage, your issue was unrelated to that.
a year ago
Completely unrelated the outage.
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 year ago
!s
Status changed to Solved uxuz • about 1 year ago