Skip to content

🐞[Bug]: Fix npm ci failure due to out-of-sync package-lock.json #915

@sheikhlimon

Description

@sheikhlimon

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Running npm ci currently fails in CI with the following error:

npm error `npm ci` can only install packages when your package.json and package-lock.json are in sync.
Please update your lock file with `npm install` before continuing.

This happens because the package-lock.json is missing several dependencies listed in package.json (e.g. husky, lint-staged)

Expected behavior

npm ci should complete successfully without dependency mismatches.

Add ScreenShots

No response

What browsers are you seeing the problem on?

No response

Record

  • I have read the Contributing Guidelines
  • Are you a GSSOC'25 contributor
  • I want to work on this issue

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions