Skip to content

Install generates warnings: The case-insensitive file shouldn't be copied twice in one bulk copy #4363

@artlogic

Description

@artlogic

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

What is the current behavior?
When installing with cordova as a dependency, I receive lots of warnings in the form of: warning The case-insensitive file /Users/artlogic/Code/random/yarn-issue/node_modules/npm/node_modules/readable-stream/lib/internal/streams/BufferList.js shouldn't be copied twice in one bulk copy

These files all seem to be related to npm.

If the current behavior is a bug, please provide the steps to reproduce.
Create a simple package.json with cordova as a dependency:

{
  "name": "yarn-issue",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "dependencies": {
    "cordova": "^7.0.1"
  }
}

Run yarn install.

See a lot of warnings that look like this: warning The case-insensitive file /Users/artlogic/Code/random/yarn-issue/node_modules/npm/node_modules/readable-stream/lib/internal/streams/BufferList.js shouldn't be copied twice in one bulk copy

What is the expected behavior?
I don't expect to see all these error messages - they were not appearing before.

Please mention your node.js, yarn and operating system version.
Node 6.11.3, Yarn 1.0.1, Mac OS 10.11.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions