您现于de位置乃:亚博 > 其他

亚博 2019-07-24 其他 198

Sublime text There are no packages available for installation

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

而由于GFWde原因 导致无法访问该文件 所以也导致无法下载插件


解决办法:

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地址为您本地所放dechannel_v3.json文件所于位置


保存后就可以了 重启试1下.





评论