报错:deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
以上报错主要是因为"npm WARN不赞成使用的core-js@2.6.11:由于问题的数量,不再维护core-js @< 3,因此不建议使用它.请升级您的依赖项,使其成为Core的实际版本-js @ 3."
我们把依赖升级一下就可以了。
解决方法:
打开电脑cmd的命令指示输入
输入:
npm install --save core-js@^3
再输入:
npm outdated



