yarnpkg/yarn

brew upgrade yarn has no ignore dependencies option, it install node again.

Opened this issue · 2 comments

Why brew upgrade yarn can't provide --ignore-dependencies?

It installed node again, I previously installed nvm.

Does my environment mess up?

Thank you!

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.

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