-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 ignores registry option #5056
Labels
Comments
ghost
assigned torifat
Dec 7, 2017
ghost
added
the
triaged
label
Dec 7, 2017
@bdwain same issue for me. Any response or solutions? |
not really no. i just manually fix it when this happens |
Oh sorry I mixed this up with another issue. I just use npm install -g |
Ha! Ok, thanks for the info. Whatever gets the job done. Yarn maintainers: seems like yarn global add is broken if the way to use it is to use |
Workaround:
|
@sodatea thank you, this works for me. |
ping 👀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you want to request a feature or report a bug?
report a bug
What is the current behavior?
yarn global add internal-pkg --registry "internal-url"
ignores the registry optionIf the current behavior is a bug, please provide the steps to reproduce.
I can't share my private registry, but I've had it working in projects for a while now just by using a .yarnrc file with
registry "internal-url"
in it. The same url is ignored if used an option for yarn global add.What is the expected behavior?
yarn global add should respect the registry option
Please mention your node.js, yarn and operating system version.
node 8.9.0
yarn 1.3.2
OS X Sierra
It seems like the registry option works fine for yarn add. Just not yarn global add.
The text was updated successfully, but these errors were encountered: