vs code jshint报错或者Open browser failed!! Please check if you have installed the browser correctly!错误.

报错描述:Failed to load jshint library.Please install jshint in your workspace folder using’npm install jshint’or globally using’npm install -g jshint’and then press Retry.

解决方法:
使用npm安装jshint:

npm install -g jshint

重启vscode就不会出现报错了;
vs code jshint报错或者Open browser failed!! Please check if you have installed the browser correctly!错误.

报错描述Open browser failed!! Please check if you have installed the browser correctly!

解决方法:
插件处搜索该插件, 打开图示中的设置
vs code jshint报错或者Open browser failed!! Please check if you have installed the browser correctly!错误.
在输入框中写上chrome, 在按Alt + B 即可打开默认的chrome浏览器了.
vs code jshint报错或者Open browser failed!! Please check if you have installed the browser correctly!错误.