Xcode: npm watcher not working
npm watcher not working
When you try running npm run watch and you get an error like this:
::: danger gyp: No Xcode or CLT version detected! :::
Get path of xcode cl-tools
xcode-select --print-path
Remove old tools from that path, e.g.
sudo rm -r -f /Library/Developer/CommandLineTools
Reinstall via command
xcode-select --install
If the servers are down, download "Command line tools for Xcode" from
https://developer.apple.com/download/more/
and install the package.