The pages with lottie animations were causing some build errors.
Unsure exactly why this started happening when it wasnt an issue before but likely cause is it started using a newer version of next (we have @latest in package.json) and it needs more explicit ssr rules for client side libraries like lottie react