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 tries to create shims of shims during global package installation #6958

Open
ArcanoxDragon opened this issue Jan 24, 2019 · 3 comments
Open
Assignees
Labels

Comments

@ArcanoxDragon
Copy link
Contributor

Related to #6902

The update to @zkochan/cmd-shim@3.0.0 in yarn@1.13.0 revealed a dormant bug where Yarn calls cmd-shim on its own shims, creating shims of shims which do not function correctly in PowerShell. This issue mainly affects Windows, although creating shims of shims in Linux is probably not the greatest solution when the original shim could be used instead.

This issue is intended to track the underlying cause of this, and, eventually, a real fix that can replace the workaround in #6954 and allow proper PowerShell shims to be used.

@tats-u
Copy link

tats-u commented Jan 25, 2019

Thank you for creating this issue on behalf of me.

Additional info:

@ExE-Boss
Copy link
Contributor

ExE-Boss commented Feb 12, 2019

i. Make @zkochan/cmd-shim support shims of shims

I don't think that's a real solution.

That's just a band-aid for a band-aid.


/cc @zkochan

@tats-u
Copy link

tats-u commented Feb 13, 2019

Shims mean symlinks made of shell scripts. Since symlink supports nested links, shims also must do.
Or cmd-shim MUST CLARIFY that it doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants