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
[BUG] "yarn global add tslint" - error execute installed global package #1183
Comments
I can't run the globally added packages at all. It looks like yarn adds |
This is a duplicate of #1585 by the looks of it, but is still an issue on macOS using v0.19.1. |
I'm seeing the same issue with
Currently using the workaround of creating symlink from |
I also experience this issue, that is I couldn't run globally added packages. I followed @innerspirit suggestion and added C:\Users\chris\AppData\Local\Yarn\config\global\node_modules.bin to my Windows environment path and now its fixed. |
I had to write this path in manually as well. |
I cannot reproduce this on linux. Adding
The scripts are put in place as expected:
And work as expected:
|
However, when adding
Its scripts are not put in place for some reason:
Probably it is a separate issue, which is better described in #2360. |
Do you want to request a feature or report a bug?
Bug.
What is the current behavior?
Randomly ERROR and cannot execute global installed package (Ex: tslint)
If the current behavior is a bug, please provide the steps to reproduce.
Try to install a global package, and execute it.
What is the expected behavior?
npm works perfectly. yarn's installed package causes exit my cmd / powershell.
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: