Skip to content

fix(website): restore Docusaurus startup with webpack 5.106#9043

Open
Eva-Dengyh wants to merge 1 commit into
NousResearch:mainfrom
Eva-Dengyh:fix/website-docusaurus-startup-webpackbar
Open

fix(website): restore Docusaurus startup with webpack 5.106#9043
Eva-Dengyh wants to merge 1 commit into
NousResearch:mainfrom
Eva-Dengyh:fix/website-docusaurus-startup-webpackbar

Conversation

@Eva-Dengyh

Copy link
Copy Markdown

What does this PR do?

This PR fixes website startup/build issues caused by webpack 5.106 ProgressPlugin validation and aligns dependency locking with the repository's npm-based CI workflow.

Related Issue

Fixes #
Ref: facebook/docusaurus#11923

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)

Changes Made

  • Added website/scripts/ensure-skills-data.mjs to create src/data/skills.json with [] when missing (local dev/build safety guard).
  • Added ensure-skills-data script and wired it into prestart and prebuild in website/package.json.
  • Added npm overrides for webpackbar: ^7.0.0 in website/package.json for webpack 5.106 compatibility.
  • Updated website/package-lock.json accordingly.
  • Removed website/yarn.lock to keep lockfile strategy consistent with npm CI (npm ci).

How to Test

  1. cd website
  2. npm ci
  3. (Optional) rm -f src/data/skills.json
  4. npm run build
  5. npm run start

Expected:

  • No ValidationError: Progress Plugin failure.
  • No Module not found for src/data/skills.json.
  • Website compiles successfully.

Checklist

Code

  • I've read the Contributing Guide
  • My commit messages follow Conventional Commits
  • My PR contains only changes related to this fix
  • I've tested on my platform: macOS (darwin)

Documentation & Housekeeping

  • I've considered cross-platform impact (N/A for behavior beyond website build/start flow)
  • Other checklist items are N/A for this change

Screenshots / Logs

npm run build passes with this change. Existing Docusaurus broken link/anchor warnings are pre-existing documentation issues and are outside the scope of this PR.

Fix webpack 5.106 ProgressPlugin validation failures by pinning webpackbar to v7 and ensure local docs start/build succeeds when skills.json is missing. Align lockfiles with the repo's npm-based CI by keeping package-lock.json and dropping yarn.lock.

Made-with: Cursor
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have labels Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants