File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 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:
3838### Installing ` node-gyp ` using the full Xcode
39391 . ` 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.
42443 . Once all installations are _ complete_ , quit out of Xcode.
43454 . ` sudo xcodebuild -license accept ` # If you agree with the licensing terms.
44465 . ` softwareupdate -l ` # No listing is a good sign.
@@ -66,4 +68,7 @@ There are two main ways to install `node-gyp` on macOS:
66681 . ` sudo rm -rf $(xcode-select -print-path) ` # Enter root password. No output is normal.
67692 . ` xcode-select --install `
68703 . 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