Closed eGust closed 5 years ago
See https://discourse.brew.sh/t/brew-install-yarn-without-node-busted/4087/5.
And especially:
yarn depends on node : it does not function without it. #31510 5 provides context. Instead of trying to install without Homebrew’ node instead adjust your PATH so nvm 's node s are before Homebrew’s node .
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Linuxbrew/homebrew-core: https://github.com/Linuxbrew/homebrew-core/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?Missing option
--without-node
foryarn
which is available on mac.What you were trying to do (and why)
Install
yarn
withoutnode
. Because I am usingnvm
to managenode
.What happened (include command output)
I could install yarn without node by
--ignore-dependencies
. Butbrew doctor
will come with a warning message:What you expected to happen
Be able to
brew install yarn --without-node
Step-by-step reproduction instructions (by running
brew
commands)