faressoft / faressoft/terminalizer

package-lock.json is malformed (missing resolve and integrity fields)

Open
#243 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16.2k
Forks
520
PR merge metrics
No merged PRs in 30d

Description

Due to a known npm bug (https://github.com/npm/cli/issues/4263) a lot of the dependencies in the lockfile have their resolve and integrity fields missing. This might be okay for npm to run properly, but it breaks tools that rely on these fields to achieve reproducibility when building npm packages.

The lockfile should be regenerated via `npm i`, and contributors should avoid accidentally changing the lockfile by running `npm i` locally — use `npm ci` instead

Contributor guide

No contributing guide indexed for this repository

Research direction

Regenerate package-lock.json with npm i, as described in the issue, and inspect the dependency entries for the missing resolve and integrity fields. Confirm the lockfile is corrected, then use npm ci for local verification and avoid committing unrelated lockfile changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.