`GYP提示インストールNPM:いいえXcodeのか、CLTのバージョンが検出された` MacOSの10.15!

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

対応するソフトウェアをダウンロードするためのAppleデベロッパダウンロードセンター

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/)

おすすめ

転載: www.cnblogs.com/li1234yun/p/12075392.html