[Solved] Syntax Error: TypeError: eslint.CLIEngine is not a constructor

Error Messages:
ERROR Failed to compile with 1 error
Syntax Error: TypeError: eslint.CLIEngine is not a constructor

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

Solution:

Method 1: Open package.json and delete the following code and run again (stop the project and restart npm run serve)

Method 2: Open VUE .config.js adding the following code

Similar Posts: