eslint-loader - TypeError: eslint.CLIEngine is not a constructor
I'm starting a new VueJS project in WebStorm. I've created a new VueJS project, upgraded NPM, added Vuetify and after starting the server, it raises this error:
ERROR Failed to compile with 1 errors 11:34:19 AM
Module build failed (from ./node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js):
TypeError: eslint.CLIEngine is not a constructor
at Object.module.exports (/home/milano/WebstormProjects/xxx/node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js:223:27)
How can I fix this? Should I downgrade eslint?