vue项目:"TypeError: Cannot read property 'reduce' of null"

vue运行项目之后,报TypeError: Cannot read property ‘reduce’ of null

1.查看项目package.json,去除^
vue项目:"TypeError: Cannot read property 'reduce' of null"
2.删除node_modules
3.使用命令npm cache clean -f
4.npm install
5.npm run dev