facebook / facebook/docusaurus

Using faster on a bigger site with i18n breaks cloudflare pages builds

Open
#11,961 5 comments 0 reactions 0 assignees View on GitHub
bug status: needs more information
Dominant language
TypeScript
Stars
66.2k
Forks
10k
Avg merge
1d 3h
Merged PRs (30d)
52

Description

### Have you read the Contributing Guidelines on issues?

- [x] I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#issues).

### Prerequisites

- [x] I'm using the latest version of Docusaurus.
- [x] I have tried the `npm run clear` or `yarn clear` command.
- [x] I have tried `rm -rf node_modules yarn.lock package-lock.json` and re-installing packages.
- [x] I have tried creating a repro with https://new.docusaurus.io.
- [x] I have read the console error message carefully (if applicable).

### Description

When deploying using cloudflare pages builds, the build step stops after a few minutes with error:
`
killed

Failed: error occurred while running build command
--
`

The build just quits.
Running on 3.10

Builds work locally

### Reproducible demo

_No response_

### Steps to reproduce

1. Set up a docsaurus repo
2. Enable faster
3. Deploy using cloudflare pages

### Expected behavior

Build to complete

### Actual behavior

Build gets killed. Perhaps an OOM issue but it is impossible to know from the details in the pages build logs

### Your environment

- Docusaurus version used: 3.10
- Environment name and version (e.g. Chrome 89, Node.js 16.4):
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): NODE version 23

### Self-service

- [ ] I'd be willing to fix this bug myself.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.