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:Jump to 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.
8 Replies
Project ID:
ccd6abb7-bb57-4595-aba7-cdc3db5dcbde
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
}
}
do you have a failing health check?
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
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
I've discovered the issue through a Reddit post, it was with the scheduler package that was trying to run during the build process.
Appreciate your time @Brody 🫡
no problem! happy you found the issue!