Mac各种问题总结
博客专区 > jEpac 的博客 > 博客详情
Mac各种问题总结
jEpac 发表于1年前
Mac各种问题总结
  • 发表于 1年前
  • 阅读 53
  • 收藏 0
  • 点赞 0
  • 评论 0

华为云·免费上云实践>>>   

1 - sublime

1.1 - Package-Controllor提示no package

cmd + shift + p快捷键打开Package Controller,install package时提示 no package avaliable

首先打开st3的debug模式,找到 Settings-User,输入以下配置:

"debug": true

然后再一次 install package,看下console信息:

Package Control: Found previously exported CA bundle at /Users/iEpac/Library/Application Support/Sublime Text 3/Packages/User/oscrypto-ca-bundle.crt (265167 bytes)
Package Control: Urllib HTTPS Debug General
  Connecting to packagecontrol.io on port 443
Package Control: Urllib HTTPS Debug General
  Upgrading connection to SSL using CA certs file at /Users/iEpac/Library/Application Support/Sublime Text 3/Packages/User/Package Control.merged-ca-bundle
Package Control: Error downloading channel. URL error _ssl.c:532: The handshake operation timed out downloading https://packagecontrol.io/channel_v3.json.

这下就知道,是因为https握手超时导致的。解决方案如下:
依然是在Settings-User中配置

"channels":[
		"https://packagecontrol.io/channel_v3.json",
		"http://web.archive.org/web/timemap/link/https://packagecontrol.io/channel_v3.json"
	],

问题就解决了。

原文可参照github issue #959

2. 网络

$ networksetup -listallhardwareports | pbcopy

Hardware Port: USB 10/100 LAN
Device: en6
Ethernet Address: 00:e0:4c:36:20:2b

Hardware Port: Wi-Fi
Device: en0
Ethernet Address: ac:bc:32:c1:1b:85

Hardware Port: Bluetooth PAN
Device: en3
Ethernet Address: ac:bc:32:c1:1b:86

Hardware Port: Thunderbolt 1
Device: en1
Ethernet Address: 6a:00:01:59:8a:30

Hardware Port: Thunderbolt 2
Device: en2
Ethernet Address: 6a:00:01:59:8a:31

Hardware Port: Thunderbolt Bridge
Device: bridge0
Ethernet Address: 6a:00:01:59:8a:30

VLAN Configurations
===================

command line

invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

重装一下command line

xcode-select --install
共有 人打赏支持
粉丝 5
博文 30
码字总数 205996
×
jEpac
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: