-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
1.12.1
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Installing a dependency with a binary not only adds a .bin
to node_modules, but also to the dependencies own folder.
This did not happen in yarn 1.10.1.
If the current behavior is a bug, please provide the steps to reproduce.
- Install yarn and node in a docker or lxc container
- Create a module with a dependency that includes a binary (that is installed to
node_modules/.bin
). Suppose for example marked - run
yarn
- look in
node_modules/marked/
there will be a.bin
folder.
What is the expected behavior?
Dependencies should not have .bin
folders with extra symlinks.
Please mention your node.js, yarn and operating system version.
node: 8.12.0 (also tried 8.11.3)
yarn: 1.12.1
OS: Ubuntu 18
I tried the error on multiple ubuntu and debian container images.
EDIT: I thought this was only occurring inside containers, but it turns out only the containers were updated. I suspect this just broke in the newest 1.12
kevinkir and acemir