core-js版本过低,需要更新但是更新失败的原因

ore-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.

 

 

试了很多方法都没有用,升级core-js,更改js里引用的core-js的版本等,都没有用

最终解决办法  node,js  版本回退

node回退到 v14.15.0

我的npm是8.1.0的版本,退回 6.14.8 后成功解决

大佬详情 core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended 。。。。。

posted @ 2022-07-29 03:05  醒日是归时  阅读(2434)  评论(0编辑  收藏  举报