R
Railway9mo ago
Samk

Nuxt Build Issue

I am having issues with my deployment, I have just made some upgrades to some packages and it no longer completes the build phase. The console shows its completed but the deploy phase doesnt take over..
Solution:
I've discovered the issue through a Reddit post, it was with the scheduler package that was trying to run during the build process.
Jump to solution
8 Replies
Percy
Percy9mo ago
Project ID: ccd6abb7-bb57-4595-aba7-cdc3db5dcbde
Samk
SamkOP9mo ago
ccd6abb7-bb57-4595-aba7-cdc3db5dcbde Nuxt build finishes with: #12 103.5 [success] [nitro] You can preview this build using 'node .output/server/index.mjs' Then the Deploy log tab shows:
Waiting for deploy to finish...
Here is schema: { "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "NIXPACKS", "buildCommand": "yarn build" }, "deploy": { "numReplicas": 1, "startCommand": "yarn start", "sleepApplication": false, "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 } }
Brody
Brody9mo ago
do you have a failing health check?
Samk
SamkOP9mo ago
I don’t think I have ever configured healthchecks in the past. Is this what you mean? https://docs.railway.app/guides/healthchecks-and-restarts
Samk
SamkOP9mo ago
I just checked one of my failed builds. And the error shows as: Deployment Failed during build process.. I don’t see any errors in the console though, apart from Build Timed Out
Solution
Samk
Samk9mo ago
I've discovered the issue through a Reddit post, it was with the scheduler package that was trying to run during the build process.
Samk
SamkOP9mo ago
Appreciate your time @Brody 🫡
Brody
Brody9mo ago
no problem! happy you found the issue!
Want results from more Discord servers?
Add your server