小问题分享:request to https://registry.npm.taobao.org/echarts failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in
今天在做Echats教程时遇到一个小问题、npm淘宝镜像过期,分享一下解决方法,直接上指令
1.清除原本的npm缓存
npm cache clean --force
2.修改镜像到最新的淘宝镜像
npm config set registry https://registry.npmmirror.com
3.查看目前的配置列表,主要看镜像地址
npm config list