解决方案
1、下载cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
2.查看是否配置成功,成功后即可直接使用cnpm命令
npm config get registry
3、先删除 node_modules 依赖
cnpm rm -rf node_modules
4、首先安装 报错的插件
cnpm install --save core-js
5、最后再 npm install 或者 yarn install
cnpm install
cyarn install
6、最后 npm run dev 运行启动
npm run dev
cnpm run dev