yarn icon indicating copy to clipboard operation
yarn copied to clipboard

`brew install yarn`always installed node v8.2.1 even I've installed node@6 with HomeBrew on MacOS

Open avinzheng opened this issue 9 years ago • 4 comments

MacOS: v10.12.5 HomeBrew: v1.2.4 Yarn: v0.27.5

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

Bug.

What is the current behavior?

  • brew install yarn always installed node v8.2.1 even I've installed node@6 with HomeBrew on MacOS
  • That command also installed icu4c, what's and why icu4c? If the current behavior is a bug, please provide the steps to reproduce.

Steps:

  • Open iTerm2
  • Run brew ls to make sure I've installed node@6
  • Run node -v to make sure my node version is v6.10.2
  • Run brew install yarn to install yarn
  • When completed, run brew ls and I saw node node@6 yarn icu4c ...

What is the expected behavior?

  • No installing node v8.2.1
  • No installing icu4c

Please mention your node.js, yarn and operating system version.

avinzheng avatar Jul 24 '17 16:07 avinzheng

Issue should be created here: https://github.com/Homebrew/homebrew-core/issues

cebor avatar Jul 25 '17 13:07 cebor

OK, I've created there. Thx.

avinzheng avatar Jul 26 '17 09:07 avinzheng

For back reference: https://github.com/Homebrew/homebrew-core/issues/16019

03xb7 avatar Sep 19 '17 15:09 03xb7

try this:
brew install yarn --without-node

Verma-Pooja avatar Sep 12 '18 22:09 Verma-Pooja