【解决】Syntax Error: TypeError: eslint.CLIEngine is not a constructor
转载:https://blog.csdn.net/weixin_43928774/article/details/120805055
【解决】
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.
方式一:打开package.json将以下代码删除重新运行(将项目停掉,重新npm run serve)
方式二:打开vue.config.js加入以下代码