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

Homebrew cannot install latest version of yarn #6681

Closed
AlvinYuXT opened this issue Nov 14, 2018 · 4 comments
Closed

Homebrew cannot install latest version of yarn #6681

AlvinYuXT opened this issue Nov 14, 2018 · 4 comments
Assignees
Labels

Comments

@AlvinYuXT
Copy link

Do you want to request a feature or report a bug?

It's a bug.

What is the current behavior?
The stable version of yarn is 1.12.3 now, but When I run brew info yarn I got this:

yarn: stable 1.9.4
JavaScript package manager
https://yarnpkg.com/
Conflicts with:
hadoop (because both install yarn binaries)
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/yarn.rb
==> Dependencies
Recommended: node ✘
==> Options
--without-node
Build without node support
==> Analytics
install: 147,652 (30 days), 363,206 (90 days), 1,198,647 (365 days)
install_on_request: 145,936 (30 days), 359,008 (90 days), 1,180,163 (365 days)
build_error: 0 (30 days)

And when I open the this link https://github.com/Homebrew/homebrew-core/blob/master/Formula/yarn.rb I found this:

url "https://yarnpkg.com/downloads/1.12.3/yarn-v1.12.3.tar.gz"

What is the expected behavior?
Install the latest version of yarn

Please mention your node.js, yarn and operating system version.
node v10.13.0
macOS High Sierra 10.13.6

@ghost ghost assigned rally25rs Nov 14, 2018
@ghost ghost added the triaged label Nov 14, 2018
@rally25rs
Copy link
Contributor

duplicate of #2337
As stated in the Brew output, Hadoop also has a yarn binary that they install, so there is a conflict and it halts the install so that your hadoop yarn binary is not overwritten.

@AlvinYuXT
Copy link
Author

@rally25rs There is no Hadoop in my Mac. When I run brew install yarn the version I installed is 1.9.4 which the latest version is 1.12.3.

@cakasuma
Copy link

cakasuma commented Feb 1, 2019

im also having the same issue

@AlvinYuXT
Copy link
Author

@cakasuma I fix this problem by installing yarn by npm

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

3 participants