Can you try clearing your node_modules folder and running yarn again to install the dependencies? Also, if you have multiple node versions installed, you could try with a more recent version. (Locally, I have node v21.2.0 and building the app works.)