brew upgrade yarn has no ignore dependencies option, it install node again.
Opened this issue · 2 comments
rockmandash commented
Why brew upgrade yarn
can't provide --ignore-dependencies?
It installed node again, I previously installed nvm.
Does my environment mess up?
Thank you!
DanielRuf commented
Hi @rockmandash,
Try to put nvm
after brew / yarn in your path. Generally brew should only upgrade yarn itself. But afaik the team of Homebrew has an ongoing issue about this. You might want to file the issue there.
sepbot commented
The --ignore-dependencies
flag still works on install.
So you can do this until the homebrew folk block that as well:
brew remove yarn
brew install yarn --ignore-dependencies