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

时间:2021-08-24 09:48:45   收藏:0   阅读:24

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.完美安裝成功~~~

原文:https://www.cnblogs.com/sugartang/p/15177032.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!