Cannot read property 'getFormatter' of undefined

I dont know what wrong but am getting this error Cannot read property 'getFormatter' of undefined when i yarn start my react app

It is telling you that you are trying to read that property off of a variable that is undefined. Trying to read properties on variables that are undefined or null is a big no-no.

I assume that the issue is one of these:

CLIEngine.getFormatter(...

Inside your function, log out CLIEngine and confirm it.

Thanks for the reply.
It solved. The problem is that my eslint and eslint loader are not compatible

Sorry, I didn’t realize it was failing in one of your node modules. Good work figuring it out.