webstrom打开项目时,js文件报错:ESLint: TypeError: this.cliEngine is not a constructor

今天用vue可视化创建了一个项目,然后用webstrom打开后,里面的js文件报了一个错误:ESLint: TypeError: this.cliEngine is not a constructor,这是因为本地项目的eslint版本和webstorm的eslint插件版本不一致导致的 解决方法如下: 首先找打webstrom的安装路径: 然后根据路径找到一个叫做eslint-plugin.js
相关文章
相关标签/搜索