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 add in workspace removes .bin from root node_modules #4760

Open
evgenyt1 opened this issue Oct 23, 2017 · 3 comments
Open

yarn add in workspace removes .bin from root node_modules #4760

evgenyt1 opened this issue Oct 23, 2017 · 3 comments

Comments

@evgenyt1
Copy link

yarn 1.2.1
node 8.7.0
windows

yarn add package in workspace removes .bin directory from root node_modules
cleanup and yarn from root restores this dir

root package.json contains devDependencies with tools required to npm start

@edmorley
Copy link
Contributor

Hi! This sounds like it might be a duplicate of #4706, which was fixed in #4730 (on master only so far, so not in yarn 1.2.1).

Could you try with yarn master and see if that helps? You'll need to clone the yarn repo, build it and call the generated script instead of the existing yarn install - see:
https://github.com/yarnpkg/yarn/blob/master/CONTRIBUTING.md

If that doesn't help, could you provide a testcase repository with steps to reproduce? :-)

@vladholubiev
Copy link

@edmorley is it going to be in a nightly build in some time? I have a nightly build installed, easier than clone & build master

@edmorley
Copy link
Contributor

Ah yes it's probably easier to try the Nightly build (the fix should be in there, since it landed 7 days ago). See:
https://yarnpkg.com/en/docs/nightly

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