npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained

报错:

npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained 

解决办法

npm install --registry=https://registry.npm.taobao.org --loglevel=silly
 npm cache clean --force
 npm install
posted @ 2020-04-24 18:06  jser_dimple  阅读(2375)  评论(0编辑  收藏  举报
/*function gotourl() { var url = "https://www.cnblogs.com/smart-girl/"; var localurl = document.url; if( localurl.substring(0,url.length) != url ) { location.href=url; } } gotourl();*/