前端启动报错,前端启动一直报错,怎么处理都解决不了,真心累,求大神指点,
yarn run v1.22.5
warning package.json: "dependencies" has dependency "compression-webpack-plugin" with range "^9.2.0" that collides with a dependency in "devDependencies" of the same name with version "^1.1.12"
$ vue-cli-service serve
ERROR TypeError: Cannot read property 'version' of undefined
TypeError: Cannot read property 'version' of undefined
at module.exports (C:\Users\WilliamLuo\AppData\Roaming\npm\node_modules\@vue\cli-plugin-eslint\index.js:20:27)
at C:\Users\WilliamLuo\AppData\Roaming\npm\node_modules\@vue\cli-service\lib\Service.js:78:7
at Array.forEach (<anonymous>)
at Service.init (C:\Users\WilliamLuo\AppData\Roaming\npm\node_modules\@vue\cli-service\lib\Service.js:76:18)
at Service.run (C:\Users\WilliamLuo\AppData\Roaming\npm\node_modules\@vue\cli-service\lib\Service.js:215:10)
at Object.<anonymous> (C:\Users\WilliamLuo\AppData\Roaming\npm\node_modules\@vue\cli-service\bin\vue-cli-service.js:36:9)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.