Description
Do you want to request a feature or report a bug?
This is a bug in the pre-release 0.21.2
version with the --link-duplicates
flag.
What is the current behavior?
Installing a project with @kadira/storybook
and webpack@2
results in the following error:
error An unexpected error occurred: "EEXIST: file already exists, link '/home/git/forks/yarn-link-bug/node_modules/@kadira/storybook/node_modules/enhanced-resolve/node_modules/memory-fs/.npmignore' -> '/home/git/forks/yarn-link-bug/node_modules/babel-loader/node_modules/enhanced-resolve/node_modules/memory-fs/.npmignore'".
Please mention your node.js, yarn and operating system version.
Node 6.9.2, Yarn 0.21.2, OSX Sierra.
Reproduction Repository
Ref: #2620 (comment) and this tweet. My preference would be for the feature to remain as it gives us significant (20%) size savings on our frontend project.