-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Yarn does not create node_modules/.bin
symlinks for nested dependencies that have a bin specified in their package.json
If the current behavior is a bug, please provide the steps to reproduce.
- Add grunt-eslint to your package.json
yarn install
"grunt-eslint" depends on "eslint", which has this line in its package.json:
"bin": {
"eslint": "./bin/eslint.js"
},
After install, no symlink is made in node_modules/.bin
What is the expected behavior?
If you npm install
instead, the symlink is made.
$ ls -l node_modules/.bin/eslint
lrwxr-xr-x 1 user computer\Domain Users 23 Mar 8 09:48 node_modules/.bin/eslint -> ../eslint/bin/eslint.js
Please mention your node.js, yarn and operating system version.
yarn v0.21.3
node v6.3
OSX
fr-esco, FrancescoLeonardo, tjbenton, jesstelford, pablocarrillo and 10 moredanielwegener