-
Notifications
You must be signed in to change notification settings - Fork 22
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
Why is yarn a direct dependency? #71
Comments
is this a valid suggestion @ahmedelgabri ?
|
I dunno to be honest, Maybe we should ask someone from the |
npm doesn't behave like you describe:
|
Neither does yarn:
|
@jdxcode You are right, I tried this again now & it's not happening. I'll try again & check if I can replicate it again or if it has something to do with my local setup or I updated |
@jdxcode can you run these and post the output?
|
|
Ok, I don't think it's yarn issue. But also can't find the root cause yet I had issues way back with I'll close the issues I created & will investigate this more. Thanks everyone & sorry for the inconvience. |
FWIW, I've been struggling with the effects of this for a few months, and finally figured it out enough to find this issue. I'm pretty sure I have a reproducible case, though I can't tell if this is actually yarn being broken or misused:
Would y'all consider removing the dependency, or do we need to go file a yarn issue? Can you see if this is enough for you to reproduce the issue? |
I just tried this & that's exactly my issue too. @bk3c I can reopen this yarnpkg/yarn#7132 & you can add your comments there as I think it might be more of a |
@ahmedelgabri Sounds good to me. |
Fun fact: this borks HARD on Windows if you explicitly have |
Any specific reason behind that?
plugin-plugins/package.json
Line 19 in 2281e86
This can cause lots of issues, if a package that depends on
plugin-plugins
is installed globallyyarn
will then symlink everything in the globalnode_modules/.bin
to/usr/local/bin
in this case your yarn version will override the system yarn version.The text was updated successfully, but these errors were encountered: