Skip to content

fix(docs-site): repair package-lock.json emnapi entries - #2880

Open
Keutin wants to merge 1 commit into
bmad-code-org:devfrom
Keutin:fix/docs-site-lockfile-emnapi
Open

Keutin wants to merge 1 commit into
bmad-code-org:devfrom
Keutin:fix/docs-site-lockfile-emnapi

Conversation

@Keutin

@Keutin Keutin commented Sep 16, 2026

Copy link
Copy Markdown

Summary

  • npm ci in docs-site/ fails with EUSAGE because node_modules/@img/sharp-wasm32 in package-lock.json depends on @emnapi/runtime@^1.11.3, but the lock only has a nested @emnapi/runtime@1.11.1/@emnapi/core@1.11.1 pair — no top-level entry satisfies ^1.11.3.
  • Introduced by chore(docs-site): upgrade dependencies #2878 (chore(docs-site): upgrade dependencies, 413ef031). That PR's own docs-site CI job failed with this exact error (run 35035665195) but was merged anyway, leaving dev/main with a broken lockfile.
  • This breaks the npm ci step in both .github/workflows/docs.yaml and .github/workflows/quality.yaml, and the quality gate documented in AGENTS.md.
  • Fix: regenerated docs-site/package-lock.json via npm install, which adds the missing top-level @emnapi/runtime@1.11.3/@emnapi/core@1.11.3 entries and drops some unreferenced @typescript/typescript-* platform stubs that had no parent dependency in the lockfile.

Test plan

  • npm ci in docs-site/ now completes cleanly from the regenerated lockfile (verified in a node:24 Linux container, matching CI's node version).
  • npm run build completes successfully (309 pages built, search index generated) in the same Linux container — the build pipeline refuses to run on Windows directly, so it can't be verified natively on this machine.
  • CI (docs.yaml, quality.yaml) green on this PR.

🤖 Generated with Claude Code

npm ci failed with EUSAGE because node_modules/@img/sharp-wasm32 in
package-lock.json depends on @emnapi/runtime@^1.11.3, but the lock only
had a nested @emnapi/runtime@1.11.1/@emnapi/core@1.11.1 pair. Regenerate
the lock with npm install to add the missing top-level 1.11.3 entries.

Introduced by bmad-code-org#2878 (413ef03); that PR's own docs-site CI job failed
with this exact error but was merged anyway.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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