Last active
January 11, 2021 08:36
-
-
Save kevinngth/5e4098deaf7d2c89a3266075d0d764f7 to your computer and use it in GitHub Desktop.
gyp: No Xcode or CLT version detected!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 1. Check path: /Library/Developer/CommandLineTools | |
xcode-select --print-path | |
# 2. Remove it from the system | |
sudo rm -r -f /Library/Developer/CommandLineTools | |
# 2b. If you do not get the install prompt right after uninstalling, run this | |
xcode-select --install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment