From ffe3f8c129b8f017fb280d78648a9da978185cab Mon Sep 17 00:00:00 2001 From: Joe Anderson Date: Sat, 24 May 2025 21:51:00 +0100 Subject: [PATCH] Fix Netlify builds for PRs (#5876) * Set CPU limit for Next build * It looks like it worked, re-running to be sure * That worked too, one more time... * Revert "Set CPU limit for Next build" to make sure this is the fix This reverts commit d8274996f0aca1ef588415307a66a8779f140a22. * Un-revert "Set CPU limit for Next build" This reverts commit d7e06c8ad822ce789ea0a9c857cd4690c152ce9f. --- site/next.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/next.config.js b/site/next.config.js index 658890d37..4b611aece 100644 --- a/site/next.config.js +++ b/site/next.config.js @@ -15,4 +15,8 @@ module.exports = { }) return config }, + // https://answers.netlify.com/t/basic-nextjs-website-failing-to-build-with-exit-code-129/120273/2 + experimental: { + cpus: 1, + }, }