webstorm提示TypeError: this.cliEngine is not a constructor
lizuncong (lizuncong) · GitHubI am a strong believer in reverse engineering. lizuncong has 42 repositories available. Follow their code on GitHub.https://github.com/lizuncong
点击details在控制台显示报错的位置
TypeError: this.cliEngine is not a constructorat ESLintPlugin.invokeESLint (/Applications/RubyMine.app/Contents/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint-plugin.js:97:25)at ESLintPlugin.getErrors (/Applications/RubyMine.app/Contents/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint-plugin.js:76:21)at ESLintPlugin.onMessage (/Applications/RubyMine.app/Contents/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint-plugin.js:42:29)at Interface.<anonymous> (/Applications/RubyMine.app/Contents/plugins/JavaScriptLanguage/jsLanguageServicesImpl/js-language-service.js:105:39)at Interface.emit (events.js:189:13)at Interface._onLine (readline.js:290:10)at Interface._normalWrite (readline.js:433:12)at Socket.ondata (readline.js:149:10)at Socket.emit (events.js:189:13)at addChunk (_stream_readable.js:284:12)
Process finished with exit code -1
修改这个文件/Applications/WebStorm.app/Contents/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint-plugin.js
// this.cliEngine = require(packagePath + "lib/cli-engine");
this.cliEngine = require(packagePath + "lib/cli-engine").CLIEngine;
重启webstorm就可以了
webstorm提示TypeError: this.cliEngine is not a constructor相关推荐
- Eslint报错TypeError: this.cliEngine is not a constructor 解决方案
ESLint是一个用于识别和报告ECMAScript/JavaScript代码中的模式的工具,其目标是使代码更加一致并避免bug. 在许多方面,它与JSLint和JSHint相似,但有几个例外: ES ...
- Python:Python3错误提示TypeError: slice indices must be integers or None or have an __index__ method解决办法
Python:Python3错误提示TypeError: slice indices must be integers or None or have an __index__ method解决办法 ...
- Python提示 TypeError: super(type, obj): obj must be an instance or subtype of type问题
Python提示 TypeError: super(type, obj): obj must be an instance or subtype of type问题 简述问题 在工作中有一天将debu ...
- npm run lint:提示TypeError: Failed to load plugin ‘jest‘ declared in ‘.eslintrc.js » ./eslint/config.j
加了eslint的依赖控制eslint的版本, 一般这个时候的配置会说,此处已经引入eslint,不用再额外引入eslint,但是依赖之间的不兼容会导致报错.详情见下: 不加会提示: @typescr ...
- Python --提示 TypeError: cannot concatenate str and int objects
clientsocket,addr = socketserver.accept() print("client ip:"+addr[0]) print("client p ...
- webstorm提示Page'....'页面未经授权的警告解决方法
问题 webstorm提示Page'-'requested without authorization,you can copy URL andopen it in browser to strust ...
- WebStorm 提示快捷键
WebStorm 默认Ctrl+Space代码提示无效,修改为Alt+/ 1.Ctrl+Shift+a调出面板 2.输入key map过滤出快捷键设计菜单 3.输入basic过滤出提示的快捷键 4.在 ...
- Webstorm提示This license K71U8DBPNE has been cancelled
输入激活码之后,正常打开webstorm,结果提示This license K71U8DBPNE has been cancelled,查看获取激活码的地址IntelliJ IDEA 注册码 一.如果 ...
- hexo部署到github时,提示typeError [ERR_INVALID_ARG_TYPE]: The “mode“ argument must be integer. Receive...
最近在部署hexo博客到github时,遇到了这样一个报错: 查阅相关文章得知,是node版本过高导致的(我用的是v14.11.0),将node版本换为v10.16.0版本后,部署就成功了! 如果你的 ...
最新文章
- 这样讲 SpringBoot 自动配置原理,你应该能明白了吧
- R语言ggplot2可视化:使用ggrepel包在线图(line plot)的尾端那个数据点添加文本标签(text label)
- python opencv-4.1.0 cv::HersheyFonts 文字类型
- 执行Hive的查询语句报错:java.lang.IllegalArgumentException: Does not contain a valid host:port authority: loca
- jstl与EL表达式处理字符串
- HTML5系列(2)--ol列表的新属性
- div常用效果方法-transform
- jmeter 导出聚合报告_使用Jmeter聚合报告生成对比图表
- innodb是mysql几的_MySQL几个和innodb相关的参数
- [刷机教程] android系列 adb操作命令详解,常用adb操作命令详解
- Ubuntu安装谷歌拼音输入法
- word/wps 实用技巧: 批量改大纲标题样式
- 北京摇号系统服务器,每人最多一个号牌!北京小客车指标系统即日暂停服务
- 用音响里的零件做迷你小机器人_优必选和腾讯一起做了款人形机器人,搭载“小微”的它想比智能音箱更好用...
- 经纬度---(所有、江苏)
- Android 8.1中Settings中恢复出厂设置流程
- 常用的15个数据源网站,可以满足你95%的日常取数需求,赶紧收藏
- 七牛云对象存储使用指南
- 一位腾讯离职员工的6年反思:关于工作和成长,和你分享3点感悟
- CTF-Misc基础知识之图片及各种工具