[Vue3.0]TypeError: this.cliEngine is not a constructor(WebStrom PyCharm)

ESLint抛错(MacOS)

TypeError: this.cliEngine is not a constructor

# 修改配置文件
⁨应用程序⁩ ▸ ⁨PyCharm⁩ ▸ ⁨Contents⁩ ▸ ⁨plugins⁩ ▸ ⁨JavaScriptLanguage⁩ ▸ ⁨languageService⁩ ▸ ⁨eslint⁩ ▸ ⁨bin⁩
eslint-plugin.js
this.cliEngine = require(this.basicPath + "lib/cli-engine");
# 修改为
this.cliEngine = require(this.basicPath + "lib/cli-engine").CLIEngine;
# 重启APP应用
posted @ 2020-03-12 23:29  LeoShi2020  阅读(1269)  评论(0编辑  收藏  举报