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

"bin" symlink missing on some case. #1780

Closed
garbin opened this issue Nov 11, 2016 · 1 comment
Closed

"bin" symlink missing on some case. #1780

garbin opened this issue Nov 11, 2016 · 1 comment

Comments

@garbin
Copy link

garbin commented Nov 11, 2016

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

bug
What is the current behavior?

the dependencies tree below

  • PROJECT_ROOT
    • koapi
      • knex (that have a bin symlink 'knex')
      • ava (that have a bin symlink 'ava')

with npm, the 'bin' symlink knex and ava will be found at PROJECT_ROOT/node_modules/.bin

  • PROJECT_ROOT
    ./node_modules/.bin/knex
    ./node_modules/.bin/ava

but yarn, there are missing. they only can be found in the package that direct dependent them.
{PROJECT_ROOT}/node_modules/koapi/node_modules/.bin

  • koapp
    - koapi
    ./node_modules/.bin/knex
    ./node_modules/.bin/ava

If the current behavior is a bug, please provide the steps to reproduce.

mkdir /tmp/test
cd /tmp/test
yarn add koapi

What is the expected behavior?

/tmp/test/node_modules/.bin/knex /tmp/test/node_modules/.bin/ava should be created.

Please mention your node.js, yarn and operating system version.

Node.js 7.1.0
yarn 0.16.1
macOS Sierra

@wyze
Copy link
Member

wyze commented Nov 11, 2016

Duplicate #760 and was fixed by #1210.

@wyze wyze closed this as completed Nov 11, 2016
@wyze wyze added the duplicate label Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants