You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: macOS_Catalina.md
+3-18
Original file line number
Diff line number
Diff line change
@@ -18,28 +18,13 @@ If `ProductVersion` is less then `10.15` then this document is not for you. Norm
18
18
### The acid test
19
19
To see if `Xcode Command Line Tools` is installed in a way that will work with `node-gyp`, run:
20
20
```
21
-
/usr/sbin/pkgutil --pkgs |
22
-
grep -i com.apple.pkg.cltools |
23
-
head -n1 |
24
-
xargs -n1 /usr/sbin/pkgutil --pkg-info
21
+
curl -L https://git.io/node-gyp:acid-test | bash
25
22
```
26
23
27
-
Test output format is:
28
-
```
29
-
package-id: com.apple.pkg.CLTools_Executables
30
-
version: 11.4.1.0.1.1586360307
31
-
volume: /
32
-
location: /
33
-
install-time: 1587769775
34
-
groups: com.apple.FindSystemFiles.pkg-group
35
-
```
36
-
**`version: 11.0.0` (or later) should be listed.**
37
-
38
-
If test did not produce any output
39
-
or expected version isn't listed, there is a problem with your Xcode Command Line Tools installation. [Continue to Solutions](#Solutions).
40
-
41
24
If test succeeded, _you are done_! You should be ready to install `node-gyp`.
42
25
26
+
If test failed, there is a problem with your Xcode Command Line Tools installation. [Continue to Solutions](#Solutions).
27
+
43
28
### Solutions
44
29
There are three ways to install the Xcode libraries `node-gyp` needs on macOS. People running Catalina have had success with some but not others in a way that has been unpredictable.
0 commit comments