首页 > Web开发 > 详细

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

时间:2020-03-13 02:15:55      阅读:754      评论:0      收藏:0      [点我收藏+]

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应用

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

原文:https://www.cnblogs.com/leoshi/p/12483660.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!