Skip to content

Sub dependency .bin symlinks can override top level dependency .bin symlink #4937

@anders-advisa

Description

@anders-advisa

Do you want to request a feature or report a bug?

Bug

What is the current behavior?
Sub dependencies .bin symlinks override top level dependencies .bin symlinks in some cases (seems to be depending on which top level package is first when sorted alphabetically). Likely introduced in #3310

If the current behavior is a bug, please provide the steps to reproduce.

Example: https://github.com/anders-advisa/yarn-symlink-bug

What is the expected behavior?
Dependencies explicitly entered into package.json should have precedence over sub dependencies.

Please mention your node.js, yarn and operating system version.
node: 8.9.1
yarn: 1.3.2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions