[BUG] --package-lock-only option fails with scoped private packages, regression #3964
Closed
1 task done
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
Current Behavior
Minimal reproduction is here:
https://github.com/bigtimebuddy/npm-bug-package-lock-only
Package structure is roughly this:
After doing a version bump of my workspaces packages, I use
--package-lock-only option
to update the package-lock.json file. Prior to npm@7.20.2 this worked fine. After then, it fails with the following message:Additional Links
Changed was introduced here: v7.20.2...v7.20.3
Additional context here: lerna/lerna#2891
Expected Behavior
With the reproduction, should get the following and not fail.
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: