小工具知识网

当前位置: 首页 > 行业知识 > npm install报错certificate has expired

行业知识

npm install报错certificate has expired

2026-11-26 06:57:43 来源:互联网转载

报错: reason: certificate has expired

解决:更换npm镜像源

index.php/tags-41973.html" >���录到服务器上,更换npm镜像源(或者在jenkins上配置)

npm config set registry http://registry.cnpmjs.orgnpm config set registry http://registry.npm.taobao.org#如果上面两个命令不生效,可以执行下面的清除缓存的命令再试一下npm cache clean --force

上一篇:微信同城群加入攻略,轻松结识志同道合小伙伴!

下一篇:明日之后地下服务器怎么进?