wyzxzws 2019-12-20
https://github.com/nodejs/node-gyp/issues/569
https://github.com/nodejs/node-gyp/issues/1927
解决链接:https://github.com/nodejs/node-gyp/issues/1927#issuecomment-565633977
到苹果开发者下载中心下载对应软件
Sharing a new solution that worked for me. NONE of the above solutions worked, (including macOS_Catalina.d) I tried all of them several times, even reinstalling XCode from the App Store. Download the appropriate version of the "Command Line Tools for Xcode" for your version of Xcode from developer.apple.com/download As of MacOS 10.15.2, that's 11.3: [Command_Line_Tools_for_Xcode_11.3.dmg](https://developer.apple.com/download/more/)
一.代码块在哪里?如果上面这张图不小心点没了或者没出来,可以看第一步的操作,然后鼠标停留在选中的区域停留2秒以上就会出现左边的??可以将路径中的代码块,迁移到不同的电脑上使用,需重新启动Xcode ;