【npm】core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended 。。。。。
目录
错误代码
core-js@2.6.12: core-js@❤️.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. 由于问题太多,不再维护3.3,也不推荐使用。由于V8引擎的怪想,旧core-js版本的特性检测可能会导致速度下降100倍,即使没有填充。请将你的依赖升级到core-js的实际版本。
解决
网上找了一大堆解决方法,排行前几的都不靠谱,最后发现是自己的npm版本太高了,是7.x.x,建议退回 6 版本,成功解决!!
|
|