Error: Cannot read config file:

半忆
  • 20

错误信息

Syntax Error: Error: Cannot read config file: E:\CopyDouBan\douBan\node_modules\@typescript-eslint\eslint-plugin\dist\configs\eslint-recommended
Error: ENOENT: no such file or directory, open 'E:\CopyDouBan\douBan\node_modules\@typescript-eslint\eslint-plugin\dist\configs\eslint-recommended'
Referenced from: E:\CopyDouBan\douBan\node_modules\@typescript-eslint\eslint-plugin\dist\index.js
Referenced from: E:\CopyDouBan\douBan\node_modules\@vue\eslint-config-typescript\recommended.js
Referenced from: E:\CopyDouBan\douBan.eslintrc.js
at Array.reduceRight (<anonymous>)
at Array.reduceRight (<anonymous>)

@ ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/views/LogReg/Index.vue?vue&type=script&lang=ts 3:0-45 8:12-18
@ ./src/views/LogReg/Index.vue?vue&type=script&lang=ts
@ ./src/views/LogReg/Index.vue
@ ./src/router/index.ts
@ ./src/main.ts
@ multi (webpack)-dev-server/client?http://192.168.101.32:8080&so... (webpack)/hot/dev-server.js ./src/main.ts

问题描述

修改 .eslintrc.js 时报错,无法找到该配置文件,在文件中是存在的?疑问??

回复
阅读 577
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
你知道吗?

宣传栏