Sublime text 报错
Package Control
There are no packages available for installation
Pleaseseehttps://packagecontrol.io/docs/troubleshootingforhelp
Preferences->Package Setting->Package Control ->Setting Default
配置如下
// A list of URLs that each contain a JSON file with a list of repositories. // The repositories from these channels are placed in order after the // repositories from the "repositories" setting "channels": [ "https://packagecontrol.io/channel_v3.json" ],
https://packagecontrol.io/channel_v3.json
而由于GFW的原因,导致无法访问该文件,所以也导致无法下载插件
解决办法:
1)先将channel_v3.json文件下载下来(可以在百度搜索)
下载地址:https://lqbcms.oss-cn-shanghai.aliyuncs.com/public/channel_v3.json
2)接着在Preferences->Package Setting->Package Control ->Setting User设置中,添加代码
"channels": [ "C:/Program Files/Sublime Text 3/channel_v3.json" ],
如下:
{ "bootstrapped": true, "channels": [ "C:/Program Files/Sublime Text 3/channel_v3.json" ], "in_process_packages": [ ], "installed_packages": [ "Alignment", "Package Control", "SublimeGit" ] }
注:C:/Program Files/Sublime Text 3/channel_v3.json地址为你本地所放的channel_v3.json文件所在位置
保存后就可以了,重启试一下。