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.
I am using a netlify.toml file to determine the build steps for the branch deploy, in which I set the NODE_VERSION to 12 (which is required for Scully to build properly).
[context.branch-deploy]
command = 'ng build --prod && npm run scully -- --scanRoutes'
publish = 'dist/static'
environment = { NODE_VERSION = '12.18.3' }
NODE_VERSION = '12.18.3'
From everything I can tell, this should work. If anyone has any ideas, that’d be great. Thanks!