Skip to content

Instantly share code, notes, and snippets.

@nicc777
Created June 8, 2020 09:39
Show Gist options
  • Save nicc777/c1680b392534a9b2a830acb80ff419c7 to your computer and use it in GitHub Desktop.
Save nicc777/c1680b392534a9b2a830acb80ff419c7 to your computer and use it in GitHub Desktop.
Various hacks you can try on the Mac if things don't work

Found this gem on medium

Can help with problems like:

gyp: No Xcode or CLT version detected!
gyp ERR! configure error

TL;DR

Check where (and if) the command line tools are installed

$ xcode-select --print-path
/Library/Developer/CommandLineTools

Delete and re-install:

$ sudo rm -r -f /Library/Developer/CommandLineTools
$ xcode-select --install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment