Home

Published

- 1 min read

Parsing error: No Babel config file detected for /Users/nelson/Desktop/cashetizer/frontend/App.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint

img of Parsing error: No Babel config file detected for /Users/nelson/Desktop/cashetizer/frontend/App.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint

The solution for this is noted below

Parsing error: No Babel config file detected for /Users/nelson/Desktop/cashetizer/frontend/App.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint

Solution

   parserOptions: {
  parser: '@babel/eslint-parser',
  requireConfigFile: false, // <== ADD THIS
  ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
  sourceType: 'module' // Allows for the use of imports
}

Try other methods by searching on the site. That is if this doesn’t work