-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Bugthing that needs fixingthing that needs fixingPriority 1high priority issuehigh priority issueRelease 9.xwork is associated with a specific npm 9 releasework is associated with a specific npm 9 release
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
Sometimes, when npm updates the package-lock.json after a npm install
, it replaces some of the "resolved" and "integrity" fields with "license".
Expected Behavior
npm install
should not randomly change the schema of the lockfile.
Steps To Reproduce
I'm still trying to figure out reproduction steps. I think the bug is related to the state of node_modules
when npm install
is executed.
Environment
- npm: 9.5.0
- Node.js: v18.15.0
- OS Name: macOS 13.3
- System Model Name: Macbook Pro M2
- npm config:
; "user" config from /Users/mzasso/.npmrc
//registry.npmjs.org/:_authToken = (protected)
; "project" config from /project/.npmrc
lockfile-version = "3"
felschr, nokazn, simnalamburt, theodorejb, chadn and 2 more
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingPriority 1high priority issuehigh priority issueRelease 9.xwork is associated with a specific npm 9 releasework is associated with a specific npm 9 release