【Node】报错: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 版本,成功解决!!
npm install npm@6.14.13 -g
朋友,如果有效,解决了你的问题,欢迎点个赞!!!
分类:
Node
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步