R
Railway•14mo ago
Ginyto

Deployment Failed during build process

Hello, I'm trying to deploy but, each time it gets stuck in "building for production..." for around 20 minutes and then i am getting "Build timed out". This is the first time i'm getting this issue for this project, when i "npm run build" localy everythings work. I'm trying to have some logs but even vue cli build --verbose does not provide any information Thanks for your time ! ID -> 6d27af21-daa3-4d50-8357-6b3b69c4ff89
No description
No description
No description
28 Replies
Brody
Brody•14mo ago
what node version are you using locally and what node version is railway using
Ginyto
GinytoOP•14mo ago
No description
No description
Brody
Brody•14mo ago
what node version are you using locally?
Ginyto
GinytoOP•14mo ago
v18.9.1
Brody
Brody•14mo ago
oh sorry discord absolutely bugging, it was only showing a single thumbnail of that nixpacks table and complexly left out your node version screenshot
Ginyto
GinytoOP•14mo ago
no probleme ! 🙂
Brody
Brody•14mo ago
shot in the dark here, but try setting a service variable CI to false
Ginyto
GinytoOP•14mo ago
I've try to "CI=false npm run build" here in build command on railway
No description
Brody
Brody•14mo ago
use a service variable please
Ginyto
GinytoOP•14mo ago
It din’t work
No description
Ginyto
GinytoOP•14mo ago
Almost 20 minutes of building
Brody
Brody•14mo ago
damn I didn't think you'd actually wait that long if it's stuck at that stage for more than 2 minutes something is wrong can you share your repo?
Brody
Brody•14mo ago
make it public please
Ginyto
GinytoOP•14mo ago
Done
Brody
Brody•14mo ago
you just leaked your database credentials, please go and regen them in the plugins settings
Ginyto
GinytoOP•14mo ago
Thanks, done
Ginyto
GinytoOP•14mo ago
Is this something to do with my issue ?
No description
Brody
Brody•14mo ago
that was from september
Ginyto
GinytoOP•14mo ago
I may try to build and deploy from Railway CLI
No description
Brody
Brody•14mo ago
that incident is resolved, but you can try the cli
Ginyto
GinytoOP•14mo ago
Are you familiar with vue cli ? I’m trying to find a way to show some logs to see what going on during build production
Brody
Brody•14mo ago
im not
Medim
Medim•14mo ago
vue-cli is deprecated btw
Brody
Brody•14mo ago
looks like you updated a whole lot of packages 20 hours ago, try reverting to the commit made on feb 8
Medim
Medim•14mo ago
and when u build for prod with it, it generate some logs thats all the logs u can get for it (just use vite or nitro for your own peace of mind, vue-cli sucks)
Brody
Brody•14mo ago
1. split your backend and frontend into separate sub folders (isolated monorepo) https://docs.railway.app/deploy/monorepo#isolated-monorepo 2. move to vite on your frontend thats your game plan, get working!
Ginyto
GinytoOP•14mo ago
Thanks gonna try it
Want results from more Discord servers?
Add your server