I’m trying to convert my personal site (preston-lamb-consulting.netlify.app or prestonlamb.com) to Angular/Scully from Jekyll. I have it all working on my local machine, but when I try to do a branch deploy to test, the build doesn’t finish. The Angular app builds, and Scully starts doing its work, but it stops after discovering all the routes.
Hi, @pjlamb12, this very much appears to match the issue being discussed in this support guide:
To summarize, there is a background process not existing and this prevents the build from ever finishing. Making sure that all database and HTTP connections are closed when no longer needed is the usual solution for these types of issues.
If there are other questions not answered by that support guide, please let us know.
I’m definitely not running a watch command or something like that. The command is npm run scully, which doesn’t start a watch command or anything. It never even gets to the point where it starts generating the pages is the thing that’s weird. It says it’s finding the routes, creates the routes list file, and then stops. There’s no hints as to what is going on.
On my local computer, the process takes a couple minutes to build the Angular app and then run the scully command. I’m at a loss as to what the issue could be.
I’ve done some research into this. I created a new Scully site (https://flamboyant-edison-5c573e.netlify.app/) with a whole bunch of fake blog posts. I pushed it to a new repo and set it up to deploy on Netlify. It worked just fine. I copied over the app files from the first site (prestonlamb.com) into the new Scully site. It built and deployed just fine on Netlify.
Then I copied all the files from a brand new Scully site into the repo that was not finishing building. I pushed that code (which built on the https://flamboyant-edison-5c573e.netlify.app/ site) and pushed it. The build hangs.
I just created a new site from Git in Netlify, and pointed it to the rewrite branch in my original repository. I deployed from that branch instead of master, and the deploy worked. There’s nothing wrong with the app or anything. Something is wrong in the original Netlify app/deployment when doing a branch deploy instead of from the master branch.
There’s something about doing a branch deploy on prestonlamb.com that is not working. I can’t figure it out. But I don’t want to deploy it to production until I know that everything is working like it’s supposed to.
Heya @pjlamb12 and thanks for sticking with us! I see some successful branch builds in your build list since you last wrote, so maybe you figured out the situation? If so mind sharing what you changed? If not, I think we could get some more information out of your build if you append a new command to your existing one (which I think is set in your toml file):
Ugh, I forgot to post this here. the fix was that my site was using an old build image. I think that’s because I created the site like 3 years ago. Once I updated the build image in the site settings, everything worked as expected.