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:Jump to 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
...4 Replies
Project ID:
a09c5e47-8cf6-4d8d-bde6-0605154ca4fd
a09c5e47-8cf6-4d8d-bde6-0605154ca4fd
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
This fixed it, I had been looking so long for what was wrong. Thank you