场景:
在执行npm install时提示npm WARN deprecated core-js@2.6.12,导致安装不了
提示的意思是:版本低不再维护了,让升级upgrade your dependencies to the actual version of core-js.
npm WARN deprecated core-js@2.6.12: core-js@<3.23.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.
Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.文章来源:https://www.toymoban.com/news/detail-537311.html
解决方法:
npm i core-js文章来源地址https://www.toymoban.com/news/detail-537311.html
到了这里,关于vue中执行npm install提示:npm WARN deprecated core-js@2.6.12的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!