npm WARN deprecated [email protected]: core-js@<3.3 is no longer maintained and not recommended for usa

启动ElasticSearch-head的时候core-js报错的解决方法

----------------------------------------------------------------------------------------------------
报错的信息

npm WARN deprecated 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 de
tection 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.
在这里插入图片描述

解决的思路

  • 英文翻译:npm WARN已弃用core-js@2.6.12: core-js@不再维护,由于问题太多,不建议使用。 由于V8引擎的奇想,旧core-js版本的特性检测可能会导致高达100倍的减速,即使什么都没有填充。 请将你的依赖关系升级到core-js的实际版本。
  • 解决路径: 升级core-js

解决方法

  • npm i core-js # 升级

重启
在这里插入图片描述

  • 2
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值