# 解决mac下npm的xcode报错

先安装xcode,安装完成启动一次,确认同意条款,然后执行下面命令。

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Last Updated: 2022/11/13 12:30:47