Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundledDependencies are not handled properly causing issues and warnings #3751

Closed
bestander opened this issue Jun 29, 2017 · 42 comments
Closed

Comments

@bestander
Copy link
Member

bestander commented Jun 29, 2017

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 > node-uuid@1.4.8: 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

yarn add nyc@11.0.3
@bestander
Copy link
Member Author

Scheduled to be released in 0.28 - either revert the check or find out why a folder is copied twice

@cibernox
Copy link

FWIW, I've also experienced this using --nightly with the install script

@bestander
Copy link
Member Author

Thanks, I'll investigate + convert the check into a warning

@cibernox
Copy link

Pinning to 0.27.3 works for me.

@bestander
Copy link
Member Author

Yeah, it is only in master right now

bestander added a commit to bestander/yarn that referenced this issue Jul 4, 2017
@bestander
Copy link
Member Author

The problem is in bundledDependencies.
Sending a PR to make the issues non breaking installation

@bestander
Copy link
Member Author

The bug is mitigated, the PRI can be lowered

BYK pushed a commit that referenced this issue Jul 5, 2017
**Summary**

Refs #3751. Looks like we do multiple traversals of the file tree when doing bulk copies, resulting a run-time exception from `invariant` when we try to add the same file twice to the copy list. This patch makes that a warning instead of a hard failure until we fix the bug.

**Test plan**

Run `yarn add nyc@11.0.3`. Make sure it doesn't fail but you see the warning.
@BYK BYK self-assigned this Jul 5, 2017
@BYK
Copy link
Member

BYK commented Jul 5, 2017

The bug is mitigated, the PRI can be lowered

I think we should keep this high-prio and fix the underlying issue in 1.0

@BYK BYK added this to Backlog in Yarn 1.0 Jul 5, 2017
@BYK BYK removed this from Backlog in Yarn 1.0 Aug 2, 2017
@BYK BYK removed the high-priority label Aug 2, 2017
@silverwind
Copy link

Still seeing these warnings on yarn install npm using v0.28.4.

@artlogic
Copy link

Still happening in v1.0.1.

@BYK
Copy link
Member

BYK commented Sep 10, 2017

@artlogic yup, aware. Will look into this.

@Howard-HS
Copy link

not sure it it's a proper solution, remove yarn.lock then re-run yarn worked for me :)

@sudo-suhas
Copy link

I am getting these warnings even with the list command:

Console output
λ yarn global list
yarn global v1.0.2
info fsevents@1.1.2: The platform "win32" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
warning "request-promise@4.2.1" has incorrect peer dependency "request@^2.34".
warning "request-promise-core@1.1.1" has incorrect peer dependency "request@^2.34".
warning "babel-loader@6.4.1" has incorrect peer dependency "babel-core@^6.0.0".
warning "babel-loader@6.4.1" has incorrect peer dependency "webpack@1 || 2 || ^2.1.0-beta || ^2.2.0-rc".
warning "extract-text-webpack-plugin@2.1.2" has incorrect peer dependency "webpack@^2.2.0".
warning "html-webpack-plugin@2.30.1" has incorrect peer dependency "webpack@1 || ^2 || ^2.1.0-beta || ^2.2.0-rc || ^3".
warning "url-loader@0.5.9" has incorrect peer dependency "file-loader@*".
warning "vue-loader@10.3.0" has incorrect peer dependency "css-loader@*".
warning "vue-loader@10.3.0" has incorrect peer dependency "vue-template-compiler@^2.0.0".
warning "webpack-dev-middleware@1.12.0" has incorrect peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0".
warning "ajv-keywords@1.5.1" has incorrect peer dependency "ajv@>=4.10.0".
warning "babel-plugin-transform-vue-jsx@3.5.0" has incorrect peer dependency "babel-helper-vue-jsx-merge-props@^2.0.0".
warning "babel-plugin-transform-vue-jsx@3.5.0" has incorrect peer dependency "babel-plugin-syntax-jsx@^6.8.0".
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\hosted-git-info shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npmlog shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\semver shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\update-notifier shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid shouldn't be copied twice in one bulk copy warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\which shouldn't be copied twice in one bulk copywarning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\hosted-git-info\git-host-info.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\hosted-git-info\git-host.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\hosted-git-info\index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\hosted-git-info\LICENSE shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\hosted-git-info\package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\hosted-git-info\README.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\AUTHORS shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\lib shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\LICENSE shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\node_modules shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\README.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\LICENSE shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\node_modules shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\README.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npmlog\CHANGELOG.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npmlog\LICENSE shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npmlog\log.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npmlog\package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npmlog\README.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\.npmignore shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\.travis.yml shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\CONTRIBUTING.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\doc shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\duplex-browser.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\duplex.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\GOVERNANCE.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\LICENSE shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\passthrough.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\readable-browser.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\readable.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\README.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\transform.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\writable-browser.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\writable.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\semver\bin shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\semver\LICENSE shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\semver\package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\semver\range.bnf shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\semver\README.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\semver\semver.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\update-notifier\check.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\update-notifier\index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\update-notifier\package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\update-notifier\readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\.npmignore shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\.travis.yml shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\AUTHORS shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\bin shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\HISTORY.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\lib shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\LICENSE.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\README.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\test shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\v1.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\v4.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\which\bin shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\which\CHANGELOG.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\which\LICENSE shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\which\package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\which\README.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\which\which.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\lib\extract_description.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\lib\fixer.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\lib\make_warning.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\lib\normalize.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\lib\safe_format.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\lib\typos.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\normalize-package-data\lib\warning_messages.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\access.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\adduser.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\attempt.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\authify.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\deprecate.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\dist-tags shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\fetch.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\get.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\initialize.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\logout.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\ping.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\publish.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\request.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\send-anonymous-CLI-metrics.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\star.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\stars.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\tag.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\team.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\unpublish.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\whoami.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\doc\wg-meetings shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib\internal shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib\_stream_duplex.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib\_stream_passthrough.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib\_stream_readable.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib\_stream_transform.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib\_stream_writable.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\semver\bin\semver shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\bin\uuid shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\lib\bytesToUuid.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\lib\rng-browser.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\lib\rng.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\test\mocha.opts shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\uuid\test\test.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\which\bin\which shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\dist-tags\add.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\dist-tags\fetch.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\dist-tags\rm.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\dist-tags\set.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\npm-registry-client\lib\dist-tags\update.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\doc\wg-meetings\2015-01-30.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib\internal\streams shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib\internal\streams\BufferList.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib\internal\streams\stream-browser.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file C:\Users\suhas.karanth\AppData\Local\Yarn\config\global\node_modules\npm\node_modules\readable-stream\lib\internal\streams\stream.js shouldn't be copied twice in one bulk copy
info "brightness-cli@2.4.0" has binaries:
   - brightness
info "bundle-buddy@0.1.2" has binaries:
   - bundle-buddy
info "commitizen@2.9.6" has binaries:
   - git-cz
   - commitizen
info "cost-of-modules@1.0.1" has binaries:
   - cost-of-modules
info "cross-env@5.0.5" has binaries:
   - cross-env
   - cross-env-shell
info "depcheck@0.6.7" has binaries:
   - depcheck
info "diff-so-fancy@1.1.1" has binaries:
   - diff-so-fancy
info "flow-bin@0.54.1" has binaries:
   - flow
info "jest-codemods@0.13.1" has binaries:
   - jest-codemods
info "nsp@2.8.0" has binaries:
   - nsp
info "ntl@1.2.0" has binaries:
   - ntl
info "semantic-release-cli@3.0.3" has binaries:
   - semantic-release-cli
info "serve@6.0.6" has binaries:
   - serve
info "snyk@1.40.2" has binaries:
   - snyk
info "typescript@2.4.2" has binaries:
   - tsc
   - tsserver
info "vue-cli@2.8.2" has binaries:
   - vue
   - vue-init
   - vue-list
   - vue-build
Done in 13.20s.

Why would copy be required for listing globally installed modules?

@bestander
Copy link
Member Author

@sudo-suhas, that is a separate bug.
Afaik yarn global list actually runs install command :(

@sudo-suhas
Copy link

@bestander I have created a separate issue for this - #4465

@ghost
Copy link

ghost commented Sep 25, 2017

Did a yarn install today and this showed up. It also indicated I should upgrade yarn to 1.1.0, but I get the same output.

warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/ansi-regex shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/camelcase shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/is-fullwidth-code-point shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/md5-hex shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/os-locale shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/path-type shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/read-pkg shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/read-pkg-up shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/resolve-from shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/string-width shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/strip-ansi shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/which-module shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/ansi-regex/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/ansi-regex/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/ansi-regex/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/ansi-regex/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/camelcase/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/camelcase/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/camelcase/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/camelcase/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/is-fullwidth-code-point/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/is-fullwidth-code-point/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/is-fullwidth-code-point/package.json shouldn't be copied twice in one bulkcopy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/is-fullwidth-code-point/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/md5-hex/browser.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/md5-hex/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/md5-hex/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/md5-hex/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/md5-hex/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/os-locale/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/os-locale/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/os-locale/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/os-locale/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/path-type/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/path-type/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/path-type/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/path-type/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/read-pkg-up/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/read-pkg-up/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/read-pkg-up/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/read-pkg-up/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/read-pkg/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/read-pkg/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/read-pkg/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/read-pkg/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/resolve-from/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/resolve-from/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/resolve-from/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/resolve-from/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/strip-ansi/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/strip-ansi/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/strip-ansi/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/strip-ansi/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/string-width/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/string-width/license shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/string-width/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/string-width/readme.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/which-module/CHANGELOG.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/which-module/LICENSE shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/which-module/README.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/which-module/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/which-module/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/CHANGELOG.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/LICENSE shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/README.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/completion.sh.hbs shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/node_modules shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/yargs.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib/apply-extends.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib/argsert.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib/assign.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib/command.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib/completion.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib/levenshtein.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib/obj-filter.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib/usage.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib/validation.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/lib/yerror.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/node_modules/yargs-parser shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/be.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/de.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/en.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/es.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/fr.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/hi.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/hu.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/id.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/it.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/ja.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/ko.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/nb.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/nl.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/pirate.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/pl.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/pt.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/pt_BR.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/ru.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/th.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/tr.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/zh_CN.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/locales/zh_TW.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/node_modules/yargs-parser/CHANGELOG.md shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/node_modules/yargs-parser/LICENSE.txt shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/node_modules/yargs-parser/README.md shouldn't be copied twice in onebulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/node_modules/yargs-parser/index.js shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/node_modules/yargs-parser/lib shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/node_modules/yargs-parser/package.json shouldn't be copied twice in one bulk copy
warning The case-insensitive file /Users/rosnet/stafflinq-ignite/node_modules/nyc/node_modules/yargs/node_modules/yargs-parser/lib/tokenize-arg-string.js shouldn't be copied twice in one bulk copy
[4/4] 📃 Building fresh packages...
success Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "1.1.0" while you're on "1.0.2".
info To upgrade, run the following command:
$ curl -o- -L https://yarnpkg.com/install.sh | bash
✨ Done in 23.02s.

@BYK
Copy link
Member

BYK commented Sep 26, 2017

Hi everyone! No need for more "happens to me" comments since we have a fairly good understanding of why and how this happens. We'll try to get at this ASAP, and at least suppress the warning since it is not useful to you, as the users.

Apologies for the trouble. In the meantime, if anyone is interested in giving this a shot until we do, feel free to ping me here or on Discord and I'd be happy to guide you!

clintmod added a commit to clintmod/yarn that referenced this issue Sep 26, 2017
clintmod added a commit to clintmod/yarn that referenced this issue Sep 26, 2017
clintmod added a commit to clintmod/yarn that referenced this issue Sep 26, 2017
BYK pushed a commit that referenced this issue Sep 26, 2017
…gs (#4549)

**Summary**

Refs #3751. Changes `reporter.warn` to `reporter.verbose` for the message "The case-insensitive file ${dest} shouldn't be copied twice in one bulk copy".

**Test plan**

Manual verification.
@hulkish
Copy link
Contributor

hulkish commented Oct 5, 2017

Related: #4275

I'd just like to point out that this is still very much an issue. Every yarn version thereafter yarn@0.27.5 seems to barf when there is a dependency that specifies any bundledDependencies.

I'm a bit concerned with why yarn@1.x.x was released with this issue outstanding.

@BYK BYK removed the high-priority label Oct 16, 2017
@BYK BYK removed their assignment Oct 27, 2017
joaolucasl pushed a commit to joaolucasl/yarn that referenced this issue Oct 27, 2017
…gs (yarnpkg#4549)

**Summary**

Refs yarnpkg#3751. Changes `reporter.warn` to `reporter.verbose` for the message "The case-insensitive file ${dest} shouldn't be copied twice in one bulk copy".

**Test plan**

Manual verification.
@BYK BYK changed the title revealed multiple traversal of the same folder in copyBulk bundledDependencies are not handled properly causing issues and warnings Nov 14, 2017
@iarna
Copy link
Contributor

iarna commented Dec 6, 2017

There's a possibly related issue (or perhaps root cause):

As of 1.3.2 bundled dependencies are double installed. Once from the bundle, in the bundling module's node_modules and again into the top level project's node_modules. The latter are the only parts referenced in the lock file.

If the resolver ends up deciding one of those deps currently being installed at the top level has to be hoisted, I think that would cause the problems described here (with multiple of the same destination).

npm, fwiw, records all of the bundled modules in its lockfile, with annotations so it knows that they're sourced from the bundling tarball, not from stand alone downloads.

@bestander
Copy link
Member Author

Thanks for looking into this for us, @iarna, very much appreciated!

@BYK
Copy link
Member

BYK commented Dec 7, 2017

@iarna the issue is the complete neglect of bundledDependencies in Yarn right now. Since they are already shipped inside the tarball they get "installed" when we extract the tarball. They get "reinstalled" when yarn simply carries on normal operations by resolving and installing the package's dependencies.

I think blacklisting any node_modules during linking would at least make the behavior sane and we can safely say "we do not support bundledDependencies at the moment". After that, we can start devising a proper solution which may include marking bundledDependencies and excluding them from global resolution.

@wangmeijian
Copy link

m

@paul-soporan
Copy link
Member

Closing as we've completely removed support for bundleDependencies in v2, for the reasons stated here https://yarnpkg.com/getting-started/migration#dont-use-bundledependencies. We aren't going to spend more time fixing them in v1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests