其他分享
首页 > 其他分享> > VS Code離線安裝插件報錯Unable to install extension 'dart-code.flutter' as it is not compatible wi

VS Code離線安裝插件報錯Unable to install extension 'dart-code.flutter' as it is not compatible wi

作者:互联网

VS Code離線安裝插件報錯Unable to install extension 'dart-code.flutter' as it is not compatible with VS Code '1.51.1'.

遇到這種問題不要慌~~

1.把插件後綴名改成.zip

2.打開插件,然後找到package.json文件,找到裡邊這個代碼,把版本號改為

"engines": {
		"vscode": "^1.54.1"
	},

改為報錯信息裡的版本號

"engines": {
		"vscode": "^1.51.1"
	},

3.改回原來的後綴名,開始安裝

4.完美安裝成功~~~

标签:插件,Code,安裝,VS,1.51,報錯
来源: https://www.cnblogs.com/sugartang/p/15177032.html