Have you checked out this build debugging guide, @KarinaFrappier ? It’s where we ask you to start with build problems - ensuring that it builds locally, and that you’ve tuned our versions of software like node and npm to use the same versions you use locally so that our builds more closely match your local builds:
If you don’t find any success using the methods in that article, you’ll see at the end a few questions you can answer in this thread to show us what you’ve learned from debugging already, so we can build on that to give you what advice we can without becoming intimately familiar with your source code.