R
Railway15mo ago
MiguelDP

express API Build timed out

I'm trying to put online a small express API demo for my students however the build always times out. From what I can see from my build logs, everything works perfectly and starts up but as soon as its up and running it stays there for 10 minutes after which it times out. I've put the code publicly available here: https://github.com/SgtBlade/API_DEMO
GitHub
GitHub - SgtBlade/API_DEMO
Contribute to SgtBlade/API_DEMO development by creating an account on GitHub.
Solution:
you are starting the server during the build phase, thus the build is trying to run forever. rename the start script to dev rename the build script to start...
Jump to solution
4 Replies
Percy
Percy15mo ago
Project ID: a09c5e47-8cf6-4d8d-bde6-0605154ca4fd
MiguelDP
MiguelDP15mo ago
a09c5e47-8cf6-4d8d-bde6-0605154ca4fd
Solution
Brody
Brody15mo ago
you are starting the server during the build phase, thus the build is trying to run forever. rename the start script to dev rename the build script to start
MiguelDP
MiguelDP15mo ago
This fixed it, I had been looking so long for what was wrong. Thank you