Skip to content

Commit

Permalink
yarn: remove options.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jan 21, 2019
1 parent 29d769c commit a34c721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/yarn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Yarn < Formula

bottle :unneeded

depends_on "node" => :recommended
depends_on "node"

conflicts_with "hadoop", :because => "both install `yarn` binaries"

Expand Down

2 comments on commit a34c721

@wkoffel
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change may be preventing installation of yarn without node dependency (for those of us using NVM or similar to self-manage node versions). See yarnpkg/yarn#3255 for more. Any additional context on this change?

@MikeMcQuaid
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wkoffel yarn depends on node: it does not function without it. #31510 provides context. Instead of trying to install without Homebrew' node instead adjust your PATH so nvm's nodes are before Homebrew's node.

Please sign in to comment.