Skip to content

chore: sync package-lock.json with package.json#2214

Merged
FabianGosebrink merged 1 commit into
mainfrom
chore/sync-package-lock
May 28, 2026
Merged

chore: sync package-lock.json with package.json#2214
FabianGosebrink merged 1 commit into
mainfrom
chore/sync-package-lock

Conversation

@FabianGosebrink

Copy link
Copy Markdown
Collaborator

Summary

Regenerate package-lock.json so it matches the current package.json (Angular 21).

+53 / -12 lines, single file. No package.json changes.

Why

CI uses Node 20 (via setup-node@v5), and on every PR the npm ci step fails with:

npm error Missing: @emnapi/core@1.10.0 from lock file
npm error Missing: @emnapi/runtime@1.10.0 from lock file
npm error Missing: @types/node@25.9.1 from lock file
npm error Missing: chokidar@4.0.3 from lock file

These transitive deps are pulled in by @angular/build under Node 20 but were never added to the lockfile after the Angular 21 upgrade. npm install adds them; npm ci (which is strict) rejects the existing lockfile because they're not there.

This blocks every open PR against main. Splitting the fix into its own chore PR so it can be merged independently of any feature work.

Test plan

Follow-up

PR #2209 currently also includes a (now-redundant) version of this lockfile sync. Once this chore PR lands, that part of #2209 can be dropped via rebase or just superseded when the maintainer merges main into #2209.

🤖 Generated with Claude Code

CI's `npm ci` step has been failing on every PR opened against main
with "Missing from lock file" entries for @emnapi/core@1.10.0,
@emnapi/runtime@1.10.0, @types/node@25.9.1, and chokidar@4.0.3.

These transitive deps are required by @angular/build under Node 20
(the version CI uses via setup-node@v5) but were not present in the
lockfile that landed on main after the Angular 21 upgrade.

Regenerated locally under Node 20 / npm 10.8.2 to match CI; verified
with `npm ci --dry-run`. No package.json changes.
@FabianGosebrink FabianGosebrink merged commit fac26b0 into main May 28, 2026
5 checks passed
@damienbod damienbod deleted the chore/sync-package-lock branch May 28, 2026 19:20
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