-
It's been a while (4 months) since I was last been active on my knowledge base, and I was trying to get back on writing. I recently figured that Docusaurus was failing to build since Doc 3.5. I tried Doc Faster (3.6), but no luck. The repository is https://github.com/anaclumos/extracranial and you can either run package.json Could anyone help with this matter? |
Beta Was this translation helpful? Give feedback.
Answered by
slorber
Dec 26, 2024
Replies: 1 comment 6 replies
-
That would be helpful to tell us how it is failing considering we don't have access to your flightcontrol logs. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not crashing
It's running an infinite while loop while trying to SSG your pages, produced by your own swizzled code:
I don't know what's the purpose of that code, and why it previously worked. What I know is that removing it solves the problem.
With this code commented, on M3 pro, your site can build in 150 seconds / per locale, and consume < 1gb memory when running
NODE_OPTIONS="--max-old-space-size=1000" pnpm run docusaurus build