Sublime Text 安裝插件報錯:
Package Control
Unable to download XXX. Please view the console for more details.
解決方法:
Preferences 》Package Settings 》 Package Control 》 Settings - User

image
增加如下內容:
"debug": true, "downloader_precedence": { "linux": [ "curl", "urllib", "wget" ], "osx": [ "curl", "urllib" ], "windows": [ "wininet" ] },
最終內容如下:
{
"bootstrapped": true, "debug": true, "installed_packages": [ "Package Control" ], "downloader_precedence": { "linux": [ "curl", "urllib", "wget" ], "osx": [ "curl", "urllib" ], "windows": [ "wininet" ] }, }
再次安裝插件就沒問題了。
鳴謝:
Sublime安裝及解決There are no packages available for installation
Mac sublime 安裝包的時候出現 unable to download xxx
CERTIFICATE_VERIFY_FAILED on macOS Sierra Beta
作者:v1coder
鏈接:https://www.jianshu.com/p/ebf3f39b37ca
來源:簡書
簡書著作權歸作者所有,任何形式的轉載都請聯系作者獲得授權並注明出處。