Skip to content

fix(build): add missing @docusaurus/faster dependency - #71

Merged
tupe12334 merged 1 commit into
mainfrom
fix/docusaurus-faster
Oct 19, 2026
Merged

tupe12334 merged 1 commit into
mainfrom
fix/docusaurus-faster

Conversation

@tupe12334

Copy link
Copy Markdown
Member

Problem

main fails to build. pnpm build exits with Unable to build website for locale en, caused by Cannot find package '@docusaurus/faster'. The Docusaurus bundler imports @docusaurus/faster even with default config. The package is an optional peer and was not installed.

The Cloudflare Pages deploy workflow has failed on main since 2026-07-14. No site update has shipped since then.

Fix

  • Add @docusaurus/faster@3.10.2 as a devDependency. It matches the pinned @docusaurus/*@3.10.2 packages.
  • Lockfile updated with pnpm 9.15.9, the version CI uses.
  • Patch changeset added.

Verification (local)

  • pnpm install --frozen-lockfile (pnpm 9.15.9, Node 20): passes.
  • pnpm lint: 0 errors, 92 warnings (unchanged, none new).
  • pnpm build (Node 20.20.2): passes, [SUCCESS] Generated static files.

Notes

  • The lockfile diff is large. pnpm re-resolved peer-dependency suffixes once @docusaurus/faster joined the graph.

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@tupe12334

Copy link
Copy Markdown
Member Author

Independent review (separate agent):

Checked:

  • Lockfile diff, main vs this branch, by resolved name@version from packages: and snapshots:. Only additions. New: @docusaurus/faster@3.10.2 and its deps (@rspack/*, @swc/*, lightningcss*, @module-federation/*, swc-loader). No package removed. No existing package version changed.
  • @napi-rs/wasm-runtime@1.0.7 is new, pulled in by @rspack/binding-wasm32-wasi. Existing 1.1.6 and 1.2.3 remain.
  • Importers and snapshots: remaining diff is peer-suffix churn only, plus the new direct dev dependency.
  • 42 existing native packages (@img/sharp-*, @oxc-parser/binding-*, @oxc-resolver/binding-*, @unrs/resolver-binding-*) lost their libc field. Integrity hashes are unchanged. Not a version bump, non-blocking, but worth a look.
  • npx -y pnpm@9.15.9 install --frozen-lockfile: exit 0. Working tree clean afterwards.
  • npx -y pnpm@9.15.9 build: exit 0.
  • deploy.yml runs plain pnpm install with no flag. Under CI=true (set by GitHub Actions), pnpm 9 uses the frozen lockfile. Checked: exit 0, lockfile unchanged. The workflow uses Node 20. I built on Node 24.19.0, so Node 20 was not tested.

Verdict: approve

@tupe12334
tupe12334 merged commit ad14350 into main Oct 19, 2026
1 check passed
@tupe12334
tupe12334 deleted the fix/docusaurus-faster branch October 19, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant