ESLint报错已解决 ESLint: Initialization error (ESLint). packagePath is not defined

鬼知道自己操作了什么,导致ESLint报错:
ESLint: Initialization error (ESLint). packagePath is not defined
如下图:
ESLint报错已解决 ESLint: Initialization error (ESLint). packagePath is not defined
查了很久在这个文章里看到了一个突破口
https://bbs.csdn.net/topics/396032159?list=38297183

在应用程序里找到phpStorm右键显示包内容在Contents\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint-plugin.js
ESLint报错已解决 ESLint: Initialization error (ESLint). packagePath is not defined

eslint-plugin.js
ESLint报错已解决 ESLint: Initialization error (ESLint). packagePath is not defined
把22行打开之后,注释掉23行

我以为这样就行了,重启了项目
又报了另外一个错(我心态超好~~~)

TypeError: this.cliEngine is not a constructor

具体解决办法:
https://blog.csdn.net/weixin_39177580/article/details/107613334