我是靠谱客的博主 激动小馒头,这篇文章主要介绍vue---Parsing error: No Babel config file detected for D:\AAA_ProjectFiles\ > Eslint报错一个属性解决问题,现在分享给大家,希望可以做个参考。
刚初始化的项目,为啥会出现下面的问题
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15Parsing error: No Babel config file detected for D:AAA_ProjectFilesMYProbig_front_endlogin_templatesrcviewsHomeView.vue. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint module export= (property) export=: { presets: string[]; } 文件是 CommonJS 模块; 它可能会转换为 ES 模块。ts(80001) Parsing error: No Babel config file detected for D:AAA_ProjectFilesMYProbig_front_endlogin_templatebabel.config.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint
直接看问题截图:
解决方案如下:
添加一行属性保存即可解决!!!
复制代码
1requireConfigFile: false
希望可以帮到大家,感谢支持!!!
最后
以上就是激动小馒头最近收集整理的关于vue---Parsing error: No Babel config file detected for D:\AAA_ProjectFiles\ > Eslint报错一个属性解决问题的全部内容,更多相关vue---Parsing内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复