In the Vue project, the following error is reported at the beginning of each file.
Prompt: Parsing error: No Babel config file detected for xxx. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint
Prompt: Parsing error: No Babel config file detected for xxx. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint
Solution:
Add “requireConfigFile”: false in “parserOptions” of the package.json file as below:
Add “requireConfigFile”: false in “parserOptions” of the package.json file as below:
Read More:
- [Solved] Parsing error: No Babel config file detected for XXX
- [Solved] Vue Error: Parsing error: No Babel config file detected for /Users/Usename/xxx…
- [Solved] Vue Error: Parsing error: No Babel config file detected for
- [Solved] Vue Error: Module build failed: Error: No PostCSS Config found in
- When using iView, report: no parsing error parsing error: x-invalid-end-tag solution
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- [Solved] vue Project Error: react lazy eslint error Parsing error: Unexpected token import
- [Solved] Syntax Error: Error: Cannot find module ‘@vue/babel-preset-app‘
- [Solved] electron Package and Startup Error: Error: ENOENT: no such file or directory, open ‘xxx/manifest.json‘‘
- Vue Error: [Vue warn]: Duplicate keys detected
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- [Solved] Vue Error: error ‘xxx‘ is defined but never used no-unused-vars
- vue.config.js build Package UglifyJsPlugin to clear console and print console.log Error: `warnings` is not a supported option
- [Solved] Vue Error: Duplicate keys detected: ‘74004’. This may cause an update error
- [Solved] Vue3 Error: Failed to resolve component:xxx
- [Solved] ERROR Error loading vue.config.js: ERROR Error: Command failed: git describe
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- [Solved] Vue Project Startup Error: getaddrinfo ENOTFOUND xxx
- [Solved] VUE npm install Error: Module build failed: Error: ENOENT: no such file or directory, scandir