From d7e4592a2715131e3aa17f41f127410f10e84176 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 15 Jan 2020 10:36:31 +0100 Subject: [PATCH 1/2] macOS Catalina: remove /Library/Developer/CommandLineTools --- macOS_Catalina.md | 1 + 1 file changed, 1 insertion(+) diff --git a/macOS_Catalina.md b/macOS_Catalina.md index 530cbf25c3..821409a38a 100644 --- a/macOS_Catalina.md +++ b/macOS_Catalina.md @@ -69,6 +69,7 @@ There are three ways to install the Xcode libraries `node-gyp` needs on macOS. P ### 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. It is OK if this fails. 2. `xcode-select --install` 3. If the [_acid test_](#The-acid-test) still does _not_ pass then... 4. `npm explore npm -g -- npm install node-gyp@latest` From 9c0cdde8d42fc9ed89b073ae68e318c68daee74d Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 16 Jan 2020 08:13:01 +0100 Subject: [PATCH 2/2] Remove unneeded comment --- macOS_Catalina.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macOS_Catalina.md b/macOS_Catalina.md index 821409a38a..9e83e2eabe 100644 --- a/macOS_Catalina.md +++ b/macOS_Catalina.md @@ -69,7 +69,7 @@ There are three ways to install the Xcode libraries `node-gyp` needs on macOS. P ### 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. It is OK if this fails. +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... 4. `npm explore npm -g -- npm install node-gyp@latest`