You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If corepack is installed via brew (brew install corepack) the install will fail with the following:
==> Installing dashlane/tap/dashlane-cli dependency: yarn
Error: Cannot install yarn because conflicting formulae are installed.
corepack: because both install `yarn` and `yarnpkg` binaries
Please `brew unlink corepack` before continuing.
Unlinking removes a formula's symlinks from /opt/homebrew. You canlink the formula again after the install finishes. You can `--force` thisinstall, but the build may fail or cause obscure side effects in theresulting software.
To Reproduce
Steps to reproduce the behavior:
brew install corepack
brew install dashlane/tap/dashlane-cli
See error
Expected behavior
dashlane cli installs
Environment (please complete the following information):
OS: MacOS 14.2.1
The text was updated successfully, but these errors were encountered:
I've looked around and this issue is not directly linked to our package.
We need yarn to build the CLI, but as specified in the code source of yarn.rb package, yarn is not compatible with corepack and hadoop because it's already shipped inside.
One of the solution I'm looking at is to allow a flag to be set if you have corepack installed.
Generic syntax example:
option'with-Q','Depend on Q instead of P'depends_on'P'if !build.with?('Q')depends_on'Q'ifbuild.with?('Q')
So something like:
option'with-corepack','Use yarn from corepack instead of installing it'depends_on'yarn'if !build.with?('corepack')depends_on'corepack'ifbuild.with?('corepack')
Describe the bug
If corepack is installed via brew (
brew install corepack
) the install will fail with the following:To Reproduce
Steps to reproduce the behavior:
brew install corepack
brew install dashlane/tap/dashlane-cli
Expected behavior
dashlane cli installs
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: