sublime text 3 Package Control error
OS Version: 10.13.5
今天要裝 sublime plugin 的時候
噴了這個錯誤
reloading /Users/stan/Library/Application Support/Sublime Text 3/Packages/User/Package Control.sublime-settings
Package Control: Error downloading package. HTTP exception InvalidCertificateException (Host codeload.github.com returned an invalid certificate ([SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:548))) downloading https://codeload.github.com/polygonplanet/sublime-text-eslint/zip/5.0.3.
error: Package Control
Unable to download ESLint. Please view the console for more details.
查到了這篇 Package control fails to download new packages
解決方法是到 Package Control.sublime-settings -- User
這個檔案裡,加上
"downloader_precedence":
{
"osx":
[
"curl",
"urllib"
]
},
改為使用 curl 下載 plugin