R
Railway3mo ago
Taio

Builds failing suddenly

I have done some changes and suddenly builds are failing. Thought this was due to changes i have pushed but I have redeployed a previous build and the error still occurs. In the image I did a build 21 hours ago, that was successful. I have done a redeploy of the same build at the end showing 15 minutes ago and the build fails too
No description
22 Replies
Percy
Percy3mo ago
Project ID: 4f4f01e5-e5da-4e74-9885-a528f14bc4da
Taio
Taio3mo ago
4f4f01e5-e5da-4e74-9885-a528f14bc4da
Taio
Taio3mo ago
That is the 'staging' environment build. Have done a redeploy of the prod build that was successful 4 days ago and that is failing too. See below
No description
Brody
Brody3mo ago
it's very hard to help with the issue when we aren't told the issue, please provide your build logs with this https://bookmarklets.up.railway.app/log-downloader/
Taio
Taio3mo ago
I haven't changed any configs recently I just assumed it was a build issue on railway not on my code or any changed railway configs
Brody
Brody3mo ago
do you have a nixpacks.toml file?
Taio
Taio3mo ago
Yes [phases.setup] nixPkgs = ['nodejs', 'yarn'] [phases.install] cmds=['yarn install']
Brody
Brody3mo ago
do you have a yarn lock file
Taio
Taio3mo ago
i have a package-lock.json
Brody
Brody3mo ago
do you use yarn or npm locally?
Taio
Taio3mo ago
I use npm, am guessing I should change the nixpacks to npm No, this causes an error 1 minute into build
Brody
Brody3mo ago
please delete your nixpacks.toml file
Taio
Taio3mo ago
Brody
Brody3mo ago
you have conflicting peer dependencies, please fix that
Taio
Taio3mo ago
How can i change this command install │ npm ci to something along the line of --legacy peer deps, I only see how to override build command and have the script in
Brody
Brody3mo ago
ideally you would properly fix the conflicting peer dependencies, do you not have any interest in that?
Taio
Taio3mo ago
Okay, done. First the image size went from 2gb to 500mb after somehow switching to npm, wild. Second the server still does not start :mildpanic:
Taio
Taio3mo ago
I'll take the rest back to Medusa. I think there is an offending plugin Thanks:1010:
Brody
Brody3mo ago
happy to help where i can
Want results from more Discord servers?
Add your server
More Posts
Custom build script crashingFailing to build my monorepo project with a custom build script (was working fine with the defaults)Blue/Green Deployment - Traffic To New Deployments DelayedHi Railway, Today we did a deployment at around 8:12AM UTC, all of the services that are deployed sTaking back-up of postgres databaseHey — I'm trying to back-up a postgres db from my Railway project to my Mac. I found this guide: httRestoring the pg_dump from the postgres-s3-backups toolWe have a bunch of database dumps via this tool: https://github.com/railwayapp-templates/postgres-s3We're getting too many database connections and need to scale - what options are available?db is locking due to too many connections. do I have options within railway to scale?Need help with Timezones jsRailway is hosted somewhere else so the Date.now() is showing for somewhere else, how can I fix thisPrivate URL not working (public URL works fine)I've spun a new database service inside my project to run a libSQL database (https://github.com/tursProblems getting images and displaying console.log() on a Railway deploymentA request is made from the client to the server to obtain articles. In the Visual Studio Code deployPath to the TLS keystore file not defined.`Path to the TLS keystore file not defined. Please set the KEYCLOAK_HTTPS_KEY_STORE_FILE variable toDid railway block Nigerian IP addresses from accessing their site?This has been going on for about a week now, i can’t the railway site from Nigeria unless I use a v