Error Messages:
ERROR Failed to compile with 1 error
Syntax Error: TypeError: eslint.CLIEngine is not a constructor
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:
- [Solved] Vue3+ts+eslint Error: warning Unexpected any. Specify a different type, warning Delete `·` , Missing return type on function, Require statement not part of import statement
- [Solved] ESLint Error: Line 10 exceeds the maximum line length of 100
- [Solved] Eslint Error: error ‘***’ is assigned a value but never used no-unused-vars
- [Solved] Vue3.X version error: Parsing error: Parsing error: Unexpected token
- [Solved] ESLint Error: Failed to load config “standard” to extend from
- Error reporting of console.log in eslint
- vue Project Error: error ‘resp’ is defined but never used no-unused-vars
- How to Solve Vue Space Line Wrap Error
- Eslint do not verify the error message for the next line
- How to Solve error: Unexpected console statement (no-console)