Last week we started seeing build errors in Material UI (https://material-ui.netlify.app/). They don’t happen every time; about half of the builds pass without problems. We tried reproducing them locally, but did not encounter any issues.
At first, we connected them to a recent changes in Next.js that happened in a similar timeframe, but reverting these changes did not help. We also tried updating Next.js to the latest version, updating Node to the latest version, doubling the memory accessible to Node, all without results.
The tricky part is that there is no meaningful error message. The only thing we get is “Exit status 1”
The build settings we use: material-ui/netlify.toml at master · mui/material-ui · GitHub
Build log: Netlify App