aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominyk Tiller2015-04-16 19:06:51 +0100
committerMike McQuaid2015-04-16 17:22:32 -0700
commitf2bfb09f278ad979560920a83bb022d0dd9a6133 (patch)
treea8f327ff1275372ba178153f87305cd76cc43cdd /Library/Formula
parent031e9b822177793ced264af6e3d4aa494af53e67 (diff)
downloadhomebrew-f2bfb09f278ad979560920a83bb022d0dd9a6133.tar.bz2
node: remove caveat
`npm` believe they’ve fixed the `npm update -g` command upstream, and having tried for an hour today to get my Node installation to break itself via `npm` it looks like they have. This ultimately resolves #34413 and related issues, for good, hopefully. Closes #38717. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/node.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index 770182ec4..093c2a87b 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -31,8 +31,8 @@ class Node < Formula
end
resource "npm" do
- url "https://registry.npmjs.org/npm/-/npm-2.7.5.tgz"
- sha256 "44f236437777bcb27d8be887674754899437685303cc7d666427053e74c51f6f"
+ url "https://registry.npmjs.org/npm/-/npm-2.7.6.tgz"
+ sha256 "a9445167f68a42ffcdaa36f9f5c14a954237fce6898555c362e8785261fd72a1"
end
def install
@@ -105,13 +105,7 @@ class Node < Formula
def caveats
s = ""
- if build.with? "npm"
- s += <<-EOS.undent
- If you update npm itself, do NOT use the npm update command.
- The upstream-recommended way to update npm is:
- npm install -g npm@latest
- EOS
- else
+ if build.without? "npm"
s += <<-EOS.undent
Homebrew has NOT installed npm. If you later install it, you should supplement
your NODE_PATH with the npm module folder: