From 66c0f0446749caa591ad841cd029b6d5b5c8da42 Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Sat, 24 Oct 2020 15:10:37 +0200 Subject: [PATCH] doc: add missing `sudo` to Catalina doc PR-URL: https://github.com/nodejs/node-gyp/pull/2244 Reviewed-By: Rod Vagg --- macOS_Catalina.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macOS_Catalina.md b/macOS_Catalina.md index ca2fd23473..42ac6f1d0b 100644 --- a/macOS_Catalina.md +++ b/macOS_Catalina.md @@ -89,7 +89,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. -3. `xcode-select --reset` +3. `sudo xcode-select --reset` 4. `xcode-select --install` 5. If the [_acid test_ steps above](#The-acid-test) still does _not_ pass then... 6. `npm explore npm -g -- npm install node-gyp@latest`