npm install error - No Xcode or CLT version detected?
I got this working by following the steps below:
Find out the path for the command line tools
xcode-select --print-path
Delete command line tools directory ( Directory path can be retrieved from the above step )
sudo rm -rf /Library/Developer/CommandLineTools
Run this to re-install
xcode-select --install
Post this, 'npm install' should run successfully on VS Code in MacOS bash terminal.