File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ There are two main ways to install `node-gyp` on macOS:
38
38
### Installing ` node-gyp ` using the full Xcode
39
39
1 . ` xcodebuild -version ` should show ` Xcode 11.1 ` or later.
40
40
* 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.
42
44
3 . Once all installations are _ complete_ , quit out of Xcode.
43
45
4 . ` sudo xcodebuild -license accept ` # If you agree with the licensing terms.
44
46
5 . ` softwareupdate -l ` # No listing is a good sign.
@@ -66,4 +68,7 @@ There are two main ways to install `node-gyp` on macOS:
66
68
1 . ` sudo rm -rf $(xcode-select -print-path) ` # Enter root password. No output is normal.
67
69
2 . ` xcode-select --install `
68
70
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.
You can’t perform that action at this time.
0 commit comments