vue项目启动执行npm run dev后报错:
✘ 2 problems (2 errors, 0 warnings)
Errors:
2 http://eslint.org/docs/rules/no-multiple-empty-lines
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.
解决办法:
1、双击Shift查找webpack.base.conf.js
2、Ctrl+F 查找 …(config.dev.useEslint ? [createLintingRule()] : []), 将其注释掉,在重新在idea项目下的Terminal或cmd下执行:npm run dev即可。