webstorm編輯器下 TypeError: this.CliEngine is not a constructor

最近開發項目時 項目下載後安裝完依賴包後 進入項目開發 webstorm出現這種提示 排查發現是eslint更新到最新版出現的問題 下面是解決方法
image.png
點擊 圖片上方 details
image.png
控制檯會出現以下錯誤提示
image.png
點擊圖片上方截圖文件地址 進入到這個文件
image.png
找到圖片上方位置 23行代碼
改動下面截圖位置 添加CLIEngine
image.png
而後從新啓動webstorm 問題解決web

相關文章
相關標籤/搜索