Skip to content

bundledDependencies are not handled properly causing issues and warnings #3751

@bestander

Description

@bestander

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

What is the current behavior?

{
  "dependencies": {
    "npm": "^3.10.5"
  }
}
$ yarn
yarn install v0.27.0
warning package.json: No license field
info No lockfile found.
warning No license field
[1/4] Resolving packages...
warning npm > request > [email protected]: Use uuid module instead
[2/4] Fetching packages...
[3/4] Linking dependencies...
error An unexpected error occurred: "The same file /Users/bestander/work/temp/3202/node_modules/npm/node_modules can't be copied twice in one bulk copy".
info If you think this is a bug, please open a bug report with the information provided in "/Users/bestander/work/temp/3202/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Check introduced in #3712

Another example

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions