文章目录

  • ​​1、问题描述​​
  • ​​2、解决方法​​

1、问题描述

使用webstorm编写html代码。运行html文件出现以下问题。

cannot run program “google-chrome“: error=2, 没有那个文件或目录_解决方法

浏览器没有打开。

2、解决方法

点击Fix,将google浏览器(我用的是google浏览器)中的Path栏目从“google-chorme”改为​​xdg-open​

cannot run program “google-chrome“: error=2, 没有那个文件或目录_html_02

就可以了