首页 > 其他 > 详细

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      阅读:22      评论:0      收藏:0      [点我收藏+]

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!