com.apple.pkg.CLTools_Executables big sur code example
Example 1: gyp: No Xcode or CLT version detected!
sudo rm -rf $(xcode-select -print-path)
xcode-select --install
Example 2: No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'
sudo rm -rf $(xcode-select -print-path)
Download command line tools from https://developer.apple.com/download/more/
Install it