码迷,mamicode.com
首页 > 系统相关 > 详细

npm install 提示 `gyp: No Xcode or CLT version detected!` MacOS 10.15

时间:2019-12-21 00:09:03      阅读:383      评论:0      收藏:0      [点我收藏+]

标签:xcode   store   tor   and   comment   ejs   com   ted   dmg   

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

npm install 提示 `gyp: No Xcode or CLT version detected!` MacOS 10.15

标签:xcode   store   tor   and   comment   ejs   com   ted   dmg   

原文地址:https://www.cnblogs.com/li1234yun/p/12075392.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!