Created
October 28, 2020 17:52
-
-
Save adamrosloniec/9abc8ca032563f7094557d76931b3f7e to your computer and use it in GitHub Desktop.
macos - how to fix error: gyp: No Xcode or CLT version detected!
This file contains hidden or 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
# How to fix error - gyp: No Xcode or CLT version detected! | |
# source: https://stackoverflow.com/questions/60573595/npm-install-fails-on-node-gyp-rebuild-with-gyp-no-xcode-or-clt-version-detec | |
# 1. | |
xcode-select --print-path | |
# in my case /Library/Developer/CommandLineTools | |
# 2. | |
# the next line deletes the path returned by the command above | |
sudo rm -rf $(xcode-select --print-path) | |
# 3. | |
# install them (again) if you don't get a default installation prompt | |
xcode-select --install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment