0840793abf
I found some 404 links in jsdoc, so I used ripgrep to find and fix all the broken links to fix all the other links in this PR.
952 B
952 B
Static page generation timed out after multiple attempts
Why This Error Occurred
Next.js tries to restart the worker pool of the static page generation when no progress happens for a while, to avoid hanging builds.
When restarted it will retry all uncompleted jobs, but if a job was unsuccessfully attempted multiple times, this will lead to an error.
Possible Ways to Fix It
- Make sure that there is no infinite loop during execution.
- Make sure all Promises in
getStaticPaths
/getStaticProps
resolve
orreject
correctly. - Avoid very long timeouts for network requests.
- Increase the timeout by changing the
staticPageGenerationTimeout
configuration option (default60
in seconds).