报错: reason: certificate has expired

解决:更换npm镜像源
登录到服务器上,更换npm镜像源(或者在jenkins上配置)
bash
npm config set registry http://registry.cnpmjs.org
npm config set registry http://registry.npm.taobao.org
#如果上面两个命令不生效,可以执行下面的清除缓存的命令再试一下
npm cache clean --force
