If you have this error:
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
xcode-select --install" says it’s already installed
do the following
sudo rm -r -f /Library/Developer/CommandLineTools/*
If the directory doesn’t exist, find the right one with
A prompt will appear, install what asked.
When finished, run