[BUG] Can't dedupe deps in workspaces/links with lockfiles #4285
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
ws:arborist
Related to the arborist workspace
What / Why
When trying to deduplicate versions of a module in a linked dependency, running
npm install
will not work as expected.When
Given a package with a dep@ conflicting with a dep@ in a linked dependency, e.g:
Updating
a/package.json
to list a dependency onabbrev@^1.0.0
will not result in a deduplicated install tree.How
Before manually deduping dep
After manually trying to dedupe and running npm install
Expected Behavior
I expect running
npm install
ORnpm dedupe
after manually tweaking dep version ranges in mypackage.json
files to produced a deduplicated install tree.The text was updated successfully, but these errors were encountered: