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
Percy2y ago
Project ID: a09c5e47-8cf6-4d8d-bde6-0605154ca4fd
MiguelDP
MiguelDP2y ago
a09c5e47-8cf6-4d8d-bde6-0605154ca4fd
Solution
Brody
Brody2y 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
MiguelDP2y ago
This fixed it, I had been looking so long for what was wrong. Thank you
Want results from more Discord servers?
Add your server