Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When node and yarn are installed with homebrew yarn global bin returns a path that is tied to the a specific version of node. If node is updated with brew the symlinks are no longer valid, i.e global packages with binaries need to be reinstalled.
~ ❯ yarn global bin
/usr/local/Cellar/node/7.2.0/bin
Related issue: Homebrew/homebrew-core#7283
If the current behavior is a bug, please provide the steps to reproduce.
I've used brew reinstall to emulate an update, I'm not sure how different it is to brew upgrade node.
~ ❯ brew install node
~ ❯ node --version
v7.2.0
~ ❯ brew install yarn
~ ❯ yarn global bin
/usr/local/Cellar/node/7.2.0/bin
~ ❯ yarn global add bower
~ ❯ bower --version
1.8.0
~ ❯ brew reinstall node --HEAD
~ ❯ node --version
v8.0.0-head
~ ❯ yarn global bin
/usr/local/Cellar/node/HEAD-11b0872/bin
~ ❯ bower --version
command not found: bower
What is the expected behavior?
~ ❯ bower --version
1.8.0
Please mention your node.js, yarn and operating system version.
~ ❯ yarn --version
0.17.9
~ ❯ node --version
v7.2.0
~ ❯ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.1
BuildVersion: 16B2555
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When node and yarn are installed with homebrew
yarn global binreturns a path that is tied to the a specific version of node. If node is updated with brew the symlinks are no longer valid, i.e global packages with binaries need to be reinstalled.~ ❯ yarn global bin /usr/local/Cellar/node/7.2.0/binRelated issue: Homebrew/homebrew-core#7283
If the current behavior is a bug, please provide the steps to reproduce.
I've used brew reinstall to emulate an update, I'm not sure how different it is to
brew upgrade node.What is the expected behavior?
~ ❯ bower --version 1.8.0Please mention your node.js, yarn and operating system version.