Skip to content

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

Description

@iam-Akshat

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions