VS Code离线安裝插件报错Unable to install extension ‘dart-code.flutter‘ as it is not compatible with VS Code

VS Code离线安裝插件报错Unable to install extension ‘dart-code.flutter‘ as it is not compatible with VS Code,第1张

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.54852.com/web/992702.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-21
下一篇2022-05-21

发表评论

登录后才能评论

评论列表(0条)

    保存