-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
npm/arborist
#339Labels
Bugthing that needs fixingthing that needs fixingPriority 1high priority issuehigh priority issueRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 release
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Looks like this bug is back (though maybe the cause is different). Every time I run npm update --dev it says that my package-lock.json file was created with an old version of npm and it's doing a one-time fix-up.
npm 8.0.0 did not have this problem.
Expected Behavior
Either no fix-up (it happens even in an empty repo), or only one time.
Steps To Reproduce
- From an empty directory
- Run
npm init -y - Run
npm update --dev(this creates a package-lock.json) - Run
npm update --devagain (this triggers the warning) - Note the
npm WARN old lockfile
Environment
- OS: Windows 10 20H2 x64
- Node: 14.18.1
- npm: 8.1.0
crystalfp, jsw and lll000111
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingPriority 1high priority issuehigh priority issueRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 release