Same issue. First build was ok. 2nd failed. Only change was I added camera permissions. Mendix 9.24.25, Build app: 1.0.132
This message is given when the GitHub Limit of 2GB is reached.
Your template should never be so big. However if you run the template locally as well, you do a npm install. This makes the size to big. Mendix should respect the ..gitignore file... but to does not :(
It is not needed and unwanted, that those files are committed to GitHub any way.
Solution. In Global Config / Build type, select a empty directory. (or remove the current content) and "Configure and push to GithHub" again.