Open browser failed!! Please check if you have installed the browser chrome correctly!——vscode

Open browser failed!! Please check if you have installed the browser chrome correctly!——vscode

描述

今天运行HTML文件的时候,用了open in browser插件。无论是alt+b还是shift+alt+b都报错

Open browser failed!! Please check if you have installed the browser chrome correctly!

解决过程

参考文章一:

Open browser failed!! Please check if you have installed the browser correctly! Alt + B无效 - VS Code

方法:在插件那右键该插件,选择configure extension settings,填入chrome。

结果:没成功。

参考文章二:

https://zhuanlan.zhihu.com/p/133873404

方法:将插件安装另一个版本1.0.0.

结果:成功。

猜你喜欢

转载自blog.csdn.net/weixin_42875245/article/details/107874659
今日推荐