Gyp: No Xcode or CLT version detected macOS Catalina

Ошибка возникает при попытке npm install (в моем случае) в macOS:
image
В моем случае решилось удалением и переустановкой xcode.

Смотрим месторасположение:

xcode-select --print-path

В моем случае это:

/Library/Developer/CommandLineTools

Удаляем:

sudo rm -r -f /Library/Developer/CommandLineTools

Ставим снова:

xcode-select --install

Done!