go-admin-ui
go-admin-ui copied to clipboard
TypeError: Cannot read properties of undefined (reading 'version')
报错内容: PS D:\Programs\go_admin\go-admin-ui> npm run dev
[email protected] dev vue-cli-service serve
ERROR TypeError: Cannot read properties of undefined (reading 'version')
TypeError: Cannot read properties of undefined (reading 'version')
at module.exports (D:\Programs\go_admin\go-admin-ui\node_modules@vue\cli-plugin-eslint\index.js:20:27)
at D:\Programs\go_admin\go-admin-ui\node_modules@vue\cli-service\lib\Service.js:78:7
at Array.forEach (
尝试过程:更换3个版本的node未解决,均是这一个错误
解决方法:在package.json里将下图代码删除 "@vue/cli-plugin-eslint": "~4.5.0"