Error: spawn node-gyp ENOENT
用Yarn 下载包的时候 下载的过程是ok的
但是最后报错了 :
Error: spawn node-gyp ENOENT
解决方法:
- 安装Xcode
- 执行
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
再 yarn 下载包 就没有出现问题了
附上我的各个版本号
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
再 yarn 下载包 就没有出现问题了
附上我的各个版本号