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

Yarn not installing nested binaries #1401

Closed
tjbenton opened this issue Oct 24, 2016 · 2 comments
Closed

Yarn not installing nested binaries #1401

tjbenton opened this issue Oct 24, 2016 · 2 comments

Comments

@tjbenton
Copy link

tjbenton commented Oct 24, 2016

All nested binaries are getting ignored when a package is installed.

What is the current behavior?
currently when I try to install a package for my company that holds all our lint rules for JS and our Styles all the binaries are being ignored for it.

mkdir yarn-nested-binaries-test
cd yarn-nested-binaries-test
yarn init --yes
yarn add ma-shop/lint-rules --dev # https://github.com/ma-shop/lint-rules

When I check for the binaries that where installed it shows that none where installed.

[tylerbenton:~/yarn-nested-binaries-test]$ ls node_modules/.bin
gls: cannot access 'node_modules/.bin': No such file or directory

When I remove the node_modules folder and reinstall using npm.

rm -rf node_modules
npm install

I get several binaries that were added to the node_modules/.bin folder, and the 2 binaries that I was looking for which is eslint and stylelint

[tylerbenton:~/yarn-nested-binaries-test]$ ls node_modules/.bin
JSONStream  babylon       colorguard       doiuse  esparse     js-yaml     loose-envify  rimraf  shjs         strip-indent         stylehacks  window-size
acorn       browserslist  css-rule-stream  eslint  esvalidate  jsonfilter  mkdirp        semver  specificity  strip-json-comments  stylelint

Versions:
mac: macOS Sierra 10.12
yarn: 0.16.1
node: 6.9.1
npm: 3.10.8

@wyze
Copy link
Member

wyze commented Oct 24, 2016

This looks like what is being discussed in #1210.

@wyze
Copy link
Member

wyze commented Oct 24, 2016

Close in favor of #1210.

@wyze wyze closed this as completed Oct 24, 2016
@wyze wyze removed the needs triage label Nov 10, 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

3 participants