Skip to content

Commit e12b00a

Browse files
cclaussrvagg
authored andcommitted
doc: macOS Catalina add two commands
These steps have proven effective for some users. PR-URL: #1962 Reviewed-By: Rod Vagg <rod@vagg.org>
1 parent 70b9890 commit e12b00a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

macOS_Catalina.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ There are two main ways to install `node-gyp` on macOS:
3838
### Installing `node-gyp` using the full Xcode
3939
1. `xcodebuild -version` should show `Xcode 11.1` or later.
4040
* If not, then install/upgrade Xcode from the App Store app.
41-
2. Open the Xcode app and allow it to do an essential install of the most recent compiler tools.
41+
2. Open the Xcode app and...
42+
* Under __Preferences > Locations__ select the tools if their location is empty.
43+
* Allow Xcode app to do an essential install of the most recent compiler tools.
4244
3. Once all installations are _complete_, quit out of Xcode.
4345
4. `sudo xcodebuild -license accept` # If you agree with the licensing terms.
4446
5. `softwareupdate -l` # No listing is a good sign.
@@ -66,4 +68,7 @@ There are two main ways to install `node-gyp` on macOS:
6668
1. `sudo rm -rf $(xcode-select -print-path)` # Enter root password. No output is normal.
6769
2. `xcode-select --install`
6870
3. If the [_acid test_](#The-acid-test) still does _not_ pass then...
69-
4. Add a comment to https://github.com/nodejs/node-gyp/issues/1927 so we can improve.
71+
4. `npm explore npm -g -- npm install node-gyp@latest`
72+
5. `npm explore npm -g -- npm explore npm-lifecycle -- npm install node-gyp@latest`
73+
6. If the _acid test_ still does _not_ pass then...
74+
7. Add a comment to https://github.com/nodejs/node-gyp/issues/1927 so we can improve.

0 commit comments

Comments
 (0)