gitagent icon indicating copy to clipboard operation
gitagent copied to clipboard

npm install fails due to private kavak.jfrog.io registry URLs in package-lock.json

Open iam-Akshat opened this issue 6 months ago • 2 comments

Describe the bug

When running npm install in this repository, the installation fails with an E401 Unauthorized / Incorrect or missing password error.

Why this happens

The committed package-lock.json file contains package download resolutions that point to https://kavak.jfrog.io/artifactory/api/npm/npm/ instead of the public npm registry https://registry.npmjs.org/.

Since external contributors do not have credentials for this private Kavak Artifactory registry, npm install fails to download packages.

Steps to reproduce

  1. Clone the repository.
  2. Run npm install.
  3. Observe the E401 error.

Suggested fix

Delete package-lock.json and run npm install on a machine with default public npm registry settings to regenerate a public package-lock.json. Alternatively, replace the private registry URLs with public npm registry URLs.

iam-Akshat avatar May 21 '26 19:05 iam-Akshat

Verified — current package-lock.json no longer references kavak.jfrog.io; it resolves from the public npm registry. Closing as resolved.

Nivesh353 avatar Jul 20 '26 10:07 Nivesh353

Closing as this is already fixed.

shreyas-lyzr avatar Jul 20 '26 10:07 shreyas-lyzr