From 9a6fea92e250980d5d3163104624004afcbbc88a Mon Sep 17 00:00:00 2001 From: Jonathan Hult Date: Wed, 22 Jan 2020 23:57:54 -0500 Subject: [PATCH] doc: update catalina xcode cli tools download link; formatting PR-URL: https://github.com/nodejs/node-gyp/pull/2034 Reviewed-By: Rod Vagg Reviewed-By: Christian Clauss --- macOS_Catalina.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/macOS_Catalina.md b/macOS_Catalina.md index 4fdbb4a893..8c2ce9ad59 100644 --- a/macOS_Catalina.md +++ b/macOS_Catalina.md @@ -63,15 +63,15 @@ There are three ways to install the Xcode libraries `node-gyp` needs on macOS. P 9. Repeat step 5 above. Is the path different this time? Repeat the _acid test_. ### Installing `node-gyp` using the Xcode Command Line Tools via manual download -1. Download the appropriate version of the "Command Line Tools for Xcode" for your version of Catalina from developer.apple.com/download. As of MacOS 10.15.2, that's [Command_Line_Tools_for_Xcode_11.3.dmg](https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_11.3/Command_Line_Tools_for_Xcode_11.3.dmg) +1. Download the appropriate version of the "Command Line Tools for Xcode" for your version of Catalina from . As of MacOS 10.15.2, that's [Command_Line_Tools_for_Xcode_11.3.dmg](https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_11.3/Command_Line_Tools_for_Xcode_11.3.dmg) 2. Install the package. -3. Run the _acid test_. +3. Run the [_acid test_ steps above](#The-acid-test). ### I did all that and the acid test still does not pass :-( 1. `sudo rm -rf $(xcode-select -print-path)` # Enter root password. No output is normal. 2. `sudo rm -rf /Library/Developer/CommandLineTools` # Enter root password. 2. `xcode-select --install` -3. If the [_acid test_](#The-acid-test) still does _not_ pass then... +3. If the [_acid test_ steps above](#The-acid-test) still does _not_ pass then... 4. `npm explore npm -g -- npm install node-gyp@latest` 5. `npm explore npm -g -- npm explore npm-lifecycle -- npm install node-gyp@latest` 6. If the _acid test_ still does _not_ pass then...